void-packages/srcpkgs/tzutils/template

24 lines
594 B
Bash

# Template file for 'tzutils'
pkgname=tzutils
version=2019b
revision=1
wrksrc="tz-${version}"
short_desc="Time zone and daylight-saving time utilities"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="https://www.iana.org/time-zones"
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
checksum=e51485f59c96a2a31170ac0700d0b76c8627ca00fa4040987352ca44cdd0887b
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
}