aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-08-29 12:09:34 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-08-29 12:09:46 -0300
commit8a0f40b67880d33248063fe63cf23cefc8d98d41 (patch)
treee12cc763192d206af7614cd944a797f7fce97c59
parent3be643a3c0a70d2f597c7703018514d9e89ed9a1 (diff)
downloadaports-8a0f40b67880d33248063fe63cf23cefc8d98d41.tar.gz
aports-8a0f40b67880d33248063fe63cf23cefc8d98d41.tar.bz2
aports-8a0f40b67880d33248063fe63cf23cefc8d98d41.tar.xz
main/perl-class-data-inheritable: upgrade to 0.09
-rw-r--r--main/perl-class-data-inheritable/APKBUILD32
1 files changed, 17 insertions, 15 deletions
diff --git a/main/perl-class-data-inheritable/APKBUILD b/main/perl-class-data-inheritable/APKBUILD
index 836041cdcc..dba2845a72 100644
--- a/main/perl-class-data-inheritable/APKBUILD
+++ b/main/perl-class-data-inheritable/APKBUILD
@@ -1,34 +1,36 @@
-# Automatically generated by apkbuild-cpan, template 1
+# 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-data-inheritable
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Class-Data-Inheritable
-pkgver=0.08
-pkgrel=2
+pkgver=0.09
+pkgrel=0
pkgdesc="Inheritable, overridable class data"
url="https://metacpan.org/release/Class-Data-Inheritable/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/T/TM/TMTM/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/R/RS/RSHERER/Class-Data-Inheritable-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir/$_pkgreal-$pkgver"
-
-prepare() {
- cd "$_builddir"
- 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
}
-build() {
- cd "$_builddir"
- make && make test
+check() {
+ 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="bddc61096158b21d4cfa69538d5db0f53617a66c71447ee193141064f4f58194462b21e0a849510e24e4c263b13be3ee1bc6bb8504320e0a86c02b67ad1652c8 Class-Data-Inheritable-0.08.tar.gz"
+sha512sums="
+2e76aaf12c8d26442d53746e5d74636bb35c55461efb6d9b5ea50a635e3f781707b2d7f9cb3da9113ed31de464d3931f9734c29ace2a7ee5c6e111392b6a97cf Class-Data-Inheritable-0.09.tar.gz
+"