diff --git a/srcpkgs/tzutils/template b/srcpkgs/tzutils/template new file mode 100644 index 00000000000..26cdd2be719 --- /dev/null +++ b/srcpkgs/tzutils/template @@ -0,0 +1,23 @@ +# Template build file for 'tzutils'. +pkgname=tzutils +version=2014j +revision=1 +wrksrc="tz-${version}" +homepage="http://www.iana.org/time-zones" +short_desc="Time zone and daylight-saving time utilities" +maintainer="Juan RP " +license="GPL-2" +distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz" +checksum=ba06ff258be023fdfcf110284942bbd4d062a33e3b4cb1bf922c75a123a05b58 + +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 +}