1 # Maintainer: Tianjiao Yin <ytj000@gmail.com>
6 pkgdesc="GDB (Gnu Debugger) Manager for Vim"
8 url="http://drchip.0sites.net/astronaut/vim/index.html"
10 groups=('vim-plugins')
12 install=vimdoc.install
13 source=("http://drchip.0sites.net/astronaut/vim/tarfiles/gdbmgr.tar.gz"
18 rm $srcdir/gdbmgr.tar.gz
20 # There may be a bug on current version.
21 # By following the EXAMPLE 1 in gdbmgr-tutorial,
22 # you probably would get blank in source window.
23 # It seems that the author used a specific vimrc,
24 # He must add '.' to PATH and set autochdir.
25 # So the current edit file is always in the PATH.
26 # I have a unofficial patch to fix this issue.
27 # However, If the author updates some files,
28 # This patch may not works correctly.
29 patch -p1 < gdbmgr.diff
37 install -Dm644 $srcdir/gdbmgr/src/gdbmgr.so $pkgdir/usr/lib/gdbmgr.so
38 cd $srcdir/gdbmgr/src/
41 # In the previous version, package will conflict with vim-align.
42 # (IT IS NOT MY FAAAAAUUUUUULT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
43 # So just put everything in after-directory to avoid this issue.
44 _vimdir=$pkgdir/usr/share/vim/vimfiles/
45 mkdir -p $_vimdir/{after,doc}
47 mv $srcdir/doc/* $_vimdir/doc
49 mv $srcdir/* $_vimdir/after
51 md5sums=('25221708ec10d97c0b0fa16145c4bb5f'
52 '74068b491216c9eb81e6544144663d88')