From 9a4a945b510ef332b58e774a36961ea64f3d7910 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 18:38:24 +0000 Subject: perl-xml-twig: update to 3.52 --- abs/core/perl_modules/perl-xml-twig/PKGBUILD | 26 ++++++++++++-------------- 1 file 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 -# Maintainer/Contributor: Francois Charette +# $Id$ +# Maintainer: Felix Yan 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 } -- cgit v0.12