aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-08-06 13:45:21 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-08-06 16:56:23 +0000
commit06b32e21c41f214f3e822d6eab4a352056ef4458 (patch)
tree462ae0571bfd04354fadc95110b5b393c13c91d7
parent52abaa17a049d7d56b463f9dc24a802f368440f5 (diff)
downloadaports-06b32e21c41f214f3e822d6eab4a352056ef4458.tar.gz
aports-06b32e21c41f214f3e822d6eab4a352056ef4458.tar.bz2
aports-06b32e21c41f214f3e822d6eab4a352056ef4458.tar.xz
main/perl-module-scandeps: upgrade to 1.28
-rw-r--r--main/perl-module-scandeps/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/main/perl-module-scandeps/APKBUILD b/main/perl-module-scandeps/APKBUILD
index eb0fb36aaa..aad663f104 100644
--- a/main/perl-module-scandeps/APKBUILD
+++ b/main/perl-module-scandeps/APKBUILD
@@ -2,43 +2,37 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-module-scandeps
_pkgreal=Module-ScanDeps
-pkgver=1.27
+pkgver=1.28
pkgrel=0
pkgdesc="Recursively scan Perl code for dependencies"
url="https://metacpan.org/release/Module-ScanDeps"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-cpanmakedepends="perl-test-requires"
-makedepends="perl-dev $cpanmakedepends perl-test-pod"
+depends="perl"
+makedepends="perl-dev perl-test-requires perl-test-pod"
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
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
-
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
-package() {
- cd "$builddir"
+check() {
+ make test
+}
+package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-check() {
- cd "$builddir"
- make test
-}
-
-sha512sums="ab5625f497a9dc9133960c7c9a5867f27f6f0061fa954225cfc53fda39d9b657743ee66a7a96cc1485bba57532fc0447c3b245dd81cf6e6c39522fdd2e308411 Module-ScanDeps-1.27.tar.gz"
+sha512sums="60debdc8e51b0b389fc0bf480e94012592f01bb6de93ac95265cc6fe07645008a30d6c6d84511ad0221239c14dbcb33df01128e9905d0a1a7cfc862b7d9893eb Module-ScanDeps-1.28.tar.gz"