void-packages/srcpkgs/tzutils/template
2018-05-04 13:35:01 +02:00

24 lines
593 B
Bash

# Template file for 'tzutils'
pkgname=tzutils
version=2018e
revision=1
wrksrc="tz-${version}"
short_desc="Time zone and daylight-saving time utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public Domain"
homepage="https://www.iana.org/time-zones"
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
checksum=553c4976e274eaee02d0c29a98c48f1556dbc1dd113051778c90cb6ddef42338
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
}