aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-10-22 03:17:30 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-10-22 03:17:30 -0300
commit7ac7a24e508fc441b9db5fd490ecc6ca58b4eb38 (patch)
treeb778e37a11212d9ddf2cff99890cd085d3b64669
parentf20cdb27f4039c375f1e8293750e9d96b85b997c (diff)
downloadaports-7ac7a24e508fc441b9db5fd490ecc6ca58b4eb38.tar.gz
aports-7ac7a24e508fc441b9db5fd490ecc6ca58b4eb38.tar.bz2
aports-7ac7a24e508fc441b9db5fd490ecc6ca58b4eb38.tar.xz
main/perl-test2-suite: upgrade to 0.000138
-rw-r--r--main/perl-test2-suite/APKBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/main/perl-test2-suite/APKBUILD b/main/perl-test2-suite/APKBUILD
index cbb624d7c4..6adf18e09c 100644
--- a/main/perl-test2-suite/APKBUILD
+++ b/main/perl-test2-suite/APKBUILD
@@ -1,31 +1,29 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test2-suite
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test2-Suite
-pkgver=0.000136
+pkgver=0.000138
pkgrel=0
pkgdesc="Distribution with a rich set of tools built upon the Test2 framework."
-url="https://metacpan.org/release/Test2-Suite"
+url="https://metacpan.org/release/Test2-Suite/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-depends="perl perl-scope-guard perl-term-table perl-sub-info perl-module-pluggable perl-importer"
+depends="perl perl-term-table perl-scope-guard perl-sub-info perl-importer perl-module-pluggable"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test2-Suite-$pkgver.tar.gz"
-
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-}
-
build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
@@ -34,5 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-
-sha512sums="e0957e899c40b0108b77367db931d215a7bc6d83928d755a85716a3882217b5d6855d354133c79abcc2845f38bd6d27606bf2182f1a59fe0a6d788227985bbc9 Test2-Suite-0.000136.tar.gz"
+sha512sums="76f49dfc1e5df0a4de2723495b36457cad28af34c459051a4a34fbef9d3a803498c93093964c49d3f9207b6a2739848fdc98e3a8a0089c789e0acf807fbe9984 Test2-Suite-0.000138.tar.gz"