void-packages/srcpkgs/tzutils/template
2021-01-29 16:03:34 -03:00

28 lines
654 B
Bash

# Template file for 'tzutils'
pkgname=tzutils
version=2021a
revision=1
wrksrc="tz-${version}"
short_desc="Time zone and daylight-saving time utilities"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="Public Domain, BSD-3-Clause"
homepage="https://www.iana.org/time-zones"
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
checksum=bd7ecd99cbb0a2f15bb7e38be2cbc04dced89922fce4ac0ffcd1ca844ba9362f
do_build() {
make TZDIR=/usr/share/zoneinfo CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
vbin zic
vbin zdump
vbin tzselect
vman zic.8
vman zdump.8
vman tzselect.8
}
post_install() {
vlicense LICENSE
}