uni: update to 2.2.1

Also set the correct version in the build comamnd, so "uni version"
won't show "git".

Adopt package as its upstream maintainer.

Closes: #31502 [via git-merge-pr]
This commit is contained in:
Martin Tournoij 2021-06-15 10:40:49 +08:00 committed by Érico Nogueira
parent 11096bf396
commit 493e4b12f8
1 changed files with 6 additions and 5 deletions

View File

@ -1,15 +1,16 @@
# Template file for 'uni' # Template file for 'uni'
pkgname=uni pkgname=uni
version=2.1.0 version=2.2.1
revision=1 revision=1
build_style=go build_style=go
go_import_path=arp242.net/uni go_import_path=arp242.net/uni/v2
short_desc="Query the Unicode database from the commandline" go_ldflags="-X main.version=${version}"
maintainer="klardotsh <josh@klar.sh>" short_desc="Query the Unicode database from the CLI, with good support for emojis"
maintainer="Martin Tournoij <martin@arp242.net>"
license="MIT" license="MIT"
homepage="https://github.com/arp242/uni" homepage="https://github.com/arp242/uni"
distfiles="https://github.com/arp242/uni/archive/v${version}.tar.gz" distfiles="https://github.com/arp242/uni/archive/v${version}.tar.gz"
checksum=79574395d83f628b0b325127b2dcea9b3e91dd6510dafd036679fae8998bcf6e checksum=f6ec48009618d678f635e22600a1eac19560de99a62bfded9ad9859208e3fbde
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE