28 lines
654 B
Bash
28 lines
654 B
Bash
# Template file for 'tzutils'
|
|
pkgname=tzutils
|
|
version=2020d
|
|
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=6b9ec90e79593913f687e3af5d880eaa036bb0aafea9707682b0cbd00fadbb09
|
|
|
|
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
|
|
}
|