diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-test-run-plugin-ai/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-test-run-plugin-ai/APKBUILD b/user/perl-test-run-plugin-ai/APKBUILD new file mode 100644 index 000000000..3537a1197 --- /dev/null +++ b/user/perl-test-run-plugin-ai/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-run-plugin-alternateinterpreters +pkgver=0.0124 +pkgrel=0 +pkgdesc="Define different interpreters for test scripts with Perl Test::Run" +url="https://metacpan.org/release/Test-Run-Plugin-AlternateInterpreters" +arch="noarch" +license="MIT" +depends="perl-moose perl-mro-compat perl-test-run perl-test-run-cmdline" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-Plugin-AlternateInterpreters-$pkgver.tar.gz" +builddir="$srcdir/Test-Run-Plugin-AlternateInterpreters-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="54649bde2b97eb7dfeef5392a63787e4ce10c37474acf27f35ab7b466a05564f98be82d99690963b3249c1585ab986e25ac2cf2be72c13b460d467d90b4de719 Test-Run-Plugin-AlternateInterpreters-0.0124.tar.gz" |