Skip to content
Snippets Groups Projects
Commit 06b32e21 authored by Leo's avatar Leo
Browse files

main/perl-module-scandeps: upgrade to 1.28

parent 52abaa17
2 merge requests!11958community/rclone: upgrade to 1.52.3,!11118main/perl-module-scandeps: upgrade to 1.28
...@@ -2,43 +2,37 @@ ...@@ -2,43 +2,37 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-module-scandeps pkgname=perl-module-scandeps
_pkgreal=Module-ScanDeps _pkgreal=Module-ScanDeps
pkgver=1.27 pkgver=1.28
pkgrel=0 pkgrel=0
pkgdesc="Recursively scan Perl code for dependencies" pkgdesc="Recursively scan Perl code for dependencies"
url="https://metacpan.org/release/Module-ScanDeps" url="https://metacpan.org/release/Module-ScanDeps"
arch="noarch" arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl" license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-test-requires" depends="perl"
makedepends="perl-dev $cpanmakedepends perl-test-pod" makedepends="perl-dev perl-test-requires perl-test-pod"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
prepare() { prepare() {
default_prepare default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
} }
build() { build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make make
} }
package() { check() {
cd "$builddir" make test
}
package() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
check() { sha512sums="60debdc8e51b0b389fc0bf480e94012592f01bb6de93ac95265cc6fe07645008a30d6c6d84511ad0221239c14dbcb33df01128e9905d0a1a7cfc862b7d9893eb Module-ScanDeps-1.28.tar.gz"
cd "$builddir"
make test
}
sha512sums="ab5625f497a9dc9133960c7c9a5867f27f6f0061fa954225cfc53fda39d9b657743ee66a7a96cc1485bba57532fc0447c3b245dd81cf6e6c39522fdd2e308411 Module-ScanDeps-1.27.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment