aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-11-16 14:39:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-16 14:39:59 +0000
commit93d882a66c482eb674dc016b095c73f40cc3e1be (patch)
tree3fb551bfc30168bbfd51856177938b1733c8a328 /main
parent5e1295d040076f0853941a5562d273bf9b8c0837 (diff)
downloadaports-93d882a66c482eb674dc016b095c73f40cc3e1be.tar.bz2
aports-93d882a66c482eb674dc016b095c73f40cc3e1be.tar.xz
main/slibtool: add check
Diffstat (limited to 'main')
-rw-r--r--main/slibtool/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/slibtool/APKBUILD b/main/slibtool/APKBUILD
index 5c42cb6ce2..c6e051f3c4 100644
--- a/main/slibtool/APKBUILD
+++ b/main/slibtool/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=slibtool
pkgver=0.5.17
-pkgrel=0
+pkgrel=1
pkgdesc="a surrogate libtool implementation, written in C"
url=" http://git.midipix.org/cgit.cgi/slibtool"
arch="all"
@@ -25,6 +25,11 @@ build() {
make || return 1
}
+check() {
+ cd "$builddir"
+ ./bin/slibtool --version
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1