void-packages/srcpkgs/tzdata/template

33 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
2012-03-02 09:17:12 +01:00
_tzcode_ver=2012b
_tzdata_ver=2012b
2011-10-10 23:27:01 +02:00
version=${_tzdata_ver}
distfiles="
2012-03-02 09:17:12 +01: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
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 23:27:01 +02:00
license="GPL-2"
checksum="
2012-03-02 09:17:12 +01:00
4345a2de239a7b6e5ab286052cc269eb07d63798ae14ba715eb4c6bdfa0f3350
2f9f8e2d1ae087be5917f60c3946e8dc3fe1068d7738c3395f2125135309e745"
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."
2012-03-02 09:17:12 +01:00
Add_dependency run bash
Add_dependency run gawk
2012-03-02 09:17:12 +01:00
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
}