updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / vim-latexsuite / vim-latexsuite.install
blob184e7fce40a1d37903f59ea68e872f3a49d7a3ee
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 -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         post_install $1
24 # arg 1: the old package version
25 post_remove() {
26         /bin/true
29 op=$1
30 shift
31 $op $*