summaryrefslogtreecommitdiff
path: root/repo/meson/meson.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
committerdavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
commitf99268f797c120a24030a573ef22813cd018beb5 (patch)
treeee18857a5eda7bc94286e3924dc2209aea7b92c4 /repo/meson/meson.xibuild
parent95545d88b997a17ff03bb164af33c33e2a12d693 (diff)
Added unrar
Diffstat (limited to 'repo/meson/meson.xibuild')
-rw-r--r--repo/meson/meson.xibuild25
1 files changed, 14 insertions, 11 deletions
diff --git a/repo/meson/meson.xibuild b/repo/meson/meson.xibuild
index b3dfcf4..722b7b8 100644
--- a/repo/meson/meson.xibuild
+++ b/repo/meson/meson.xibuild
@@ -3,7 +3,7 @@
NAME="meson"
DESC="Fast and user friendly build system"
-MAKEDEPS="python-setuptools"
+MAKEDEPS="python-setuptools ninja"
PKG_VER=0.63.2
SOURCE="https://github.com/mesonbuild/meson/releases/download/$PKG_VER/meson-$PKG_VER.tar.gz"
@@ -24,19 +24,22 @@ build() {
python setup.py build
}
-check() {
- MESON_CI_JOBNAME=thirdparty \
- NINJA=samu \
- NINJA_1_9_OR_NEWER=1 \
- python3 run_tests.py
-}
+#check() {
+ #MESON_CI_JOBNAME=thirdparty \
+ #NINJA_1_9_OR_NEWER=1 \
+ #python3 run_tests.py
+#}
package() {
python setup.py install --prefix=/usr --root="$PKG_DEST"
- install -Dm644 data/shell-completions/zsh/* -t "$PKG_DEST"/usr/share/zsh/site-functions
- install -Dm644 data/shell-completions/bash/* -t "$PKG_DEST"/usr/share/bash-completion/completions
+ for f in data/shell-completions/zsh/*; do
+ install -Dm644 $f "$PKG_DEST"/usr/share/zsh/site-functions
+ done
+
+ for f in data/shell-completions/bash/*; do
+ install -Dm644 $f "$PKG_DEST"/usr/share/bash-completion/completions
+ done
- install -Dm0755 "$BUILD_ROOT"/meson --prefix=/usr \
- -t "$PKG_DEST"/usr/bin
+ install -Dm0755 "$BUILD_ROOT"/meson.py "$PKG_DEST"/usr/bin/meson
}