diff options
-rw-r--r-- | main/atf/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/atf/APKBUILD b/main/atf/APKBUILD index 9adaa188f3..2a0651ec72 100644 --- a/main/atf/APKBUILD +++ b/main/atf/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=atf pkgver=0.21 -pkgrel=0 +pkgrel=1 pkgdesc="libraries to write tests in C, C++ and shell" url="https://github.com/jmmv/atf" arch="all" @@ -22,14 +22,18 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } md5sums="becb36c1885b02c5f8316a672b10688a atf-0.21.tar.gz" |