diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-16 18:50:59 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-16 18:50:59 +0000 |
commit | 932855c69181dfd0801fdf6cb7b0b04fd1382305 (patch) | |
tree | bf02a0096177e3259c1e38e65caca802e2746ca1 /testing/perl-parallel-forkmanager | |
parent | 6e517282739be7cc695c0791a285de2c691aedf8 (diff) | |
download | aports-932855c69181dfd0801fdf6cb7b0b04fd1382305.tar.bz2 aports-932855c69181dfd0801fdf6cb7b0b04fd1382305.tar.xz |
testing/perl-parallel-forkmanager: upgrade to 1.19
Diffstat (limited to 'testing/perl-parallel-forkmanager')
-rw-r--r-- | testing/perl-parallel-forkmanager/APKBUILD | 24 |
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" |