main/slibtool: add check

This commit is contained in:
Natanael Copa 2017-11-16 14:39:59 +00:00
parent 5e1295d040
commit 93d882a66c

View File

@ -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