# Automatically generated by apkbuild-cpan, template 3 # Maintainer: Stuart Cardall pkgname=perl-module-scandeps #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Module-ScanDeps pkgver=1.32 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" depends="perl" 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" 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 } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 7fcab4c1cc818cb67304eb769173870e52f0783fae0b8f2099ae79913772adae4570a7a335484aa843e1f07a447f922831876c02d0666f6018f99b7e8d60af12 Module-ScanDeps-1.32.tar.gz "