Commit 27e4e31d authored by Francesco Colista's avatar Francesco Colista

main/perl-module-build: upgrade to 0.4222

parent 6a15dd0d
......@@ -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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment