aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-module-scandeps/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-01-14 02:05:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-01-14 05:15:50 +0000
commit4f385aac47dcb363e459e05cbc7a3d17b74cd76b (patch)
tree3eb3d570e0c92a537bad8437d6b30563b06959b7 /main/perl-module-scandeps/APKBUILD
parent4d6171d68ab67980cf416a71e310fb8aee9b0b18 (diff)
downloadaports-4f385aac47dcb363e459e05cbc7a3d17b74cd76b.tar.gz
aports-4f385aac47dcb363e459e05cbc7a3d17b74cd76b.tar.bz2
aports-4f385aac47dcb363e459e05cbc7a3d17b74cd76b.tar.xz
main/perl-module-scandeps: upgrade to 1.30
Diffstat (limited to 'main/perl-module-scandeps/APKBUILD')
-rw-r--r--main/perl-module-scandeps/APKBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/main/perl-module-scandeps/APKBUILD b/main/perl-module-scandeps/APKBUILD
index 5ac9b9bda5..731fefde5f 100644
--- a/main/perl-module-scandeps/APKBUILD
+++ b/main/perl-module-scandeps/APKBUILD
@@ -1,32 +1,29 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-module-scandeps
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Module-ScanDeps
-pkgver=1.29
-pkgrel=1
+pkgver=1.30
+pkgrel=0
pkgdesc="Recursively scan Perl code for dependencies"
-url="https://metacpan.org/release/Module-ScanDeps"
+url="https://metacpan.org/release/Module-ScanDeps/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
-makedepends="perl-dev perl-test-requires perl-test-pod"
+makedepends="perl-dev"
+checkdepends="perl-test-requires"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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
make
}
check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
@@ -35,4 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="c5ed8c31b339ead890604f570a1fddecb97f9172f9612c18e5d8e72fb857ff3f0a2e612f84f85495437d10cf5a050994eb59b8f7e682f84a476d6c3c1a160380 Module-ScanDeps-1.29.tar.gz"
+sha512sums="4813dd38e6defc2576b802f5fda2712f06cc6c763f06aa82115957f2b6eed36a14cd835669c46acc5ec9afd5a74c750b3f0f9a574471017e7a58fefede5311ac Module-ScanDeps-1.30.tar.gz"