summaryrefslogtreecommitdiff
path: root/user/ninja/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ninja/APKBUILD')
-rw-r--r--user/ninja/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/ninja/APKBUILD b/user/ninja/APKBUILD
index e0638a176..2b82aef51 100644
--- a/user/ninja/APKBUILD
+++ b/user/ninja/APKBUILD
@@ -7,6 +7,7 @@ pkgdesc="Small build system with a focus on speed"
url="https://ninja-build.org/"
arch="all"
license="Apache-2.0"
+depends=""
makedepends="asciidoctor gtest python3 re2c"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/martine/ninja/archive/v$pkgver.tar.gz
@@ -14,20 +15,16 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/martine/ninja/archive/v$pkgv
"
build() {
- cd "$builddir"
python3 ./configure.py --bootstrap
asciidoctor doc/manual.asciidoc
}
check() {
- cd "$builddir"
-
./ninja ninja_test
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
}
package() {
- cd "$builddir"
install -m755 -D ninja "$pkgdir/usr/bin/ninja"
install -m644 -D doc/manual.asciidoc \
"$pkgdir/usr/share/doc/ninja/manual.asciidoc"