[arch-commits] Commit in tzdata/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Aug 18 14:18:15 EDT 2010


    Date: Wednesday, August 18, 2010 @ 14:18:15
  Author: andyrtr
Revision: 87903

upgpkg: tzdata 2010l-1
new version 2010l

Modified:
  tzdata/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 16:18:14 UTC (rev 87902)
+++ PKGBUILD	2010-08-18 18:18:15 UTC (rev 87903)
@@ -2,10 +2,10 @@
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=tzdata
-pkgver=2010k
+pkgver=2010l
 pkgrel=1
-_tzcode=2010k
-_tzdata=2010k
+_tzcode=2010l
+_tzdata=2010l
 pkgdesc="Sources for time zone and daylight saving time data"
 arch=('i686' 'x86_64')
 url="http://www.twinsun.com/tz/tz-link.htm"
@@ -17,20 +17,24 @@
 source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \
         ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \
         Makefile.patch)
-md5sums=('63cd2199679c91bed972a0248d6916af'
-         '5e2086249d6a6bb116534d358661ad3f'
+md5sums=('77668c37a0b13753c65eee5db3a4b009'
+         '0458bd8ffd537146d34b1a658c42efa5'
          'a64ed97d1fc03c66ee8612c0d9f40507')
 
 build() {
   cd ${srcdir}
 
-  tar -xf tzcode${_tzcode}.tar.gz  || return 1
-  tar -xf ${pkgname}${_tzdata}.tar.gz || return 1
+  tar -xf tzcode${_tzcode}.tar.gz
+  tar -xf ${pkgname}${_tzdata}.tar.gz
 
-  patch -Np1 -i "${srcdir}/Makefile.patch" || return 1
+  patch -Np1 -i "${srcdir}/Makefile.patch"
 
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  make
+}
 
+package() {
+  cd ${srcdir}
+  make DESTDIR="${pkgdir}" install
+
   rm "${pkgdir}/usr/share/zoneinfo/localtime"
 }



More information about the arch-commits mailing list