aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-fatal/APKBUILD
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2020-08-11 14:44:16 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-11 15:01:10 +0000
commit975f17f0239bca1c77335c621aac861fd6c60e8a (patch)
tree2b0c19e721d6823e0a2eae82c41d44fbe40347fd /main/perl-test-fatal/APKBUILD
parentbb1c6f1544f906d39239fce9011572f10c97fbd0 (diff)
downloadaports-975f17f0239bca1c77335c621aac861fd6c60e8a.tar.gz
aports-975f17f0239bca1c77335c621aac861fd6c60e8a.tar.bz2
aports-975f17f0239bca1c77335c621aac861fd6c60e8a.tar.xz
main/perl-test-fatal: upgrade to 0.016
Diffstat (limited to 'main/perl-test-fatal/APKBUILD')
-rw-r--r--main/perl-test-fatal/APKBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/main/perl-test-fatal/APKBUILD b/main/perl-test-fatal/APKBUILD
index 87f4f8a9cc..345dc77537 100644
--- a/main/perl-test-fatal/APKBUILD
+++ b/main/perl-test-fatal/APKBUILD
@@ -3,40 +3,35 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-test-fatal
_pkgreal=Test-Fatal
-pkgver=0.014
-pkgrel=2
+pkgver=0.016
+pkgrel=0
pkgdesc="incredibly simple helpers for testing code with exceptions"
url="https://metacpan.org/release/Test-Fatal/"
arch="noarch"
license="GPL PerlArtistic"
-cpandepends="perl-try-tiny"
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+depends="perl-try-tiny"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$builddir"
+ default_prepare
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="339d9b33231f8c8d93c0f9374a51458d004568a2f3e28471976e954c35d27efd348f68fb56e3cabd11dc47d37e7ce46282eba967c156ba5081811d221c6a7523 Test-Fatal-0.014.tar.gz"
+sha512sums="395d56cfc62fa5888458ec124710b5333f4c7396653e2755a69b08c738ca3d7503e8e413a10c8a55042fba15e90fa5331bb0bf9c59d3677c2ae5e710435120b5 Test-Fatal-0.016.tar.gz"