void-packages/srcpkgs/tzdata/template
2012-04-04 08:30:43 +02:00

32 lines
1 KiB
Text

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
_tzcode_ver=2012b
_tzdata_ver=2012c
version=${_tzdata_ver}
distfiles="
ftp://munnari.oz.au/pub/tzcode${_tzcode_ver}.tar.gz
ftp://munnari.oz.au/pub/tzdata${_tzdata_ver}.tar.gz"
build_style=gnu-makefile
homepage="http://www.iana.org/time-zones"
short_desc="Time zone and daylight-saving time data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum="
4345a2de239a7b6e5ab286052cc269eb07d63798ae14ba715eb4c6bdfa0f3350
33e19e1dd27bda5239812587d72971509a15b59baff7abd692b77ff66f168a82"
long_desc="
This package contains data required for the implementation of standard
local time for many representative locations around the globe. It is
updated periodically to reflect changes made by political bodies to time
zone boundaries, UTC offsets, and daylight-saving rules."
Add_dependency run bash
Add_dependency run gawk
post_install() {
# Remove useless stuff
rm -rf ${DESTDIR}/usr/lib
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
}