aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-parallel-forkmanager
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-parallel-forkmanager')
-rw-r--r--testing/perl-parallel-forkmanager/APKBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/testing/perl-parallel-forkmanager/APKBUILD b/testing/perl-parallel-forkmanager/APKBUILD
index 0537ab84be..84dde245c1 100644
--- a/testing/perl-parallel-forkmanager/APKBUILD
+++ b/testing/perl-parallel-forkmanager/APKBUILD
@@ -3,35 +3,39 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-parallel-forkmanager
_pkgreal=Parallel-ForkManager
-pkgver=0.7.9
+pkgver=1.19
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Parallel-ForkManager/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
-cpanmakedepends=""
+cpanmakedepends="perl-test-warn"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+source="http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
- make && make test
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="b49dbc6fafb697945d33ffbded0009f7 Parallel-ForkManager-0.7.9.tar.gz"
+sha512sums="fdd076de153a09e1e8fb681cadc6c36a05f4c8a6718df61937eb5d26729108a6f2f322a7fb9d4bf6166bbfe52cb857e3ea6cab8368c7b5959500018cc01747c6 Parallel-ForkManager-1.19.tar.gz"