void-packages/srcpkgs/tzutils/template
2017-03-01 11:02:15 +01:00

23 lines
591 B
Bash

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