void-packages/srcpkgs/tzdata/template

35 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
2011-10-10 23:27:01 +02:00
_tzcode_ver=2011i
2011-10-25 16:29:02 +02:00
_tzdata_ver=2011m
2011-10-10 23:27:01 +02:00
version=${_tzdata_ver}
distfiles="
2011-10-25 16:29:02 +02:00
ftp://munnari.oz.au/pub/tzcode${_tzcode_ver}.tar.gz
ftp://munnari.oz.au/pub/tzdata${_tzdata_ver}.tar.gz"
build_style=gnu-makefile
2011-10-10 23:27:01 +02:00
homepage="http://www.twinsun.com/tz/tz-link.htm"
short_desc="Time zone and daylight-saving time data"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-10 23:27:01 +02:00
license="GPL-2"
checksum="
2011-10-10 23:27:01 +02:00
f0dd991de3f8d6c599c104e294377c9befa1ef40aa5a1d09e2e295a453f3c1ec
2011-10-25 16:29:02 +02:00
c8e01f5b4a3cd8b8aee84b4befb4b671cef34353e5af022ed22071f5b86ef5f4"
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 23:36:01 +02:00
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
}