void-packages/srcpkgs/tzutils/template
2015-04-14 09:45:33 +02:00

23 lines
590 B
Bash

# Template build file for 'tzutils'.
pkgname=tzutils
version=2015c
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="GPL-2"
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
checksum=b5e51b1a7b779138fd6acafc7b3d89b3113c7a87773703bb426a2ed21e739f1c
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
}