# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-module-install-authorrequires _pkgreal=Module-Install-AuthorRequires pkgver=0.02 pkgrel=0 pkgdesc="declare author-only dependencies" url="https://metacpan.org/release/Module-Install-AuthorRequires/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-module-install" depends="$cpandepends" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/F/FL/FLORA/Module-Install-AuthorRequires-$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="66d2a603e5700eca0a93523b6adcd0330d439b41730b7ccb2606fc4e43e4b6620cf376637fcbbe71d4733ce144c46822fecac39d4bed3d5303b68863425d9819 Module-Install-AuthorRequires-0.02.tar.gz"