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