2021-12-11 19:30:31 +01:00
|
|
|
# Description: High productivity build system.
|
|
|
|
# URL: https://mesonbuild.com/
|
2021-12-13 12:05:45 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2021-12-11 19:30:31 +01:00
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=meson
|
2023-08-09 10:32:18 +02:00
|
|
|
version=1.2.1
|
2023-05-26 10:19:49 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/mesonbuild/meson/releases/download/$version/$name-$version.tar.gz)
|
2021-12-11 19:30:31 +01:00
|
|
|
|
|
|
|
build() {
|
2023-08-21 22:16:34 +02:00
|
|
|
cd $name-$version
|
2021-12-11 19:30:31 +01:00
|
|
|
|
2023-05-01 22:11:53 +02:00
|
|
|
|
2023-08-21 22:16:34 +02:00
|
|
|
/usr/bin/python3 setup.py build
|
2021-12-11 19:30:31 +01:00
|
|
|
|
2023-08-21 22:16:34 +02:00
|
|
|
/usr/bin/python3 setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1 --skip-build
|
2021-12-11 19:30:31 +01:00
|
|
|
|
2023-08-21 22:16:34 +02:00
|
|
|
prt-get isinst bash-completion && install -m 0644 -Dt $PKG/usr/share/bash-completion/completions data/shell-completions/bash/*
|
|
|
|
prt-get isinst zsh && install -m 0644 -Dt $PKG/usr/share/zsh/site-functions data/shell-completions/zsh/*
|
2022-02-16 21:25:39 +01:00
|
|
|
|
2023-08-21 22:16:34 +02:00
|
|
|
install -d $PKG/usr/share/vim/vimfiles
|
|
|
|
cp -rt $PKG/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
|
2021-12-11 19:30:31 +01:00
|
|
|
}
|