summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-xml-twig/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/abs/core/perl_modules/perl-xml-twig/PKGBUILD b/abs/core/perl_modules/perl-xml-twig/PKGBUILD
index b15b94b..b20735d 100644
--- a/abs/core/perl_modules/perl-xml-twig/PKGBUILD
+++ b/abs/core/perl_modules/perl-xml-twig/PKGBUILD
@@ -1,26 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id$
# Maintainer: damir <damir@archlinux.org>
# Maintainer/Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-xml-twig
_realname=XML-Twig
-pkgver=3.32
-pkgrel=2
+pkgver=3.34
+pkgrel=3
pkgdesc="A module for easy processing of XML"
-arch=('i686' 'x86_64')
+arch=('any')
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=('9df9dcab00aa093c4e540caa5cb759fa')
+md5sums=('88a24e3e09b2fc1e252f7662d1291f9a')
build() {
- cd $startdir/src/${_realname}-${pkgver}
- perl Makefile.PL -y INSTALLDIRS=vendor || return 1
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ cd "${srcdir}/${_realname}-${pkgver}"
+ perl Makefile.PL -y INSTALLDIRS=vendor
+ make
+ make test
+}
- find $startdir/pkg -name '.packlist' -delete
- find $startdir/pkg -name '*.pod' -delete
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}