summaryrefslogtreecommitdiff
path: root/testing/tzdata/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-02 10:47:02 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-02 10:47:02 -0300
commit40e1222c1402c0d2aded73b95802f8197d0691a6 (patch)
treee1bf1a01ae7443e4a9f460200dad9580565b27c7 /testing/tzdata/PKGBUILD
parent3e3dd870121c91097220248a601578b92d332f2b (diff)
parent37a1064b8105764414f279ced442e6ba2f63bea1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/camlp5/PKGBUILD community/dzen2/PKGBUILD extra/boost/PKGBUILD extra/libxmi/PKGBUILD extra/mesa/PKGBUILD multilib/lib32-mesa/PKGBUILD
Diffstat (limited to 'testing/tzdata/PKGBUILD')
-rw-r--r--testing/tzdata/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/tzdata/PKGBUILD b/testing/tzdata/PKGBUILD
new file mode 100644
index 000000000..8829a03ef
--- /dev/null
+++ b/testing/tzdata/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 141575 2011-10-31 07:41:26Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=tzdata
+pkgver=2011n
+pkgrel=1
+_tzcode=2011i
+_tzdata=2011n
+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')
+depends=()
+makedepends=()
+optdepends=('bash: required by tzselect')
+options=('!emptydirs')
+source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \
+ ftp://munnari.oz.au/pub/${pkgname}${_tzdata}.tar.gz
+ #ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \
+ Makefile.patch)
+md5sums=('cf7f4335b7c8682899fa2814e711c1b2'
+ '20dbfb28efa008ddbf6dd34601ea40fa'
+ 'a64ed97d1fc03c66ee8612c0d9f40507')
+
+build() {
+ cd ${srcdir}
+
+ tar -xf tzcode${_tzcode}.tar.gz
+ tar -xf ${pkgname}${_tzdata}.tar.gz
+
+ patch -Np1 -i "${srcdir}/Makefile.patch"
+
+ make
+}
+
+check() {
+ cd ${srcdir}
+ make -k check # || /bin/true
+}
+
+package() {
+ cd ${srcdir}
+ make DESTDIR="${pkgdir}" install
+
+ rm "${pkgdir}/usr/share/zoneinfo/localtime"
+}