diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-31 18:27:32 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-31 18:27:32 (GMT) |
commit | 6bcfe34e63b622d5bca947096b0d2adc6c41b1f9 (patch) | |
tree | 4d3ad1e2944e90effcfbf4fe52d32351639d63e8 /abs | |
parent | d55967443ac7cae35dfeb704c8a05fe8d383df9c (diff) | |
download | linhes_pkgbuild-6bcfe34e63b622d5bca947096b0d2adc6c41b1f9.zip linhes_pkgbuild-6bcfe34e63b622d5bca947096b0d2adc6c41b1f9.tar.gz linhes_pkgbuild-6bcfe34e63b622d5bca947096b0d2adc6c41b1f9.tar.bz2 |
perl-xml-xpath: update to 1.42
Diffstat (limited to 'abs')
-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 } |