aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-10-20 12:48:24 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-10-20 12:48:24 -0300
commita431aee94101f942d93ab51fde037a89f2477f25 (patch)
tree144118ac46e46caf18bea01f9c5543c8fffa0cfa
parentc0fc7da41946434065ea728383504138b2983d22 (diff)
downloadaports-a431aee94101f942d93ab51fde037a89f2477f25.tar.gz
aports-a431aee94101f942d93ab51fde037a89f2477f25.tar.bz2
aports-a431aee94101f942d93ab51fde037a89f2477f25.tar.xz
testing/perl-clone-pp: upgrade to 1.08
-rw-r--r--testing/perl-clone-pp/APKBUILD32
1 files changed, 14 insertions, 18 deletions
diff --git a/testing/perl-clone-pp/APKBUILD b/testing/perl-clone-pp/APKBUILD
index 0d04cb7cc6..d3f260c8ca 100644
--- a/testing/perl-clone-pp/APKBUILD
+++ b/testing/perl-clone-pp/APKBUILD
@@ -1,29 +1,30 @@
-# Automatically generated by apkbuild-cpan, template 2
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-clone-pp
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Clone-PP
-pkgver=1.07
-pkgrel=4
-pkgdesc="Recursively copy Perl datatypes"
-url="https://metacpan.org/release/Clone-PP"
+pkgver=1.08
+pkgrel=0
+pkgdesc="Perl module for Clone-PP"
+url="https://metacpan.org/release/Clone-PP/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Clone-PP-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
-
+build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
}
-build() {
+check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make
+ make test
}
package() {
@@ -31,9 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-check() {
- export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make test
-}
-
-sha512sums="28faae5dc42ff5ae850fe9f664dca8b52ff77823c5f157c62c52254fa4f1e217d3344f6e79a2ddad169f934e7be262dc79f32e885cb1d25db182050800ac805a Clone-PP-1.07.tar.gz"
+sha512sums="912898b0617597429a08a6b2717aec75ee9c3f41e2c05512f434a9cb82dad3274b4dbbc4332725248d7c6071eec670e6977c05994cef090df6f591cdfe2f606c Clone-PP-1.08.tar.gz"