meson: install zsh completion and vim emacs syntax
This commit is contained in:
parent
ded69694d5
commit
ffaca14ab7
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'meson'
|
||||
pkgname=meson
|
||||
version=0.48.0
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=python3-module
|
||||
pycompile_module="mesonbuild"
|
||||
|
@ -23,3 +23,11 @@ do_check() {
|
|||
# 3 tests still fails
|
||||
./run_unittests.py
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vmkdir usr/share/vim/vimfiles
|
||||
cp -rt ${DESTDIR}/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
|
||||
|
||||
vinstall data/syntax-highlighting/emacs/meson.el 644 usr/share/emacs/site-lisp
|
||||
vinstall data/shell-completions/zsh/_meson 644 usr/share/zsh/site-functions
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue