diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 19:44:25 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 19:44:25 +0000 |
commit | 0337c07b38d2ba7b5d8d5b429437d1bbc9c53ab9 (patch) | |
tree | fd040d6f621a806d3bea17ac6bea444870e22d84 | |
parent | c0e1d3b842202ce20b28b5304340cd7ad63a76d8 (diff) | |
download | packages-0337c07b38d2ba7b5d8d5b429437d1bbc9c53ab9.tar.gz packages-0337c07b38d2ba7b5d8d5b429437d1bbc9c53ab9.tar.bz2 packages-0337c07b38d2ba7b5d8d5b429437d1bbc9c53ab9.tar.xz packages-0337c07b38d2ba7b5d8d5b429437d1bbc9c53ab9.zip |
user/perl-ipc-system-simple: new package
-rw-r--r-- | user/perl-ipc-system-simple/APKBUILD | 33 |
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" |