core/meson/Pkgfile

25 lines
802 B
Plaintext
Raw Normal View History

2021-12-11 19:30:31 +01:00
# Description: High productivity build system.
# URL: https://mesonbuild.com/
# Maintainer: CRUX System Team, core-ports at crux dot nu
2021-12-11 19:30:31 +01:00
# Depends on: python3-setuptools
name=meson
2022-11-23 15:57:58 +01:00
version=0.64.1
2021-12-11 19:30:31 +01: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 \
--prefix=/usr --root=$PKG --optimize=1 --skip-build
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
install -d $PKG/usr/share/vim/vimfiles
2021-12-11 19:30:31 +01:00
cp -rt $PKG/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
}