summaryrefslogtreecommitdiffstats
path: root/abs/core/tzdata/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-02-09 03:53:51 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-02-09 03:53:51 (GMT)
commitef11eb6b507eb99358dec7c33daaddd8536ebdb4 (patch)
tree7a5971bb89dafa6ec4accb98830a8b976671dfe9 /abs/core/tzdata/PKGBUILD
parentb516ea7067d5f1193476dedc5dad7d82008446a1 (diff)
parenta4bb0fdbcfcd42cbe2dfce9e0d28513d11c75107 (diff)
downloadlinhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.zip
linhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.tar.gz
linhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/tzdata/PKGBUILD')
-rw-r--r--abs/core/tzdata/PKGBUILD36
1 files changed, 20 insertions, 16 deletions
diff --git a/abs/core/tzdata/PKGBUILD b/abs/core/tzdata/PKGBUILD
index 544f1c7..f33a406 100644
--- a/abs/core/tzdata/PKGBUILD
+++ b/abs/core/tzdata/PKGBUILD
@@ -1,36 +1,40 @@
-# $Id: PKGBUILD 8190 2008-08-08 21:11:59Z andyrtr $
+# $Id: PKGBUILD 98331 2010-11-07 18:34:04Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=tzdata
-pkgver=2008e
-pkgrel=10
-_tzcode=2008e
-_tzdata=2008e
+pkgver=2011a
+pkgrel=1
+_tzcode=2011a
+_tzdata=2011a
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=()
+optdepends=('sh: required by tzselect')
+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=('12ec2d85324ddcba39db1471a03f486b'
- '3b4578110a3d193ed9a00d61f27aba28'
- 'a64ed97d1fc03c66ee8612c0d9f40507')
build() {
- cd ${srcdir}/
+ cd ${srcdir}
+
+ tar -xf tzcode${_tzcode}.tar.gz
+ tar -xf ${pkgname}${_tzdata}.tar.gz
- tar -xf tzcode${_tzcode}.tar.gz || return 1
- tar -xf ${pkgname}${_tzdata}.tar.gz || return 1
+ patch -Np1 -i "${srcdir}/Makefile.patch"
- patch -Np1 -i ../Makefile.patch || return 1
+ make
+}
- make || return 1
+package() {
+ cd ${srcdir}
make DESTDIR="${pkgdir}" install
- rm ${pkgdir}/usr/share/zoneinfo/localtime
+ rm "${pkgdir}/usr/share/zoneinfo/localtime"
}
+md5sums=('001db5591974e6db7797a90cbdcbbadc'
+ 'd60f168fb7307d8c1b926c7dc3a6c5c1'
+ 'a64ed97d1fc03c66ee8612c0d9f40507')