24 lines
593 B
Bash
24 lines
593 B
Bash
# Template file for 'tzutils'
|
|
pkgname=tzutils
|
|
version=2018f
|
|
revision=1
|
|
wrksrc="tz-${version}"
|
|
short_desc="Time zone and daylight-saving time utilities"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="Public Domain"
|
|
homepage="https://www.iana.org/time-zones"
|
|
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
|
|
checksum=4ef0c8dc6d5e8dbd895112eac314ca23a4dbab470e330e2a71b6621d49fd8d42
|
|
|
|
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
|
|
}
|