diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-03-31 10:22:04 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-03-31 10:23:57 +0000 |
commit | 27e4e31d7e67d3e67320a839487ce2927d23513b (patch) | |
tree | bd2d02b1a61f536f1b26226a0c0ce2a118aedf27 /main/perl-module-build | |
parent | 6a15dd0d0ba9cc354a621fb359ca5e315ff2eabd (diff) | |
download | aports-27e4e31d7e67d3e67320a839487ce2927d23513b.tar.bz2 aports-27e4e31d7e67d3e67320a839487ce2927d23513b.tar.xz |
main/perl-module-build: upgrade to 0.4222
Diffstat (limited to 'main/perl-module-build')
-rw-r--r-- | main/perl-module-build/APKBUILD | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/main/perl-module-build/APKBUILD b/main/perl-module-build/APKBUILD index 8f1d5240e4..228469dc68 100644 --- a/main/perl-module-build/APKBUILD +++ b/main/perl-module-build/APKBUILD @@ -3,39 +3,42 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-module-build _pkgreal=Module-Build -pkgver=0.4218 +pkgver=0.4222 pkgrel=0 pkgdesc="Build and install Perl modules" url="http://search.cpan.org/dist/Module-Build/" arch="noarch" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends=" " +cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" + +check() { + cd "$builddir" + ./Build test +} prepare() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor || return 1 } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test + ./Build } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + cd "$builddir" + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="7e3b17e14b54036c5ac18c27f7955e79 Module-Build-0.4218.tar.gz" -sha256sums="1ef0aa529a3f296f894a5e79240a77d71be60dd595e8cad3a0d04c7ea187c0d0 Module-Build-0.4218.tar.gz" -sha512sums="d752226dbc89b1ae65d3dea4f4356cd355288ab73eebc34bd09efa3d4ad5f78d284a705525d8bbc8785babf6cdc934953333254a8cc7c67cbd943f88ffaab301 Module-Build-0.4218.tar.gz" +sha512sums="348c8495df5e665a7dc61c37c9c612ec20f7dbeb6d6692e40c57e44cd5f2a4c0ba538ed24f8d88d8a83fe85b3039dd874d9f6681d31b985429b27123def374c6 Module-Build-0.4222.tar.gz" |