void-packages/srcpkgs/tzdata/template

35 lines
1.1 KiB
Text
Raw Normal View History

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
2011-10-10 21:27:01 +00:00
_tzcode_ver=2011i
_tzdata_ver=2011n
2011-10-10 21:27:01 +00:00
version=${_tzdata_ver}
distfiles="
http://www.iana.org/time-zones/repository/releases/tzcode${_tzcode_ver}.tar.gz
http://www.iana.org/time-zones/repository/releases/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>"
2011-10-10 21:27:01 +00:00
license="GPL-2"
checksum="
2011-10-10 21:27:01 +00:00
f0dd991de3f8d6c599c104e294377c9befa1ef40aa5a1d09e2e295a453f3c1ec
a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd"
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 full glibc
Add_dependency full bash
Add_dependency full gawk
post_install()
{
# Remove useless stuff
rm -rf ${DESTDIR}/usr/lib
2011-10-10 21:36:01 +00:00
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
}