aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-21 03:19:13 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-21 03:36:54 +0100
commitb99db116fdf67514ee7e6fc4a128c25a90ceffee (patch)
tree1c5cce5635ad8417f8e0c6e8da54cbe84e4624fc
parentad346adb4d0b50da4a7cc67cd1fc01b03360cf37 (diff)
downloadaports-b99db116fdf67514ee7e6fc4a128c25a90ceffee.tar.bz2
aports-b99db116fdf67514ee7e6fc4a128c25a90ceffee.tar.xz
main/perl-exporter: upgrade to 5.74
-rw-r--r--main/perl-exporter/APKBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/main/perl-exporter/APKBUILD b/main/perl-exporter/APKBUILD
index d7e100f712..b523e669c0 100644
--- a/main/perl-exporter/APKBUILD
+++ b/main/perl-exporter/APKBUILD
@@ -2,39 +2,33 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-exporter
_pkgname=Exporter
-pkgver=5.73
+pkgver=5.74
pkgrel=0
pkgdesc="Implements default import method for modules"
-url="http://search.cpan.org/dist/Exporter/"
+url="https://metacpan.org/release/Exporter"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+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/T/TO/TODDR/$_pkgname-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/T/TO/TODDR/Exporter-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ 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}')
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
@@ -44,4 +38,4 @@ doc() {
replaces="perl-doc"
}
-sha512sums="da2cc1d7670f4407210b94e53bbbe632c43a4c95267e5c8bdcc7976d85e2e90e9da948d2e063d3137ab9924959bf615092c68b0606dc9f8906ceadca0bb44aee Exporter-5.73.tar.gz"
+sha512sums="e5233d2851f456a15b3e79069e45edac657898d4ce423ae9942767ce02d873ce1be10f995f0a3b10b66095ac5fe742c21585928d00f63eddb528a6c4a994e6fc Exporter-5.74.tar.gz"