1 # Maintainer: koral <koral at mailoo dot org>
5 pkgdesc="Automatically align as you type (autoalign): bib c c++ html maple matlab tex vim."
7 url="http://www.vim.org/scripts/script.php?script_id=884"
11 depends=('vim' 'vim-align')
17 install=vimdoc.install
19 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
20 md5sums=('30cb59a0b2ce7756fedc1ef6d09b7ac5')
25 mkdir -p ${srcdir}/plugin
26 mkdir -p ${srcdir}/ftplugin/bib
27 mkdir -p ${srcdir}/ftplugin/c
28 mkdir -p ${srcdir}/ftplugin/cpp
29 mkdir -p ${srcdir}/ftplugin/html
30 mkdir -p ${srcdir}/ftplugin/maple
31 mkdir -p ${srcdir}/ftplugin/matlab
32 mkdir -p ${srcdir}/ftplugin/tex
33 mkdir -p ${srcdir}/ftplugin/vim
34 mkdir -p ${srcdir}/doc
36 vim -c "UseVimball ${srcdir}" -c "q" ${pkgname}.vba.gz
38 install -Dm644 ${srcdir}/plugin/cecutil.vim ${pkgdir}/usr/share/vim/vimfiles/plugin/cecutil.vim
39 install -Dm644 ${srcdir}/plugin/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/plugin/AutoAlign.vim
40 install -Dm644 ${srcdir}/ftplugin/bib/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/bib/AutoAlign.vim
41 install -Dm644 ${srcdir}/ftplugin/c/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/c/AutoAlign.vim
42 install -Dm644 ${srcdir}/ftplugin/cpp/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/cpp/AutoAlign.vim
43 install -Dm644 ${srcdir}/ftplugin/html/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/html/AutoAlign.vim
44 install -Dm644 ${srcdir}/ftplugin/maple/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/maple/AutoAlign.vim
45 install -Dm644 ${srcdir}/ftplugin/matlab/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/matlab/AutoAlign.vim
46 install -Dm644 ${srcdir}/ftplugin/tex/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/tex/AutoAlign.vim
47 install -Dm644 ${srcdir}/ftplugin/vim/AutoAlign.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/vim/AutoAlign.vim
48 install -Dm644 ${srcdir}/doc/AutoAlign.txt ${pkgdir}/usr/share/vim/vimfiles/doc/AutoAlign.txt