Advertisement
AndreasBWagner

CoVim PKGBUILD

Jul 6th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  1. # Maintainer: Nicolas Cornu <ncornu@aldebaran-robotics.com>
  2.  
  3. pkgname=vim-covim-git
  4. _gitname=covim
  5. pkgver=110.c19b0ed
  6. pkgrel=2
  7. pkgdesc="collaborative editing for vim"
  8. arch=('any')
  9. url="https://github.com/FredKSchott/CoVim"
  10. depends=('gvim' 'ctags' 'twisted')
  11. makedepends=('git')
  12. provides=('covim')
  13. license=('custom')
  14. groups=('vim-plugins')
  15. install=vimdoc.install
  16. source=(${_gitname}::git+https://github.com/FredKSchott/CoVim.git)
  17. sha256sums=('SKIP')
  18.  
  19. pkgver() {
  20.   cd ${_gitname}
  21.   echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
  22. }
  23.  
  24. package() {
  25.   cd ${_gitname}
  26.   installpath="${pkgdir}/usr/share/vim/vimfiles"
  27.   install -dm 755 ${installpath}/{plugin,doc}
  28.   install -m 644 plugin/CoVimClient.vim ${installpath}/plugin
  29.   install -m 755 plugin/CoVimServer.py ${installpath}/plugin
  30.   install -m 644 doc/CoVim.txt ${installpath}/doc
  31.   install -Dm 644 LICENSE ${pkgdir}/usr/share/licenses/${_gitname}/LICENSE
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement