updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / vim-cecutil / PKGBUILD
blob91dcf25e056d92074d32042c90d45d075f9d0a77
1 # Maintainer: Piotr Rogoża <rogoza dot piotr at gmail at com>
3 pkgname=vim-cecutil
4 pkgver=17
5 _scriptid=7618
6 pkgrel=1
7 pkgdesc='save/restore window position, mark position, selected user maps'
8 arch=('any')
9 url="http://www.vim.org/scripts/script.php?script_id=1066"
10 license=('custom:vim')
11 depends=('vim-runtime')
12 groups=('vim-plugins')
13 install='vimdoc.install'
14 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
15         license.txt)
16 build() {
17    cd $srcdir
18    _vimdir='/usr/share/vim/vimfiles'
19    install -d ${pkgdir}${_vimdir}/{doc,plugin}
20    vim -c "UseVimball $srcdir" -c "q" ${pkgname}.vba
21    install -Dm644 ${srcdir}/doc/cecutil.txt ${pkgdir}${_vimdir}/doc/cecutil.txt || return 1
22    install -Dm644 ${srcdir}/plugin/cecutil.vim ${pkgdir}${_vimdir}/plugin/cecutil.vim || return 1
23    install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1
25 md5sums=('7c06938a0636b8ed20ff0e9d52366008'
26          'efbd5986e691ce8c876fb86e8f5961ea')