aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 01:13:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:16:49 -0300
commitbc6b9546e044b245f6b1e3652d47f184d9df7925 (patch)
tree2eeb0ab2fc10bc284b5dcd2c8de2c8f408154a69
parent55a9fdb293a2f21a59b7ec18f1ef0dd04a4cd116 (diff)
downloadaports-bc6b9546e044b245f6b1e3652d47f184d9df7925.tar.bz2
aports-bc6b9546e044b245f6b1e3652d47f184d9df7925.tar.xz
testing/perl-mce: upgrade to 1.844
-rw-r--r--testing/perl-mce/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/testing/perl-mce/APKBUILD b/testing/perl-mce/APKBUILD
index a8a3fa3f74..4a0d5a38d5 100644
--- a/testing/perl-mce/APKBUILD
+++ b/testing/perl-mce/APKBUILD
@@ -3,46 +3,38 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-mce
_pkgreal=MCE
-pkgver=1.833
+pkgver=1.844
pkgrel=0
pkgdesc="Many-Core Engine for Perl providing parallel processing capabilities"
-url="http://search.cpan.org/dist/MCE/"
+url="https://metacpan.org/release/MCE"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/M/MA/MARIOROY/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/M/MA/MARIOROY/MCE-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
-sha512sums="3d77b7f3cd501b68685e3478fc95685edcbe03cddff8abc403a076f1a245aff7a301316d9b90c9c7fc547d26b8f13bd919c7e7c4dec7e2f5520259d91f7c453e MCE-1.833.tar.gz"
+sha512sums="91e130a1f33bdde5ec333b880275d155266fa1c7583ca3c0b491f79273d4475fec4cf4c94c4a4460a6d64ee64f7416c2ff2f076206349ec554f91a0877e56d9f MCE-1.844.tar.gz"