aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-30 03:36:23 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-30 04:10:23 +0100
commitcb20c716f04b180bccc76059e3f5285dafe562ee (patch)
treea4f8bf8fa80a8b6217e5f6f6b5e309833299872e
parentdf5de2b741748696e2aa3a703cf6af529477f2ee (diff)
downloadaports-cb20c716f04b180bccc76059e3f5285dafe562ee.tar.gz
aports-cb20c716f04b180bccc76059e3f5285dafe562ee.tar.bz2
aports-cb20c716f04b180bccc76059e3f5285dafe562ee.tar.xz
main/perl-module-build: upgrade to 0.4231
-rw-r--r--main/perl-module-build/APKBUILD26
1 files changed, 10 insertions, 16 deletions
diff --git a/main/perl-module-build/APKBUILD b/main/perl-module-build/APKBUILD
index 5d32858082..cc18e3eb88 100644
--- a/main/perl-module-build/APKBUILD
+++ b/main/perl-module-build/APKBUILD
@@ -3,42 +3,36 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-module-build
_pkgreal=Module-Build
-pkgver=0.4229
+pkgver=0.4231
pkgrel=0
pkgdesc="Build and install Perl modules"
-url="http://search.cpan.org/dist/Module-Build/"
+url="https://metacpan.org/release/Module-Build"
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/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
- cd "$builddir"
./Build test
}
prepare() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- perl Build.PL installdirs=vendor || return 1
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="51e0d73cecf450062121c3223b1a4c6f8a8c260fc2345d1c1a5e13ddcbd2b7bc2578411ac254420e27720b9e00a8efc9a9daa3159e9cba5338a188734b35c738 Module-Build-0.4229.tar.gz"
+sha512sums="ee1dc18a7df3fe67e7f954d5e1e071aa0a6f5bce6783b768bceb01f071e64ac8be63f410c932c7c16764e5d4f52fc664ce11a12f26f6afc75a26f79883efad70 Module-Build-0.4231.tar.gz"