aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-04-27 16:57:46 +0000
committerTimo Teräs <timo.teras@iki.fi>2019-05-28 09:57:18 +0300
commit8d7a70f6edfe57cdfd963161ba1840089e64d0ba (patch)
tree31da9a5fcab245c645aec33321a8e9826e2897aa
parentb46de91cc77c1e550ba980cd4abd5c300818179e (diff)
downloadaports-8d7a70f6edfe57cdfd963161ba1840089e64d0ba.tar.gz
aports-8d7a70f6edfe57cdfd963161ba1840089e64d0ba.tar.bz2
aports-8d7a70f6edfe57cdfd963161ba1840089e64d0ba.tar.xz
main/perl-xml-xpath: upgrade to 1.44
-rw-r--r--main/perl-xml-xpath/APKBUILD34
1 files changed, 15 insertions, 19 deletions
diff --git a/main/perl-xml-xpath/APKBUILD b/main/perl-xml-xpath/APKBUILD
index 2a0831d73a..740d48a9ae 100644
--- a/main/perl-xml-xpath/APKBUILD
+++ b/main/perl-xml-xpath/APKBUILD
@@ -1,40 +1,36 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 2
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-xml-xpath
_pkgreal=XML-XPath
-pkgver=1.42
+pkgver=1.44
pkgrel=0
-pkgdesc="A set of modules for parsing and evaluating XPath statements"
-url="http://search.cpan.org/dist/XML-XPath/"
+pkgdesc="Parse and evaluate XPath statements."
+url="https://metacpan.org/release/XML-XPath/"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-xml-parser perl-path-tiny"
-cpanmakedepends=""
+license="Artistic-2.0"
+cpandepends="perl-xml-parser"
+cpanmakedepends="perl-path-tiny"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/M/MA/MANWAR/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- cd "$builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-}
-
build() {
- cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
- make test
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="170e0d5369f937444ae340dcceccef2e836a3a87f393e4f2915a189d822101278c5046665f1bc9b165f7358deab9207e199903d5d4f2f3d8e62ee04a31fafe0b XML-XPath-1.42.tar.gz"
+
+sha512sums="9314523baa55b48b8e684fbf9cc53006ef39829e2bcbd61a432508a96946c50384dff7eba47bd9f54aadc67c12fae6c1219104b017063d23ec3ee350a67eb12e XML-XPath-1.44.tar.gz"