# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-path-iterator-rule #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Path-Iterator-Rule pkgver=1.015 pkgrel=1 pkgdesc="iterative, recursive file finder" url="https://metacpan.org/release/Path-Iterator-Rule/" arch="noarch" license="Apache-2.0" depends="perl perl-number-compare perl-try-tiny perl-text-glob" checkdepends="perl-test-filename perl-path-tiny perl-file-pushd perl-test-deep" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Iterator-Rule-$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=" cc310fa74855021edc86c1fcd5686684ec372062463d6f0b6e83795313ee4ee69207f20a893fbf8031991abdf40bdaa117529e92f5f3d57fb13c9700a9422481 Path-Iterator-Rule-1.015.tar.gz "