summaryrefslogtreecommitdiff
path: root/repo/devel/meson.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/meson.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/meson.xibuild')
-rw-r--r--repo/devel/meson.xibuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/repo/devel/meson.xibuild b/repo/devel/meson.xibuild
index c8f7dde..55c38ce 100644
--- a/repo/devel/meson.xibuild
+++ b/repo/devel/meson.xibuild
@@ -2,17 +2,19 @@
DEPS=(python ninja)
+PKG_VER=0.59
SOURCE=https://github.com/mesonbuild/meson
-BRANCH=0.59
+BRANCH=$PKG_VER
DESC="High productivity build system"
build () {
python setup.py build
- python setup.py install --root=$PKG_DEST
}
package () {
+ python setup.py install --root=$PKG_DEST
+
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
}