lfs-scripts/scripts/chapter8/8.53-meson.sh
2023-01-12 14:46:02 +05:30

19 lines
422 B
Bash

#!/bin/bash
cd /sources
tar xf meson-0.63.1.tar.gz
cd meson-0.63.1
pip3 wheel -w dist --no-build-isolation --no-deps $PWD
if [ $? -ne 0 ]
then
exit 1
fi
pip3 install --no-index --find-links dist meson
install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson
cd /sources
rm -rf meson-0.63.1