summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:42:30 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:42:30 +0000
commit1d9d9eb3b4c2295300d6338de6a23d7eaaa9b9b3 (patch)
tree120220c6fa552c9efccdb34552b3324f939112eb /user
parent6239228bda4fa4195ffbb0a98e33cc31205e515e (diff)
downloadpackages-1d9d9eb3b4c2295300d6338de6a23d7eaaa9b9b3.tar.gz
packages-1d9d9eb3b4c2295300d6338de6a23d7eaaa9b9b3.tar.bz2
packages-1d9d9eb3b4c2295300d6338de6a23d7eaaa9b9b3.tar.xz
packages-1d9d9eb3b4c2295300d6338de6a23d7eaaa9b9b3.zip
user/perl-test-run-plugin-alternateinterpreters: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-test-run-plugin-ai/APKBUILD33
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"