testing/ndctl: Adapt to abuild version 3

Currently ndctl does not contain the check() primitive, and it is
using || return 1 all the time.

Adapting this package to the new abuild version 3 era.
This commit is contained in:
Breno Leitao 2017-03-23 00:59:20 +00:00 committed by Timo Teräs
parent d7d376a0f6
commit 73f82bca80

View File

@ -1,7 +1,7 @@
# Maintainer: Breno Leitao <breno.leitao@gmail.com>
pkgname=ndctl
pkgver=57.1
pkgrel=0
pkgrel=1
pkgdesc="Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel"
url="https://github.com/pmem/ndctl"
arch="all"
@ -31,6 +31,11 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install