aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-11-09 22:16:50 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-11-10 11:25:59 +0000
commit653b95eebb812737fe1bf662dd16c51f5b141033 (patch)
treecf721199de55ed00b7ada53e04910a7a7fb966bc
parentc1eb769673daf2b828fc530eb0202373305fb57b (diff)
downloadaports-653b95eebb812737fe1bf662dd16c51f5b141033.tar.gz
aports-653b95eebb812737fe1bf662dd16c51f5b141033.tar.bz2
aports-653b95eebb812737fe1bf662dd16c51f5b141033.tar.xz
testing/perl-class-c3: upgrade to 0.35
-rw-r--r--testing/perl-class-c3/APKBUILD30
1 files changed, 12 insertions, 18 deletions
diff --git a/testing/perl-class-c3/APKBUILD b/testing/perl-class-c3/APKBUILD
index 2155325223..8ce0b2db2f 100644
--- a/testing/perl-class-c3/APKBUILD
+++ b/testing/perl-class-c3/APKBUILD
@@ -1,31 +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-class-c3
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Class-C3
-pkgver=0.34
-pkgrel=1
+pkgver=0.35
+pkgrel=0
pkgdesc="A pragma to use the C3 method resolution order algorithm"
-url="https://metacpan.org/release/Class-C3"
+url="https://metacpan.org/release/Class-C3/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-cpandepends="perl-algorithm-c3"
-depends="$cpandepends"
+depends="perl perl-algorithm-c3"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Class-C3-$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() {
@@ -33,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="3400b0f827cceca47fa352f634c1a08f33f880e7899be4c44f7bf2a113f5530a7ac07269ae6a15a3c6cccc7dc6bc106c8888daa68bcf7a41bdce072e32c957f4 Class-C3-0.34.tar.gz"
+sha512sums="792dda26d6c77652ae0d1ca868284a798c631523d29f338d3b5bc771fd151a8529f6f8692a8fec7a9116ac8e40831b714bcfd205736c04e56e91fa39a4bae9a6 Class-C3-0.35.tar.gz"