void-packages/srcpkgs/tzdata/template
2011-10-10 23:36:01 +02:00

35 lines
1.1 KiB
Text

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
_tzcode_ver=2011i
_tzdata_ver=2011k
version=${_tzdata_ver}
revision=1
distfiles="
http://download.lunar-linux.org/lunar/mirrors/tzcode${_tzcode_ver}.tar.gz
http://download.lunar-linux.org/lunar/mirrors/tzdata${_tzdata_ver}.tar.gz"
build_style=gnu_makefile
homepage="http://www.twinsun.com/tz/tz-link.htm"
short_desc="Time zone and daylight-saving time data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum="
f0dd991de3f8d6c599c104e294377c9befa1ef40aa5a1d09e2e295a453f3c1ec
51f7d2a42b7fb9465feced642a6676afdf8b04a071e55f3fef1f0925bd67ef21"
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
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
}