aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-test-timer/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 00:55:48 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:19:07 -0300
commit8c9e6cf3e356a481ebc006fa8055c01715e4aff3 (patch)
treeab8afe6aadb4d931499c9b4440d756fd79161085 /testing/perl-test-timer/APKBUILD
parentadcd036ff19401ab56d3a823697163176b909ef6 (diff)
downloadaports-8c9e6cf3e356a481ebc006fa8055c01715e4aff3.tar.bz2
aports-8c9e6cf3e356a481ebc006fa8055c01715e4aff3.tar.xz
testing/perl-test-timer: upgrade to 2.10
Diffstat (limited to 'testing/perl-test-timer/APKBUILD')
-rw-r--r--testing/perl-test-timer/APKBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/testing/perl-test-timer/APKBUILD b/testing/perl-test-timer/APKBUILD
index 94b5548928..9c573b08b6 100644
--- a/testing/perl-test-timer/APKBUILD
+++ b/testing/perl-test-timer/APKBUILD
@@ -3,12 +3,12 @@
# Maintainer: Nick Andrew <nick@nick-andrew.net>
pkgname=perl-test-timer
_pkgreal=Test-Timer
-pkgver=2.09
+pkgver=2.10
pkgrel=0
pkgdesc="test module to test/assert response times"
-url="http://search.cpan.org/dist/Test-Timer/"
+url="https://metacpan.org/release/Test-Timer"
arch="noarch"
-license="Artistic-2"
+license="Artistic-2.0"
cpandepends="perl-error"
cpanmakedepends="perl-module-build"
cpancheckdepends="perl-test-fatal perl-test-simple"
@@ -16,33 +16,29 @@ depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/J/JO/JONASBN/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/J/JO/JONASBN/Test-Timer-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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
}
check() {
- cd "$builddir"
./Build test
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="e40696088bf5943347e5f8c78c1829609bd21ffabc34acfc3a050034de7b3d010c58c80c5a1d15b25af915f2d042a2695cacf5dfb5693a0d7db9ee32af4553a7 Test-Timer-2.09.tar.gz"
+sha512sums="317483794d7fdf6149697f3bed1a08f8c10d9fcf34309b77e8ec8edb9c9936e0c0dca4f9a7bb2d94bcb339ed0ebdef3ec448978ddb4538587846c5150e842dfb Test-Timer-2.10.tar.gz"