aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-03-22 12:35:36 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-03-22 12:41:30 +0000
commit1b90e00652571f8366e8d6e29a32ce66ab7ac11c (patch)
tree8caa9cb4f558b40dd2e1d63aab1d667c2ab70820
parenta10717bf02539e380ee01a7a0644e19f17ae9d9a (diff)
downloadaports-1b90e00652571f8366e8d6e29a32ce66ab7ac11c.tar.gz
aports-1b90e00652571f8366e8d6e29a32ce66ab7ac11c.tar.bz2
aports-1b90e00652571f8366e8d6e29a32ce66ab7ac11c.tar.xz
main/perl-test-warnings: upgrade to 0.030
-rw-r--r--main/perl-test-warnings/APKBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/main/perl-test-warnings/APKBUILD b/main/perl-test-warnings/APKBUILD
index a4faad8aab..c4ee2c3f9d 100644
--- a/main/perl-test-warnings/APKBUILD
+++ b/main/perl-test-warnings/APKBUILD
@@ -1,28 +1,31 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-warnings
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-Warnings
-pkgver=0.029
+pkgver=0.030
pkgrel=0
pkgdesc="Test for warnings and the lack of them"
-url="https://metacpan.org/release/Test-Warnings"
+url="https://metacpan.org/release/Test-Warnings/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
-makedepends="perl-dev perl-cpan-meta-check"
+makedepends="perl-dev"
+checkdeps="perl-cpan-meta-check"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
+build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
}
-build() {
+check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make test
}
package() {
@@ -30,4 +33,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="52f09725bef04f4c1b4b61eb48243ed89eef2fa5ea2c8d07e3552cbe7998dc773230fabb5157c03a845fb1cddb514bfa6d5fcabd38195ef929484e98c4a55a4b Test-Warnings-0.029.tar.gz"
+sha512sums="bb9fe480263b700d499fb6bff4321711807f63c0c96d1dd9b27fa8ee1d8a629fe23c46f37125a4c569c5bf784ff35fccce5815dfa93af55b2dfdcc99311fb40b Test-Warnings-0.030.tar.gz"