aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/perl-module-runtime-conflicts/APKBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/testing/perl-module-runtime-conflicts/APKBUILD b/testing/perl-module-runtime-conflicts/APKBUILD
index ce85dc1e23..862a24fa7b 100644
--- a/testing/perl-module-runtime-conflicts/APKBUILD
+++ b/testing/perl-module-runtime-conflicts/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-module-runtime-conflicts
_pkgreal=Module-Runtime-Conflicts
-pkgver=0.001
+pkgver=0.003
pkgrel=0
pkgdesc="Provide information on conflicts for Module::Runtime"
url="http://search.cpan.org/dist/Module-Runtime-Conflicts/"
@@ -16,26 +16,24 @@ makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- perl Build.PL installdirs=vendor || return 1
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- ./Build && ./Build test
+ cd "$builddir"
+ make
}
package() {
- cd "$_builddir"
- ./Build install destdir="$pkgdir" || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="310e525981ac1338f247626b8ce53dff Module-Runtime-Conflicts-0.001.tar.gz"
-sha256sums="0f73d03846575dd1492d3760deeb9627afaa1f8b04d4d526b1775174201be25f Module-Runtime-Conflicts-0.001.tar.gz"
-sha512sums="67d39313027a9099b11726caa9c0f09fc157757493b06019b3004464a25c6c1a2f21f16f32860172556ce8f6bea891c5ac18f6c00250a45a380662504699b3e9 Module-Runtime-Conflicts-0.001.tar.gz"
+md5sums="67aaf699072063cc00c5b6afd4c67a6f Module-Runtime-Conflicts-0.003.tar.gz"
+sha256sums="707cdc75038c70fe91779b888ac050f128565d3967ba96680e1b1c7cc9733875 Module-Runtime-Conflicts-0.003.tar.gz"
+sha512sums="1b72ea7cc9516721290d5ea433169697b4134b5fc77872d6822e4c395a154bf956d469ab5da2802d587d60dfb13b9784014fe492988cf3f8b5820da2d63e8ca1 Module-Runtime-Conflicts-0.003.tar.gz"