summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 18:38:24 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 18:38:24 (GMT)
commit9a4a945b510ef332b58e774a36961ea64f3d7910 (patch)
treef1fa6aaf66cdfaa29a6aa528676813ea58c3e7b5 /abs/core
parent4e48594d677da6b933fbae5d025c89d27ef3f3dd (diff)
downloadlinhes_pkgbuild-9a4a945b510ef332b58e774a36961ea64f3d7910.zip
linhes_pkgbuild-9a4a945b510ef332b58e774a36961ea64f3d7910.tar.gz
linhes_pkgbuild-9a4a945b510ef332b58e774a36961ea64f3d7910.tar.bz2
perl-xml-twig: update to 3.52
Diffstat (limited to 'abs/core')
-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
}