void-packages/srcpkgs/tzutils/template

24 lines
587 B
Bash
Raw Normal View History

2014-12-29 16:30:29 +00:00
# Template build file for 'tzutils'.
pkgname=tzutils
2015-03-21 08:24:26 +00:00
version=2015b
2014-12-29 16:30:29 +00:00
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@gmail.com>"
license="GPL-2"
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
2015-03-21 08:24:26 +00:00
checksum=1ea0726e1aa540ccaa9930690fe47155e8b5b407c1b1acdd757c60bfecc30016
2014-12-29 16:30:29 +00:00
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
}