summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:28:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:28:25 +0000
commit699e35c1b84882e1cb2fe64707c1aa81007bec33 (patch)
tree2826241db0c810a79d29a2a7e3ef10d44106125f /user
parentb196bd64a7a503738b5dcd9a66447b4a6b8c9ec3 (diff)
downloadpackages-699e35c1b84882e1cb2fe64707c1aa81007bec33.tar.gz
packages-699e35c1b84882e1cb2fe64707c1aa81007bec33.tar.bz2
packages-699e35c1b84882e1cb2fe64707c1aa81007bec33.tar.xz
packages-699e35c1b84882e1cb2fe64707c1aa81007bec33.zip
user/perl-ipc-run3: new package, and may you license in interesting ways
Diffstat (limited to 'user')
-rw-r--r--user/perl-ipc-run3/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-ipc-run3/APKBUILD b/user/perl-ipc-run3/APKBUILD
new file mode 100644
index 000000000..9abe68fb1
--- /dev/null
+++ b/user/perl-ipc-run3/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-ipc-run3
+pkgver=0.048
+pkgrel=0
+pkgdesc="Run a subprocess from Perl with I/O redirection"
+url="https://metacpan.org/release/IPC-Run3"
+arch="noarch"
+license="GPL-1.0+ OR BSD-2-Clause OR Artistic-1.0-Perl OR Artistic-2.0"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/IPC-Run3-$pkgver.tar.gz"
+builddir="$srcdir/IPC-Run3-$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="50432850d8dccd2e59aa6684d34f3e3242fd7df3eb4d9a5eb02dae389aa46b5fd68cc54114a157c3fe99956e68e74d575ab3db5009b7bf7d5c325f1f109b1262 IPC-Run3-0.048.tar.gz"