2017-08-16 11:23:04 +02:00
|
|
|
# Description: High productivity build system.
|
2020-06-19 00:55:09 +02:00
|
|
|
# URL: https://mesonbuild.com/
|
2017-08-16 11:23:04 +02:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-11-02 12:25:29 +01:00
|
|
|
# Depends on: python3-setuptools
|
2017-08-16 11:23:04 +02:00
|
|
|
|
|
|
|
name=meson
|
2021-08-22 16:04:39 +02:00
|
|
|
version=0.59.1
|
2017-08-16 11:23:04 +02: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 13:52:52 +01: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 13:07:00 +01: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 11:23:04 +02:00
|
|
|
}
|