summaryrefslogtreecommitdiff
path: root/user/perl-ipc-run/APKBUILD
blob: 5f268e4b28bfa38aa704e5e5ac6d68da33547b00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-ipc-run
_pkgreal=IPC-Run
_author=TODDR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="e9d97cbec9f2607d1a89c1a06bd166ae2f030157f201e870df3b88b9f0b915b06a4b0db05b7f50daa4883de255e29c6898b1f9964d706739d4bf7034b53d7f89  IPC-Run-20180523.0.tar.gz"