summaryrefslogtreecommitdiff
path: root/repo/devel/ninja.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/ninja.xibuild')
-rw-r--r--repo/devel/ninja.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/devel/ninja.xibuild b/repo/devel/ninja.xibuild
new file mode 100644
index 0000000..cfd705f
--- /dev/null
+++ b/repo/devel/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
+}