void-packages/srcpkgs/tzdata/template

37 lines
1.2 KiB
Text
Raw Normal View History

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
2012-03-02 08:17:12 +00:00
_tzcode_ver=2012b
2012-08-03 16:32:16 +00:00
_tzdata_ver=2012e
2011-10-10 21:27:01 +00:00
version=${_tzdata_ver}
2012-07-23 03:19:29 +00:00
revision=1
noarch=yes
build_style=gnu-makefile
homepage="http://www.iana.org/time-zones"
depends="bash gawk"
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"
distfiles="
2012-08-03 16:32:16 +00:00
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"
checksum="
2012-03-02 08:17:12 +00:00
4345a2de239a7b6e5ab286052cc269eb07d63798ae14ba715eb4c6bdfa0f3350
2012-08-03 16:32:16 +00:00
061c1c289e792f3661135d5ec542e4f9417d3cd7f232f3d54c1949573aadd0fc"
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 08:17:12 +00:00
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
find ${DESTDIR}/usr/share/zoneinfo -type f -exec chmod 644 {} \;
# Remove stuff available in glibc-2.16.
2012-07-23 03:19:29 +00:00
rm -f ${DESTDIR}/usr/sbin/{zic,zdump,tzselect}
}