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

Jan de Groot jgc at archlinux.org
Tue Aug 17 09:59:51 EDT 2010


    Date: Tuesday, August 17, 2010 @ 09:59:51
  Author: jgc
Revision: 87653

upgpkg: intltool 0.41.1-2
Follow perlxml rename

Modified:
  intltool/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-17 13:54:45 UTC (rev 87652)
+++ PKGBUILD	2010-08-17 13:59:51 UTC (rev 87653)
@@ -5,27 +5,25 @@
 
 pkgname=intltool
 pkgver=0.41.1
-pkgrel=1
+pkgrel=2
 pkgdesc="The internationalization tool collection"
 arch=('any')
 url="https://edge.launchpad.net/intltool"
 license=('GPL')
-depends=('perlxml')
+depends=('perl-xml-parser')
 source=(http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
 md5sums=('d6c91bf06681919ccfdf3624035b75dc')
 sha1sums=('20b2bf222395cf1711fee1f1b7b7650b9e0f2fc2')
 
 build() {
-	cd ${srcdir}/${pkgname}-${pkgver}
-
-	./configure --prefix=/usr || return 1
-	make || return 1
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr
+	make
 }
 
 package() {
-	cd ${srcdir}/${pkgname}-${pkgver}
+	cd "${srcdir}/${pkgname}-${pkgver}"
 	
-	make DESTDIR=${pkgdir} install || return 1
-	install -Dm644 doc/I18N-HOWTO \
-		${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO || return 1
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO"
 }



More information about the arch-commits mailing list