summaryrefslogtreecommitdiff
path: root/user/perl-ipc-system-simple/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-ipc-system-simple/APKBUILD')
-rw-r--r--user/perl-ipc-system-simple/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-ipc-system-simple/APKBUILD b/user/perl-ipc-system-simple/APKBUILD
new file mode 100644
index 000000000..938924620
--- /dev/null
+++ b/user/perl-ipc-system-simple/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-ipc-system-simple
+pkgver=1.25
+pkgrel=0
+pkgdesc="Run commands from Perl with detailed diagnostics"
+url="https://metacpan.org/release/IPC-System-Simple"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/P/PJ/PJF/IPC-System-Simple-$pkgver.tar.gz"
+builddir="$srcdir/IPC-System-Simple-$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="fda275786605eb80acaa6062cc51c32aa0e84f150e7ca7afcfe874f088ce7b8f9a97669e91bec24fdb05426db8b0f05552aa8853e44b08996e625281d1892f72 IPC-System-Simple-1.25.tar.gz"