summaryrefslogblamecommitdiff
path: root/user/perl-ipc-run/APKBUILD
blob: c78ee10fb3341102ec117c76b4113fa9f2380454 (plain) (tree)

































                                                                                                                                                                        
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-ipc-run
pkgver=20180523.0
pkgrel=0
pkgdesc="system() and background procs w/ piping, redirs, ptys"
url="https://metacpan.org/pod/IPC::Run"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IPC-Run-$pkgver.tar.gz"
builddir="$srcdir/IPC-Run-$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="e9d97cbec9f2607d1a89c1a06bd166ae2f030157f201e870df3b88b9f0b915b06a4b0db05b7f50daa4883de255e29c6898b1f9964d706739d4bf7034b53d7f89  IPC-Run-20180523.0.tar.gz"