vp-build/srcpkgs/tzdata/template

35 lines
1.1 KiB
Plaintext

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
_tzcode_ver=2011i
_tzdata_ver=2011n
version=${_tzdata_ver}
distfiles="
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"
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>"
license="GPL-2"
checksum="
f0dd991de3f8d6c599c104e294377c9befa1ef40aa5a1d09e2e295a453f3c1ec
a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd"
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
}