void-packages/srcpkgs/uni/template

24 lines
582 B
Bash

# Template file for 'uni'
pkgname=uni
version=2.7.0
revision=2
build_style=go
go_import_path=zgo.at/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/refs/tags/v${version}.tar.gz"
checksum=192f904eda8cd9f3dce002bc04a5c622ea113c269d4b1a19f4c89094b05f9cd9
conflicts="wvstreams"
do_check() {
go test -v ./...
}
post_install() {
vlicense LICENSE
}