22 lines
556 B
Bash
22 lines
556 B
Bash
# Template file for 'uni'
|
|
pkgname=uni
|
|
version=2.5.1
|
|
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=806fbba66efaa45cd5691efcd8457ba8fe88d3b2f6fd0b027f1e6ef62253d6fb
|
|
|
|
do_check() {
|
|
go test ./...
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|