SHARE
TWEET

vim-renamer-git PKGBUILD

a guest Jul 17th, 2016 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Koncz László <konlaasz at gmail dot com>
  2.  
  3. pkgname=vim-renamer-git
  4. pkgdesc='Rename files in the Vim buffer'
  5. pkgver=20160127
  6. pkgrel=1
  7. url='https://github.com/qpkorr/vim-renamer'
  8. install='vimdoc.install'
  9. arch=('any')
  10. license=('unknown')
  11. makedepends=('git')
  12. depends=('vim')
  13. provides=('vim-renamer')
  14. conflicts=('vim-renamer')
  15. source=("$pkgname::git://github.com/qpkorr/vim-renamer.git")
  16. sha256sums=('SKIP')
  17.  
  18. pkgver() {
  19.     cd "$srcdir/$pkgname"
  20.     local _tmpver="$(git log -n 1 --format="%cd" --date=short)"
  21.     echo "${_tmpver//-/}"
  22. }
  23.  
  24. package() {
  25.     cd "$srcdir/$pkgname"
  26.     install -dm755 $pkgdir/usr/share/vim/vimfiles/{autoload,doc,plugin}
  27.     install -Dm644 autoload/renamer.vim $pkgdir/usr/share/vim/vimfiles/autoload/
  28.     install -Dm644 doc/renamer.txt $pkgdir/usr/share/vim/vimfiles/doc/
  29.     install -Dm644 plugin/renamer.vim $pkgdir/usr/share/vim/vimfiles/plugin/
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top