# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Adélie Perl Team pkgname=perl-test-requires _pkgreal=Test-Requires _author=TOKUHIROM _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.10 pkgrel=0 pkgdesc="Checks to see if a Perl module can be loaded" url="https://metacpan.org/release/Test-Requires" arch="noarch" license="GPL-2.0-only OR Artistic-1.0-Perl" depends="perl" makedepends="" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="5bc6bf52ae5ab3c56f49b7b17faedf7d6afef2cadfca8aab4770f2c2f91cd4fcb98921e1af159d1dc42684b80f50d4b7fc12bd05ef9dccdcbeeeb6100a9e5ae6 Test-Requires-0.10.tar.gz"