aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2017-12-30 23:20:06 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2018-01-02 16:40:44 +0000
commit83866c90ada28369d39c37d6fd8c8af33df88622 (patch)
tree453691ee22a7f80f679f4954b0e281d25df7d93c /main
parentbe7f3864c92df4f7e9dc23c16cfc2a1873a02957 (diff)
downloadaports-83866c90ada28369d39c37d6fd8c8af33df88622.tar.bz2
aports-83866c90ada28369d39c37d6fd8c8af33df88622.tar.xz
main/fakeroot: add check()
Diffstat (limited to 'main')
-rw-r--r--main/fakeroot/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/fakeroot/APKBUILD b/main/fakeroot/APKBUILD
index b4fcfd5231..eeb40d5ab0 100644
--- a/main/fakeroot/APKBUILD
+++ b/main/fakeroot/APKBUILD
@@ -7,6 +7,8 @@ arch="all"
license='GPL'
url="http://fakeroot.alioth.debian.org/"
depends=
+options="!checkroot"
+checkdepends="bash"
makedepends_build="libtool autoconf automake po4a"
makedepends_host="libcap-dev acl-dev linux-headers"
makedepends="$makedepends_build $makedepends_host"
@@ -29,6 +31,11 @@ prepare() {
done
}
+check() {
+ cd $startdir/src/$pkgname-$pkgver
+ /bin/bash -c 'make check'
+}
+
build() {
cd $startdir/src/$pkgname-$pkgver