void-packages/srcpkgs/tzutils/template
2016-04-18 15:22:08 +02:00

23 lines
583 B
Bash

# Template file for 'tzutils'
pkgname=tzutils
version=2016d
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=ea6b5ad6cc6763da7d79fa8038437a60f3728111f13571e9323b9a49ec382808
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
}