aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-tcp/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-21 12:14:32 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-06-22 07:17:17 +0000
commitaa99d10063855fb1c31557d40cdc537b4f5dfebf (patch)
tree00fa8f40b60880bd09325f1cdf88f07db7177306 /main/perl-test-tcp/APKBUILD
parent33e083b00cc1912a68df2220b462769d46aa270a (diff)
downloadaports-aa99d10063855fb1c31557d40cdc537b4f5dfebf.tar.bz2
aports-aa99d10063855fb1c31557d40cdc537b4f5dfebf.tar.xz
main/perl-test-tcp: add check
Diffstat (limited to 'main/perl-test-tcp/APKBUILD')
-rw-r--r--main/perl-test-tcp/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/perl-test-tcp/APKBUILD b/main/perl-test-tcp/APKBUILD
index 5155c95b56..b4db4daf0a 100644
--- a/main/perl-test-tcp/APKBUILD
+++ b/main/perl-test-tcp/APKBUILD
@@ -3,7 +3,7 @@
pkgname=perl-test-tcp
_pkgreal=Test-TCP
pkgver=2.19
-pkgrel=0
+pkgrel=1
pkgdesc="Testing TCP program"
url="http://search.cpan.org/dist/Test-TCP/"
arch="noarch"
@@ -23,6 +23,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make test
+}
+
package() {
cd "$builddir"
make install DESTDIR=$pkgdir