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

Eric Bélanger eric at archlinux.org
Sun Oct 16 05:27:39 UTC 2011


    Date: Sunday, October 16, 2011 @ 01:27:38
  Author: eric
Revision: 140507

upgpkg: iso-codes 3.29-1

Upstream update, Update source url, Clean up PKGBUILD

Modified:
  iso-codes/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-16 04:30:57 UTC (rev 140506)
+++ PKGBUILD	2011-10-16 05:27:38 UTC (rev 140507)
@@ -2,18 +2,23 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=iso-codes
-pkgver=3.14
+pkgver=3.29
 pkgrel=1
-arch=(any)
-license=('LGPL')
 pkgdesc="Lists of the country, language, and currency names"
+arch=('any')
 url="http://pkg-isocodes.alioth.debian.org/"
-source=(ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('b4bedcd57de703ac4f9f4c21a77dc7d5')
+license=('LGPL')
+source=(http://pkg-isocodes.alioth.debian.org/downloads/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('c8c0c18d76cf204ad0da1e61229ea4c7'
+         '81b3071ab9d4b40d3af21d0dea415b49')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" pkgconfigdir=/usr/lib/pkgconfig install || return 1
+  ./configure --prefix=/usr
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" pkgconfigdir=/usr/lib/pkgconfig install
+}




More information about the arch-commits mailing list