29 lines
654 B
Bash
29 lines
654 B
Bash
# Template file for 'tzutils'
|
|
pkgname=tzutils
|
|
version=2019c
|
|
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=38b1f7c7a050daa14fb07f6b72cdde1fc895fece40758d4d55736847041ad9e2
|
|
|
|
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
|
|
}
|