29 lines
654 B
Bash
29 lines
654 B
Bash
# Template file for 'tzutils'
|
|
pkgname=tzutils
|
|
version=2020a
|
|
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=9d41f0789dfaa9f6793f25d483888e41871d40291e8369ee991496b49194b533
|
|
|
|
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
|
|
}
|