summaryrefslogtreecommitdiff
path: root/repo/extra/meson.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/extra/meson.xibuild')
-rw-r--r--repo/extra/meson.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/extra/meson.xibuild b/repo/extra/meson.xibuild
new file mode 100644
index 0000000..c8f7dde
--- /dev/null
+++ b/repo/extra/meson.xibuild
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+DEPS=(python ninja)
+
+SOURCE=https://github.com/mesonbuild/meson
+BRANCH=0.59
+
+DESC="High productivity build system"
+
+build () {
+ python setup.py build
+ python setup.py install --root=$PKG_DEST
+}
+
+package () {
+ install -vDm644 data/shell-completions/bash/meson $PKG_DEST/usr/share/bash-completion/completions/meson
+ install -vDm644 data/shell-completions/zsh/_meson $PKG_DEST/usr/share/zsh/site-functions/_meson
+}