aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-27 09:37:50 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-27 09:40:32 +0100
commitec8bed83e80b4543043ad2c985163b094088b750 (patch)
treed5c9e1152a06e09148485599e1d68b0edc556118
parent9674fbdfb166a4cd5524372c6e73171502055a35 (diff)
downloadaports-ec8bed83e80b4543043ad2c985163b094088b750.tar.gz
aports-ec8bed83e80b4543043ad2c985163b094088b750.tar.bz2
aports-ec8bed83e80b4543043ad2c985163b094088b750.tar.xz
main/perl-test-warnings: upgrade to 0.027
-rw-r--r--main/perl-test-warnings/APKBUILD29
1 files changed, 11 insertions, 18 deletions
diff --git a/main/perl-test-warnings/APKBUILD b/main/perl-test-warnings/APKBUILD
index d2ddb88a92..7cd6072dad 100644
--- a/main/perl-test-warnings/APKBUILD
+++ b/main/perl-test-warnings/APKBUILD
@@ -3,39 +3,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-warnings
_pkgreal=Test-Warnings
-pkgver=0.026
+pkgver=0.027
pkgrel=0
pkgdesc="Test for warnings and the lack of them"
-url="http://search.cpan.org/dist/Test-Warnings/"
+url="https://metacpan.org/release/Test-Warnings"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=" perl-cpan-meta-check "
-depends="$cpandepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+cpanmakedepends="perl-cpan-meta-check"
+depends="perl"
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"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && 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="1a379f7eac4c89155d98e652459593a7 Test-Warnings-0.026.tar.gz"
-sha256sums="ae2b68b1b5616704598ce07f5118efe42dc4605834453b7b2be14e26f9cc9a08 Test-Warnings-0.026.tar.gz"
-sha512sums="510e182299173fa01482cde642fe5d84a77ea2f3b1761c7d8bf855caed963f276134357b4d7662bb3fbf09621ac6e11451fe19bf0ba2cf96bc841c280a624cd4 Test-Warnings-0.026.tar.gz"
+sha512sums="d8e5d2bbddd7119e0b5a45cb23451f664936e120ecb8c579ee5cdeada0aa20592d4f8aaeefce99c4e85052520edd75ccf095580a5a02979a33910ccf4ec57da9 Test-Warnings-0.027.tar.gz"