1 # Maintainer: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
6 pkgdesc="A vim plugin for opening files with a minimal number of keystrokes"
8 url="http://wincent.com/products/command-t"
10 depends=('vim' 'ruby')
11 groups=('vim-plugins')
12 source=("http://s3.wincent.com/command-t/releases/command-t-$pkgver.vba"
14 md5sums=('555d3c8e17ccdd399be0e802d4db1266'
15 '1645c14893dc0c8954eba7c312dd2073')
19 vim -c "UseVimball ." -c "q" "command-t-$pkgver.vba"
24 install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin} || return 1
25 install -d ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/{vim,finder,scanner} || return 1
26 install -m644 doc/*.txt ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
27 install -m644 plugin/*.vim ${pkgdir}/usr/share/vim/vimfiles/plugin/ || return 1
28 install -m644 ruby/command-t/*.{rb,so} ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t || return 1
29 install -m644 ruby/command-t/vim/*.rb ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/vim || return 1
30 install -m644 ruby/command-t/finder/*.rb ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/finder || return 1
31 install -m644 ruby/command-t/scanner/*.rb ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/scanner || return 1
32 install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE