void-packages/srcpkgs/tzutils/template
2017-10-24 06:53:12 +02:00

23 lines
591 B
Bash

# Template file for 'tzutils'
pkgname=tzutils
version=2017c
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=83d1c6a5910e827db88528a1a1f6f7b4ad9fe98b6076895749bf49660b02cc68
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
}