aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-04-18 13:26:33 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-18 13:26:46 +0000
commitf69d233841553553b7ef44832d96b448cb8202de (patch)
treedcd910323c1452c050cfb6c8e4ac9f5f0291855f /main
parent189fd6373c1d6eee900082d5a726f0ac16c2ea44 (diff)
downloadaports-f69d233841553553b7ef44832d96b448cb8202de.tar.bz2
aports-f69d233841553553b7ef44832d96b448cb8202de.tar.xz
main/perl-time-hires: add check()
Diffstat (limited to 'main')
-rw-r--r--main/perl-time-hires/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/perl-time-hires/APKBUILD b/main/perl-time-hires/APKBUILD
index b506fa219d..6d8b03be2f 100644
--- a/main/perl-time-hires/APKBUILD
+++ b/main/perl-time-hires/APKBUILD
@@ -4,7 +4,7 @@
pkgname=perl-time-hires
_pkgreal=Time-HiRes
pkgver=1.9742
-pkgrel=0
+pkgrel=1
pkgdesc="High resolution alarm, sleep, gettimeofday, interval timers"
url="http://search.cpan.org/~jhi/Time-HiRes/"
arch="all"
@@ -37,6 +37,11 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
+check() {
+ cd "$builddir"
+ make test
+}
+
doc() {
default_doc
replaces="perl-doc"