aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-test-warn/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/main/perl-test-warn/APKBUILD b/main/perl-test-warn/APKBUILD
index 704bf70c6d..af4fd3f054 100644
--- a/main/perl-test-warn/APKBUILD
+++ b/main/perl-test-warn/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-test-warn
_pkgreal=Test-Warn
-pkgver=0.32
+pkgver=0.35
pkgrel=0
pkgdesc="Perl extension to test methods for warnings"
url="http://search.cpan.org/dist/Test-Warn/"
@@ -18,7 +18,7 @@ source="http://search.cpan.org/CPAN/authors/id/B/BI/BIGJ/$_pkgreal-$pkgver.tar.g
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
@@ -28,15 +28,18 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="3210a070680ea24437ebfd2be26bbfcd Test-Warn-0.32.tar.gz"
-sha256sums="2fc516e71f9ef453be22a4619d91eb3f78df414a57dfa0fd745d3bff50bf73d2 Test-Warn-0.32.tar.gz"
-sha512sums="a14d6a87cfa19d54a3055b3c94143b95788ed2a30b2813d952255891a84165f0baf8b9cad167c8d5c87870220aaeeedcfe48db73246966be6aea41ad26779e6a Test-Warn-0.32.tar.gz"
+sha512sums="4adec7792dbe7d92fbaacd127e10e14528f231218eb308d1c794a483885ad5ca2fb201c0f709df1ff75e17a0caeb948803a74dc70aaaf6885b16b17ff2295147 Test-Warn-0.35.tar.gz"