summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-03-07 17:25:30 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-03-07 18:36:28 -0300
commit67ff2f6c6d304597a72a69a2908981e1e79df0bf (patch)
tree580e6ae409b2c3104a7671e78c8570142b0a0df2 /pcr
parent4c7affb892e7c6983ef7fff4f5b1e5847b03f6d9 (diff)
downloadabslibre-67ff2f6c6d304597a72a69a2908981e1e79df0bf.tar.gz
abslibre-67ff2f6c6d304597a72a69a2908981e1e79df0bf.tar.bz2
abslibre-67ff2f6c6d304597a72a69a2908981e1e79df0bf.zip
perl-parallel-forkmanager-1.19-1: available in [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/perl-parallel-forkmanager/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/perl-parallel-forkmanager/PKGBUILD b/pcr/perl-parallel-forkmanager/PKGBUILD
new file mode 100644
index 000000000..aca6163be
--- /dev/null
+++ b/pcr/perl-parallel-forkmanager/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=perl-parallel-forkmanager
+_lastauthor=Y/YA/YANICK
+_pkgname=Parallel-ForkManager
+pkgver=1.19
+pkgrel=1
+pkgdesc="A simple parallel processing fork manager"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-extutils-makemaker')
+checkdepends=('perl-test-warn')
+url="https://metacpan.org/release/${_pkgname}"
+source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
+sha512sums=('fdd076de153a09e1e8fb681cadc6c36a05f4c8a6718df61937eb5d26729108a6f2f322a7fb9d4bf6166bbfe52cb857e3ea6cab8368c7b5959500018cc01747c6')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ 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
+
+ perl Makefile.PL
+ make
+}
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make test
+}
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make install
+}