blob: 5a1c03d5974bfb22b266c371a1e54f32e5bbb615 (
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
|
# Mantainer: 3ED <krzysztof1987 at gmail dot com>
#
pkgname=perl-parallel-pipes
_lastauthor=S/SK/SKAJI
_pkgname=Parallel-Pipes
pkgver=0.102
pkgrel=1
pkgdesc='parallel processing using pipe(2) for communication and synchronization'
arch=('any')
license=('PerlArtistic' 'GPL')
depends=(perl)
url="http://search.cpan.org/dist/${_pkgname}/"
source=(http://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
sha256sums=('26365f8105dc606b140bd1d45f8d70d5c3054390f75e4fdb7484a3e591cbfa97')
build() {
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build.PL
perl Build
}
check() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build test
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build install
}
|