# Template build file for 'tzdata'. pkgname=tzdata wrksrc=${pkgname} create_wrksrc=yes _tzcode_ver=2012b _tzdata_ver=2012d version=${_tzdata_ver} 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 " license="GPL-2" distfiles=" ftp://ftp.iana.org/tz/releases/tzcode${_tzcode_ver}.tar.gz ftp://ftp.iana.org/tz/releases/tzdata${_tzdata_ver}.tar.gz" checksum=" 4345a2de239a7b6e5ab286052cc269eb07d63798ae14ba715eb4c6bdfa0f3350 46c0e92a7aa89c3cfe571b585ceb6958bb444604aea3e09587f2cbe474c95575" 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." post_install() { # Remove useless stuff rm -rf ${DESTDIR}/usr/lib rm -f ${DESTDIR}/usr/share/zoneinfo/localtime find ${DESTDIR}/usr/share/zoneinfo -type f -exec chmod 644 {} \; # Remove stuff available in glibc-2.16. rm -f ${DESTDIR}/usr/sbin/{zic,zdump,tzselect} }