24 lines
739 B
Plaintext
24 lines
739 B
Plaintext
# Description: High productivity build system.
|
|
# URL: https://mesonbuild.com/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: python3-setuptools
|
|
|
|
name=meson
|
|
version=0.61.3
|
|
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 \
|
|
--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/*/
|
|
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/*
|
|
}
|