void-packages/srcpkgs/uni/template

22 lines
556 B
Bash

# Template file for 'uni'
pkgname=uni
version=2.6.0
revision=1
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=dc9b5081279b03b8ffcf1120d3a12635acade73d43abf6a511e3453aa0180e1f
do_check() {
go test ./...
}
post_install() {
vlicense LICENSE
}