1 # Contributer: N30N <archlinux@alunamation.com>
7 pkgdesc="Extensible keyword swapper (turn yes to no, True to False and more)"
8 url="http://www.vim.org/scripts/script.php?script_id=2294"
12 optdepends=("vim-matchit: for xml/html tag complete option")
13 install=vimdoc.install
14 source=("http://www.vim.org/scripts/download_script.php?src_id=${_srcid}")
15 md5sums=("37a078301986dc0120e8ee541a808dae")
19 mv download_script.php?src_id=${_srcid} swapit.${pkgver}.tar.gz
20 tar -xzf swapit.${pkgver}.tar.gz
22 _installpath="${pkgdir}/usr/share/vim/vimfiles"
24 install -D -m644 doc/swapit.txt ${_installpath}/doc/swapit.txt
25 install -D -m644 plugin/swapit.vim ${_installpath}/plugin/swapit.vim
27 for file in $(ls after/ftplugin/); do
28 install -D -m644 after/ftplugin/${file} ${_installpath}/after/ftplugin/${file}
32 # vim: set noet ff=unix