From 6bcfe34e63b622d5bca947096b0d2adc6c41b1f9 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 18:27:32 +0000 Subject: perl-xml-xpath: update to 1.42 --- abs/core/perl_modules/perl-xml-xpath/PKGBUILD | 41 ++++++++++++++++----------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/abs/core/perl_modules/perl-xml-xpath/PKGBUILD b/abs/core/perl_modules/perl-xml-xpath/PKGBUILD index fddb97d..81ae23a 100644 --- a/abs/core/perl_modules/perl-xml-xpath/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-xpath/PKGBUILD @@ -1,23 +1,30 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: François Charette +# $Id$ +#Maintainer: pkgname=perl-xml-xpath -pkgver=1.13 -pkgrel=4 -pkgdesc="A set of modules for parsing and evaluating" -arch=('i686' 'x86_64') -url="http://search.cpan.org/dist/XML-XPath" -license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0' 'perlxml>=2.23') +pkgver=1.42 +pkgrel=1 +pkgdesc="A set of modules for parsing and evaluating XPath statements" +arch=('any') +url="https://metacpan.org/release/XML-XPath" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-xml-parser') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-$pkgver.tar.gz) -md5sums=('b5919d9220d83982feb6e2321850c5d7') +source=("https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-$pkgver.tar.gz") +sha1sums=('addb3668a25ba45b7242bd2ff78a1f704d6edf14') build() { - cd $startdir/src/XML-XPath-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd "${srcdir}/XML-XPath-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/XML-XPath-${pkgver}" +# make test +} + +package() { + cd "${srcdir}/XML-XPath-${pkgver}" + make DESTDIR="$pkgdir" install } -- cgit v0.12