community/nbd: add check

This commit is contained in:
Roberto Oliveira 2018-04-08 13:32:56 +00:00
parent 1497ed9dbc
commit eb9ee7a833

View File

@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=nbd
pkgver=3.17
pkgrel=0
pkgrel=1
pkgdesc="Tools for network block devices"
url="http://nbd.sourceforge.net"
arch="all"
@ -29,6 +29,11 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install