1 # Contributor: János Illés <ijanos@gmail.com>
5 pkgdesc="Pairs of handy bracket mappings. Latest git version"
7 url="http://www.vim.org/scripts/script.php?script_id=1590"
12 install=vimdoc.install
13 _gitroot='https://github.com/tpope/vim-unimpaired.git'
14 _gitname='vim-unimpaired'
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 cd ${srcdir}/vim-unimpaired
30 installpath="${pkgdir}/usr/share/vim/vimfiles"
32 install -Dm644 doc/unimpaired.txt $installpath/doc/unimpaired.txt
33 install -Dm644 plugin/unimpaired.vim $installpath/plugin/unimpaired.vim
37 # vim:set ts=2 sw=2 et: