void-packages/srcpkgs/tzutils/template
Alessio Sergi b86315bd8d tzutils: update to 2016f
tz code and data are in the Public Domain.
2016-07-07 12:20:51 +02:00

23 lines
591 B
Bash

# Template file for 'tzutils'
pkgname=tzutils
version=2016f
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=42cb91638e734654e3f668ebe78ccff7bffdb754bd4100cb18912d55e5a7d31b
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
}