updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / vim-latexsuite-git / vim-latexsuite-git.install
blobc3c388fabd32858fa50235997dd4c58dcdfedb3c
1 # arg 1: the new package version
2 post_install() {
3 echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
4 echo '% Set the following lines in your ~/.vimrc or the systemwide /etc/vimrc:'
5 echo '% filetype plugin indent on'
6 echo '% set grepprg=grep\ -nH\ $*'
7 echo '% let g:tex_flavor = "latex"'
8 echo '% '
9 echo '% Also, this installs to /usr/share/vim/vimfiles, which may not be in'
10 echo '% your runtime path (RTP). Be sure to add it too, e.g:'
11 echo '% set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after'
12 echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
14 # rebuild the vim documentation tags
15 vim -e -s -c 'helptags /usr/share/vim/vimfiles/doc/' -c quit
18 # arg 1: the new package version
19 # arg 2: the old package version
20 post_upgrade() {
21 /bin/true
24 # arg 1: the old package version
25 post_remove() {
26 /bin/true
29 op=$1
30 shift
31 $op $*