1 # This PKGBUILD was inspired by cpan4pacman
2 # Contributor: Jozef Riha <jose1711 at gmail dot com>
4 pkgname=perl-proc-parallelloop
5 _cpanname=Proc-ParallelLoop
8 pkgdesc="Parallel looping constructs for Perl programs"
10 url="http://search.cpan.org/~bdarrah/${_cpanname}"
11 license=('GPL' 'PerlArtistic')
13 options=('!emptydirs')
14 source=(http://www.cpan.org/authors/id/B/BD/BDARRAH/${_cpanname}-${pkgver}.tgz)
15 md5sums=('cc60f8a69454d64cc5a0f0b57171b13c')
18 cd $srcdir/${_cpanname}-${pkgver}
19 sed -i '/^auto_install/d' Makefile.PL
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make install DESTDIR=$pkgdir || return 1
23 find $pkgdir -name '.packlist' -delete
24 find $pkgdir -name '*.pod' -delete