aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-ipc-run/APKBUILD
blob: 1f4bb8ebfc687e73751e8fd79904106e77956e3e (plain)
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
35
36
37
38
39
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-ipc-run
_pkgreal=IPC-Run
pkgver=0.94
pkgrel=0
pkgdesc="system() and background procs w/ piping, redirs, ptys (Unix, Win32)"
url="http://search.cpan.org/dist/IPC-Run/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-io-tty"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make
}

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

md5sums="c963902894d3796b16624b3b4aea94b4  IPC-Run-0.94.tar.gz"
sha256sums="2eb336c91a2b7ea61f98e5b2282d91020d39a484f16041e2365ffd30f8a5605b  IPC-Run-0.94.tar.gz"
sha512sums="c42fb5e0a5085698bec3f970ba642c00ad947629bd30c1485ebd28e8e24db4273fa6439e0abeddbc602be66e4ebfcaaa7e8d3982ac8b82c3c6a8a431c170f721  IPC-Run-0.94.tar.gz"