summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-xml-twig/PKGBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/abs/core/perl_modules/perl-xml-twig/PKGBUILD b/abs/core/perl_modules/perl-xml-twig/PKGBUILD
index b8be295..13e8acf 100644
--- a/abs/core/perl_modules/perl-xml-twig/PKGBUILD
+++ b/abs/core/perl_modules/perl-xml-twig/PKGBUILD
@@ -1,33 +1,31 @@
-# $Id: PKGBUILD 162138 2012-06-22 05:50:38Z eric $
-# Maintainer: damir <damir@archlinux.org>
-# Maintainer/Contributor: Francois Charette <firmicus@gmx.net>
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=perl-xml-twig
-_realname=XML-Twig
-pkgver=3.40
-pkgrel=1
+pkgver=3.52
+pkgrel=3
pkgdesc="A module for easy processing of XML"
arch=('any')
-url="http://search.cpan.org/dist/${_realname}/"
+url="http://search.cpan.org/dist/XML-Twig/"
license=('GPL' 'PerlArtistic')
depends=('perl-xml-parser' 'perl-text-iconv' 'perl')
-checkdepends=('perl-libwww' 'perl-test-pod' 'perl-xml-simple' 'perl-html-tree')
+checkdepends=('perl-libwww' 'perl-test-pod' 'perl-xml-simple' 'perl-html-tree' 'perl-xml-xpath' 'perl-tie-ixhash')
options=('!emptydirs')
-source=("http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz")
-sha1sums=('37fec67bd2c60d53e861f13a64c1c9e0426858c2')
+source=("http://www.cpan.org/authors/id/M/MI/MIROD/XML-Twig-${pkgver}.tar.gz")
+sha1sums=('ce4ad6f055ea677ab5526e55677faffcc6457eb8')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd XML-Twig-${pkgver}
perl Makefile.PL -y INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_realname}-${pkgver}"
- make test
+ cd XML-Twig-${pkgver}
+ make test || warning "Tests failed"
}
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd XML-Twig-${pkgver}
make DESTDIR="${pkgdir}" install
}