This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

vim-command-t PKGBUILD

By: a guest on Jul 14th, 2011  |  syntax: Bash  |  size: 1.48 KB  |  views: 106  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
  2.  
  3. pkgname=vim-command-t
  4. pkgver=1.2.1
  5. pkgrel=1
  6. pkgdesc="A vim plugin for opening files with a minimal number of keystrokes"
  7. arch=(any)
  8. url="http://wincent.com/products/command-t"
  9. license=('custom')
  10. depends=('vim' 'ruby')
  11. groups=('vim-plugins')
  12. source=("http://s3.wincent.com/command-t/releases/command-t-$pkgver.vba"
  13.         "LICENSE")
  14. md5sums=('33aa735a36012d75fd5cb23c17f37590'
  15.          '1645c14893dc0c8954eba7c312dd2073')
  16.  
  17. build() {
  18.     cd "$srcdir"
  19.     vim -c "UseVimball ." -c "q" "command-t-$pkgver.vba"
  20.     cd "ruby/command-t"
  21.     ruby "extconf.rb"
  22.     make
  23.     cd "$srcdir"
  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
  33. }
clone this paste RAW Paste Data