aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 00:53:54 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:04:10 -0300
commitaa1e67d958632e694b8e93b6c3bcb01a76956548 (patch)
tree7b75f8f43dd46c234db4a6843b84cadae756e9ad
parentbcc33ced4659e72daf17cddcfc09e4ed82094989 (diff)
downloadaports-aa1e67d958632e694b8e93b6c3bcb01a76956548.tar.bz2
aports-aa1e67d958632e694b8e93b6c3bcb01a76956548.tar.xz
testing/perl-test-trap: upgrade to 0.3.4
-rw-r--r--testing/perl-test-trap/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/testing/perl-test-trap/APKBUILD b/testing/perl-test-trap/APKBUILD
index ce94291ad1..958453a834 100644
--- a/testing/perl-test-trap/APKBUILD
+++ b/testing/perl-test-trap/APKBUILD
@@ -3,45 +3,37 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-test-trap
_pkgreal=Test-Trap
-pkgver=v0.3.3
+pkgver=0.3.4
pkgrel=0
pkgdesc="Trap exit codes, exceptions, output, etc."
-url="http://search.cpan.org/dist/Test-Trap/"
+url="https://metacpan.org/release/Test-Trap"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-data-dump"
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev perl-module-build $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-data-dump"
+makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/E/EB/EBHANSSEN/$_pkgreal-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgreal-$pkgver"
+source="https://cpan.metacpan.org/authors/id/E/EB/EBHANSSEN/Test-Trap-v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-v$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
./Build test
}
-sha512sums="3a79bb0e201f2c740ea87baffda29141fc41e29b310bc9291da0e1cac0cf7f62a8c5cc70b94b68542cac7d6844d76c7fc1d3bbb91d86f8ba26a489d39883dd1e Test-Trap-v0.3.3.tar.gz"
+sha512sums="cac4412a55511c820a1813a277afa802769a64219bf306190d83fea775c53bcd1d7faa275cb7f1b435e5ae274b6c1f78dd862525a6426040e51fdaf537e720ff Test-Trap-v0.3.4.tar.gz"