void-packages/srcpkgs/tzutils/template

24 lines
591 B
Bash

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