PKGBUILDs/core/tzdata/PKGBUILD
Mike Staszel 2c19ad2b19 Core mods
2009-10-10 09:15:23 -05:00

36 lines
936 B
Bash

# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
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
}