summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tzdata/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/tzdata/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/tzdata/PKGBUILD')
-rw-r--r--abs/core-testing/tzdata/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/core-testing/tzdata/PKGBUILD b/abs/core-testing/tzdata/PKGBUILD
new file mode 100644
index 0000000..544f1c7
--- /dev/null
+++ b/abs/core-testing/tzdata/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 8190 2008-08-08 21:11:59Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=tzdata
+pkgver=2008e
+pkgrel=10
+_tzcode=2008e
+_tzdata=2008e
+pkgdesc="Sources for time zone and daylight saving time data"
+arch=('i686' 'x86_64')
+url="http://www.twinsun.com/tz/tz-link.htm"
+license=('GPL')
+groups=('base')
+depends=()
+makedepends=()
+options=()
+source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \
+ ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \
+ Makefile.patch)
+md5sums=('12ec2d85324ddcba39db1471a03f486b'
+ '3b4578110a3d193ed9a00d61f27aba28'
+ '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
+
+ rm ${pkgdir}/usr/share/zoneinfo/localtime
+}