aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-10-21 17:40:39 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-10-21 20:50:28 +0000
commit4c3c236c08cfdc06c2dad755360c2fee5c839e49 (patch)
treed21bc78a3a7db4d3d89a7fc3754957868ee68466
parentf64ac9a252145fcb2f716a71c5c614b888d714f9 (diff)
downloadaports-4c3c236c08cfdc06c2dad755360c2fee5c839e49.tar.gz
aports-4c3c236c08cfdc06c2dad755360c2fee5c839e49.tar.bz2
aports-4c3c236c08cfdc06c2dad755360c2fee5c839e49.tar.xz
main/perl-list-moreutils: upgrade to 0.430
-rw-r--r--main/perl-list-moreutils/APKBUILD43
1 files changed, 18 insertions, 25 deletions
diff --git a/main/perl-list-moreutils/APKBUILD b/main/perl-list-moreutils/APKBUILD
index 23ee9845e8..35ed46467b 100644
--- a/main/perl-list-moreutils/APKBUILD
+++ b/main/perl-list-moreutils/APKBUILD
@@ -1,43 +1,36 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-list-moreutils
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=List-MoreUtils
-pkgver=0.428
-pkgrel=1
+pkgver=0.430
+pkgrel=0
pkgdesc="Provide the stuff missing in List::Util"
-url="https://search.cpan.org/dist/List-MoreUtils/"
+url="https://metacpan.org/release/List-MoreUtils/"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-exporter-tiny perl-list-moreutils-xs"
-cpanmakedepends="perl-test-leaktrace"
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="Apache-2.0"
+depends="perl perl-exporter-tiny perl-list-moreutils-xs"
+makedepends="perl-dev perl-config-autoconf"
+checkdepends="perl-test-leaktrace"
subpackages="$pkgname-doc"
-source="https://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-check() {
- cd "$builddir"
- make test
-}
-
-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}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="f7e11f10f1d7bd3b8f9f8bc2fc325e1a9230056f68591da624aed01fb4e4cbac20caeae0c3e2aa3acc8b71febd6d4149284367f051d3c1e608e3a4ca8b62dbd8 List-MoreUtils-0.428.tar.gz"
+sha512sums="bc9ff033c12251a6f0899a96da0ec8fc314ddb8d6cdf18c37fe1fdcfc38a4c95ed6f8e006bb124e77d07241ae6754f429bc2041f7772b4acfce9378a21283469 List-MoreUtils-0.430.tar.gz"