[arch-commits] Commit in perl-xml-simple/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Aug 18 07:14:00 EDT 2010


    Date: Wednesday, August 18, 2010 @ 07:13:59
  Author: jgc
Revision: 87823

upgpkg: perl-xml-simple 2.18-3
Convert to -any architecture, rename perlxml dependency

Modified:
  perl-xml-simple/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 11:12:17 UTC (rev 87822)
+++ PKGBUILD	2010-08-18 11:13:59 UTC (rev 87823)
@@ -5,22 +5,19 @@
 pkgname=perl-xml-simple
 _realname=XML-Simple
 pkgver=2.18
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple XML parser for perl"
-arch=(i686 x86_64)
+arch=(any)
 license=('PerlArtistic')
 url="http://search.cpan.org/dist/${_realname}/"
-depends=('perlxml' 'perl>=5.10.0')
+depends=('perl-xml-parser' 'perl>=5.12.0')
 options=('!emptydirs')
 source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz)
 md5sums=('593aa8001e5c301cdcdb4bb3b63abc33')
 
 build() {
-  cd ${startdir}/src/${_realname}-${pkgver}
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
-
-  find ${startdir}/pkg -name '.packlist' -delete
-  find ${startdir}/pkg -name 'perllocal.pod' -delete
+  cd "${srcdir}/${_realname}-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+  make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list