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

Jan de Groot jgc at archlinux.org
Wed Aug 18 07:11:58 EDT 2010


    Date: Wednesday, August 18, 2010 @ 07:11:58
  Author: jgc
Revision: 87818

upgpkg: perl-xml-twig 3.34-2
Rename perlxml dependency

Modified:
  perl-xml-twig/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 11:02:30 UTC (rev 87817)
+++ PKGBUILD	2010-08-18 11:11:58 UTC (rev 87818)
@@ -5,22 +5,19 @@
 pkgname=perl-xml-twig
 _realname=XML-Twig
 pkgver=3.34
-pkgrel=1
+pkgrel=2
 pkgdesc="A module for easy processing of XML"
 arch=('i686' 'x86_64')
 url="http://search.cpan.org/dist/${_realname}/"
 license=('GPL' 'PerlArtistic')
-depends=('perlxml>=2.23' 'perl-text-iconv' 'perl>=5.10.0')
+depends=('perl-xml-parser>=2.23' 'perl-text-iconv' 'perl>=5.12.0')
 options=('!emptydirs')
 source=(http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz) 
 md5sums=('88a24e3e09b2fc1e252f7662d1291f9a')
 
 build() {
-  cd  $srcdir/${_realname}-${pkgver}
-  perl Makefile.PL -y INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make DESTDIR=$pkgdir install || return 1
-
-  find $pkgdir -name '.packlist' -delete
-  find $pkgdir -name '*.pod' -delete
+  cd  "${srcdir}/${_realname}-${pkgver}"
+  perl Makefile.PL -y INSTALLDIRS=vendor
+  make
+  make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list