aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nanomsg
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-29 13:21:11 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-29 13:24:51 +0000
commit3a7941646920aad2267ac12ae0e7c3b325418c8b (patch)
tree22abc671d8a4814ede04c3b8fbb2b6a2d10b1a73 /testing/nanomsg
parent5a99e0d1ea0ea876d51d7a4b4059a362f2661c6b (diff)
downloadaports-3a7941646920aad2267ac12ae0e7c3b325418c8b.tar.bz2
aports-3a7941646920aad2267ac12ae0e7c3b325418c8b.tar.xz
testing/nanomsg: add check
Diffstat (limited to 'testing/nanomsg')
-rw-r--r--testing/nanomsg/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/nanomsg/APKBUILD b/testing/nanomsg/APKBUILD
index 5f43eabd45..175c62675f 100644
--- a/testing/nanomsg/APKBUILD
+++ b/testing/nanomsg/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nanomsg
pkgver=1.1.2
-pkgrel=0
+pkgrel=1
pkgdesc="A socket library that provides several common communication patterns"
url="http://nanomsg.org/"
arch="all"
@@ -23,6 +23,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make test
+}
+
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install