aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-extutils-makemaker
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-02 01:37:24 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-02 01:37:24 +0000
commit1f4df728d19dbd3951d500f7f2c6b0313e8731b2 (patch)
tree3828c4817a002f07de8bc8d0a0f9387614a3f126 /testing/perl-extutils-makemaker
parent7019043405bb295c36e18041135ae25a541263da (diff)
downloadaports-1f4df728d19dbd3951d500f7f2c6b0313e8731b2.tar.bz2
aports-1f4df728d19dbd3951d500f7f2c6b0313e8731b2.tar.xz
testing/perl-extutils-makemaker: upgrade to 7.30 and modernize
Diffstat (limited to 'testing/perl-extutils-makemaker')
-rw-r--r--testing/perl-extutils-makemaker/APKBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/testing/perl-extutils-makemaker/APKBUILD b/testing/perl-extutils-makemaker/APKBUILD
index ee4a04f389..5f57a6abb3 100644
--- a/testing/perl-extutils-makemaker/APKBUILD
+++ b/testing/perl-extutils-makemaker/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-extutils-makemaker
_pkgreal=ExtUtils-MakeMaker
-pkgver=7.24
+pkgver=7.30
pkgrel=0
pkgdesc="Create a module Makefile"
url="http://search.cpan.org/dist/ExtUtils-MakeMaker/"
@@ -16,21 +16,26 @@ makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
}
build() {
- cd "$_builddir"
- make && make test
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
@@ -39,6 +44,4 @@ doc() {
replaces="perl-doc"
}
-md5sums="15c67ba2ea2c9e20a3d976b738adb113 ExtUtils-MakeMaker-7.24.tar.gz"
-sha256sums="416abc97c3bb2cc72bef28852522f2859de53e37bf3d0ae8b292067d78755e69 ExtUtils-MakeMaker-7.24.tar.gz"
-sha512sums="f57f8407aea6101af964f105fb9ddd6567262fa2bad91456573c8fc019cdf1469563945029f5078e20d2f7d1d736a63586e7cde3bb72cb9ae80ad0b8ebe818d5 ExtUtils-MakeMaker-7.24.tar.gz"
+sha512sums="6581335be0891f9032e5d5174599f72014656bb317b9fa49481fec623626af84f330e03b8e29793582e62c668d11ae4988be5fe501de1c1f69cdd559ac9d9448 ExtUtils-MakeMaker-7.30.tar.gz"