summaryrefslogtreecommitdiff
path: root/repo/extra/ninja.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
commit7ff38024bec68fe70fb6eec0f5cd16188507558f (patch)
treed9f366b28b7d31ddbe3057669474f58962541a68 /repo/extra/ninja.xibuild
parent76a1447eb1599f23165806b4ead10c5294039d05 (diff)
added all lfs packages
Diffstat (limited to 'repo/extra/ninja.xibuild')
-rw-r--r--repo/extra/ninja.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/extra/ninja.xibuild b/repo/extra/ninja.xibuild
new file mode 100644
index 0000000..cfd705f
--- /dev/null
+++ b/repo/extra/ninja.xibuild
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=git://github.com/ninja-build/ninja.git
+BRANCH=release
+DESC="Small build system with a focus on speed"
+
+build () {
+ python configure.py --bootstrap
+ ./ninja ninja_test
+}
+
+package () {
+ install -vm755 ninja $PKG_DEST/usr/bin/
+ install -vDm644 misc/bash-completion $PKG_DEST/usr/share/bash-completion/completions/ninja
+ install -vDm644 misc/zsh-completion $PKG_DEST/usr/share/zsh/site-functions/_ninja
+}