# $Id: PKGBUILD 35429 2009-04-13 15:58:46Z andyrtr $ # Maintainer: Philipp Scholl # Maintainer: Andreas Radke pkgname=tzdata pkgver=2009g pkgrel=1 _tzcode=2009e _tzdata=2009g pkgdesc="Sources for time zone and daylight saving time data" arch=('arm') url="http://www.twinsun.com/tz/tz-link.htm" license=('GPL') groups=('base') depends=() makedepends=() options=('!emptydirs') source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \ ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \ Makefile.patch) md5sums=('329c3ff06919193c55a293a73a8c618f' '9f39846150469ef3badfd5e93f35b512' 'a64ed97d1fc03c66ee8612c0d9f40507') build() { cd ${srcdir} tar -xf tzcode${_tzcode}.tar.gz || return 1 tar -xf ${pkgname}${_tzdata}.tar.gz || return 1 patch -Np1 -i ../Makefile.patch || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 rm ${pkgdir}/usr/share/zoneinfo/localtime }