diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-xml-xpath/PKGBUILD | 41 |
1 files 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 <firmicus ατ gmx δοτ net> +# $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 } |