diff options
author | Matthias Devlamynck | 2015-06-12 21:34:00 +0200 |
---|---|---|
committer | Matthias Devlamynck | 2015-06-12 21:34:37 +0200 |
commit | 25fa7564fce25bcd30389c8c7caba1944ac87715 (patch) | |
tree | a66b50d1a4c14a66117f13375826b27e315d01cb /vimdoc.install | |
download | aur-vim-gdbmgr.tar.gz |
Initial Commit, import package
Diffstat (limited to 'vimdoc.install')
-rwxr-xr-x | vimdoc.install | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/vimdoc.install b/vimdoc.install new file mode 100755 index 000000000000..3b69deb088e4 --- /dev/null +++ b/vimdoc.install @@ -0,0 +1,32 @@ +update_doc() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +post_install() { + update_doc + +/bin/cat << EOF +===> +===> Shared library has already been put in /usr/lib +===> There is no need to change LD_LIBRARY_PATH. +===> run cmd: [vim -c "tab h gdbmgr.txt | tabn | q"] +===> for more information +===> +===> +===> WARNING: This vim plugin has not been released yet, +===> It is not stable enough. Use at your own RISK! +===> +EOF + +} + +post_upgrade() { + update_doc +} + +post_remove() { + update_doc +} |