summaryrefslogtreecommitdiff
path: root/user/ninja/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-23 22:45:06 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-23 22:45:06 -0600
commit2b532553f95f9b6d93bd2aeec931ed39c74de5a8 (patch)
tree8bf8222536a292887a8b81251c1288e7f31a2833 /user/ninja/APKBUILD
parent222fb21c28d6250196100eb89ff6a076c703fd5c (diff)
downloadpackages-2b532553f95f9b6d93bd2aeec931ed39c74de5a8.tar.gz
packages-2b532553f95f9b6d93bd2aeec931ed39c74de5a8.tar.bz2
packages-2b532553f95f9b6d93bd2aeec931ed39c74de5a8.tar.xz
packages-2b532553f95f9b6d93bd2aeec931ed39c74de5a8.zip
user/*: More syntax fixes
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"