aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-21 00:34:08 -0500
committerTimo Teräs <timo.teras@iki.fi>2017-08-28 08:40:52 +0000
commit786147fe44bb851758b9b16261a12d1010f65ba3 (patch)
tree92a41bd5a31c8c0d4445c6c5a34b67200b0758ef /main
parent1405e784aa3a7eb9c030a76f38300506e800221b (diff)
downloadaports-786147fe44bb851758b9b16261a12d1010f65ba3.tar.bz2
aports-786147fe44bb851758b9b16261a12d1010f65ba3.tar.xz
main/atf: add test suite, modernise
Diffstat (limited to 'main')
-rw-r--r--main/atf/APKBUILD14
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"