summaryrefslogtreecommitdiff
path: root/repo/meson/meson.xibuild
blob: a642b071e390dd4b41cc343114ffadb9bc5b7440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

MAKEDEPS="python"
DEPS="python ninja"

PKG_VER=0.59
SOURCE=https://github.com/mesonbuild/meson.git
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
}