From ffaca14ab7c6992b7b71912b8cd44663e63ee24b Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 9 Oct 2018 07:39:48 -0300 Subject: [PATCH] meson: install zsh completion and vim emacs syntax --- srcpkgs/meson/template | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/srcpkgs/meson/template b/srcpkgs/meson/template index 7b15a756059..43489f4ea81 100644 --- a/srcpkgs/meson/template +++ b/srcpkgs/meson/template @@ -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 +}