Advertisement
Guest User

codemod-git PKGBUILD

a guest
Feb 3rd, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. # Maintainer: Wai Hon Law <whhone@gmail.com>
  2. # Contributor: Jon Gjengset <jon@tsp.io>
  3.  
  4. pkgname=codemod-git
  5. pkgver=r5.298d47a
  6. pkgrel=1
  7. epoch=2
  8. pkgdesc="codemod.py is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occassional intervention. Codemod was developed at Facebook and released as open source."
  9. arch=('any')
  10. url="https://github.com/facebook/codemod"
  11. license=('Apache')
  12. depends=('python2')
  13. makedepends=('git')
  14. source=('git+https://github.com/whhone/codemod.git')
  15. md5sums=('SKIP')
  16.  
  17. pkgver() {
  18. cd "$srcdir/codemod"
  19. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  20. }
  21.  
  22. package() {
  23. cd "$srcdir/codemod"
  24. install -Dm 755 src/codemod.py "$pkgdir/usr/bin/codemod.py"
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement