# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-test-useallmodules #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Test-UseAllModules pkgver=0.17 pkgrel=0 pkgdesc="do use_ok() for all the MANIFESTed modules" url="https://metacpan.org/release/Test-UseAllModules/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Test-UseAllModules-$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="6aa768dded4b3ebe604bc616a8a1b09845c0dbd91fcdba2b10e787e5ba3604cb18d9dfcfb9f5e4fef0d3d5d44c8722d99394843e4a14e1bee4dbb1463ef4bcd8 Test-UseAllModules-0.17.tar.gz"