2017-08-16 19:23:04 +10:00
|
|
|
# Description: High productivity build system.
|
2020-06-19 08:55:09 +10:00
|
|
|
# URL: https://mesonbuild.com/
|
2017-08-16 19:23:04 +10:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-11-02 22:25:29 +11:00
|
|
|
# Depends on: python3-setuptools
|
2017-08-16 19:23:04 +10:00
|
|
|
|
|
|
|
name=meson
|
2021-01-16 23:07:00 +11:00
|
|
|
version=0.56.2
|
2017-08-16 19:23:04 +10:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/mesonbuild/meson/releases/download/$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py install \
|
2020-11-13 23:52:52 +11:00
|
|
|
--prefix=/usr --root=$PKG --optimize=1 --skip-build
|
|
|
|
|
|
|
|
install -d $PKG/usr/share/vim/vimfiles
|
|
|
|
cp -rt $PKG/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
|
2021-01-16 23:07:00 +11:00
|
|
|
install -m 0644 -Dt $PKG/usr/share/bash-completion/completions data/shell-completions/bash/*
|
|
|
|
install -m 0644 -Dt $PKG/usr/share/zsh/site-functions data/shell-completions/zsh/*
|
2017-08-16 19:23:04 +10:00
|
|
|
}
|