void-packages/srcpkgs/uni/template
Martin Tournoij 493e4b12f8 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]
2021-06-15 17:42:51 -03:00

17 lines
519 B
Bash

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