Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

PKGBUILD for vim-erlang_detectvariables-1.1-2

By: a guest on May 10th, 2010  |  syntax: Bash  |  size: 0.90 KB  |  hits: 112  |  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: Laszlo Papp <djszapi @ gmail at com>
  2. # Contributors: Kamil Sliwak <cameel/at/gmail/com>
  3. pkgname=vim-erlang_detectvariables
  4. pkgver=1.1
  5. _scriptid=10665
  6. pkgrel=2
  7. pkgdesc="detect Erlang variables"
  8. arch=(i686 x86_64)
  9. url="http://www.vim.org/scripts/script.php?script_id=2644"
  10. license=('custom')
  11. depends=(vim)
  12. makedepends=(vim hd2u)
  13. groups=('vim-plugins')
  14. install=vimdoc.install
  15. source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
  16.         license.txt)
  17. md5sums=('ccdaa4860b1176de991bc61fb29da05b'
  18.          'efbd5986e691ce8c876fb86e8f5961ea')
  19.  
  20. build() {
  21.     AFTERSYNTAX_PATH=usr/share/vim/vimfiles/after/syntax
  22.     install -Dm755 ${srcdir}/erlang.vim ${pkgdir}/${AFTERSYNTAX_PATH}/erlang.vim || return 1
  23.     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
  24.  
  25.     dos2unix ${pkgdir}/${AFTERSYNTAX_PATH}/erlang.vim
  26. }