summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-09-04 04:09:17 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2024-09-06 06:52:54 +0000
commit3d85b4736212ea1902fe9d728f4e870f70b5b99c (patch)
tree184ddea7eec00c4d37907936829ba40b33dce5fb
parent86eb43e96f3449e66e91c07dba35e49f2f7e1d9b (diff)
downloadaports-3d85b4736212ea1902fe9d728f4e870f70b5b99c.zip
testing/perl-autobox: upgrade to 3.0.2
also, upgrade to apkbuild-cpan template 4
-rw-r--r--testing/perl-autobox/APKBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/testing/perl-autobox/APKBUILD b/testing/perl-autobox/APKBUILD
index d9133ea5c9a..457effe516b 100644
--- a/testing/perl-autobox/APKBUILD
+++ b/testing/perl-autobox/APKBUILD
@@ -1,41 +1,40 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 4
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-autobox
+pkgver=3.0.2
+pkgrel=0
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=autobox
-pkgver=3.0.1
-pkgrel=9
pkgdesc="call methods on native types"
-url="https://metacpan.org/release/autobox"
+url="https://metacpan.org/release/autobox/"
arch="all"
-license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-depends="perl-scope-guard"
-makedepends="perl-dev perl-test-pod perl-ipc-system-simple perl-test-fatal"
+license="Artistic-2.0"
+depends="perl perl-scope-guard"
+makedepends="perl-dev"
+checkdepends="perl-ipc-system-simple perl-test-fatal"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/autobox-v$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-v$pkgver"
-prepare() {
- default_prepare
-
- export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- 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 \
+ NO_PACKLIST=1 \
+ NO_PERLLOCAL=1
make
}
check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
- find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
-401d5e87e15cf26362a88e5d23d8c9e842b951c03ac7010da2317af5ea897fa1fe2e4862cc5c691f25851fd5ba5398935c27f6d9f87fbc2fe52bb68a25d3d3a0 autobox-v3.0.1.tar.gz
+6845090165a738b692d5e673d72e9d34eb0a49c332b31df351f1cc114eeaf51d729455d6993fa54e0bcc6ed2f3a148dcfa0079c9fad0910b5df39e281e54c2b6 autobox-v3.0.2.tar.gz
"