meson: link vim files to neovim's runtime dir.
Closes: #25054 [via git-merge-pr]
This commit is contained in:
parent
c522390e85
commit
1a9332c9aa
1 changed files with 8 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'meson'
|
||||
pkgname=meson
|
||||
version=0.55.3
|
||||
revision=1
|
||||
archs=noarch
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-devel python3-setuptools"
|
||||
depends="ninja python3-setuptools"
|
||||
|
@ -28,6 +27,13 @@ post_install() {
|
|||
vmkdir usr/share/vim/vimfiles
|
||||
cp -rt ${DESTDIR}/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
|
||||
|
||||
for dir in ftdetect ftplugin indent syntax; do
|
||||
nvim_runtime_dir="usr/share/nvim/runtime/$dir"
|
||||
vmkdir $nvim_runtime_dir
|
||||
|
||||
ln -sf /usr/share/vim/vimfiles/$dir/meson.vim ${DESTDIR}/$nvim_runtime_dir
|
||||
done
|
||||
|
||||
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