Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
- pkgname=vim-command-t
- pkgver=1.2.1
- pkgrel=1
- pkgdesc="A vim plugin for opening files with a minimal number of keystrokes"
- arch=(any)
- url="http://wincent.com/products/command-t"
- license=('custom')
- depends=('vim' 'ruby')
- groups=('vim-plugins')
- source=("http://s3.wincent.com/command-t/releases/command-t-$pkgver.vba"
- "LICENSE")
- md5sums=('33aa735a36012d75fd5cb23c17f37590'
- '1645c14893dc0c8954eba7c312dd2073')
- build() {
- cd "$srcdir"
- vim -c "UseVimball ." -c "q" "command-t-$pkgver.vba"
- cd "ruby/command-t"
- ruby "extconf.rb"
- make
- cd "$srcdir"
- install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin} || return 1
- install -d ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/{vim,finder,scanner} || return 1
- install -m644 doc/*.txt ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
- install -m644 plugin/*.vim ${pkgdir}/usr/share/vim/vimfiles/plugin/ || return 1
- install -m644 ruby/command-t/*.{rb,so} ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t || return 1
- install -m644 ruby/command-t/vim/*.rb ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/vim || return 1
- install -m644 ruby/command-t/finder/*.rb ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/finder || return 1
- install -m644 ruby/command-t/scanner/*.rb ${pkgdir}/usr/share/vim/vimfiles/ruby/command-t/scanner || return 1
- install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement