diff options
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/perl-module-install-authorrequires/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-module-install-authorrequires/APKBUILD b/testing/perl-module-install-authorrequires/APKBUILD new file mode 100644 index 0000000000..830a3c034c --- /dev/null +++ b/testing/perl-module-install-authorrequires/APKBUILD @@ -0,0 +1,35 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge <timlegge@gmail.com> +# Maintainer: Timothy Legge <timlegge@gmail.com> +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" |
