summaryrefslogtreecommitdiff
path: root/repo/extra/meson.xibuild
blob: c8f7ddebc1427aec11fa0a625705fb132acf15a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}