void-packages/srcpkgs/tzutils/template

24 lines
583 B
Bash
Raw Normal View History

2015-04-25 17:07:53 +00:00
# Template file for 'tzutils'
2014-12-29 16:30:29 +00:00
pkgname=tzutils
2015-06-15 05:31:40 +00:00
version=2015e
2014-12-29 16:30:29 +00:00
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>"
2014-12-29 16:30:29 +00:00
license="GPL-2"
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
2015-06-15 05:31:40 +00:00
checksum=b0056526cd0c982103e227741a8d70880beadadebe1b3a70da51dbf9f19bdc3f
2014-12-29 16:30:29 +00:00
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
}