Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Wai Hon Law <whhone@gmail.com>
- # Contributor: Jon Gjengset <jon@tsp.io>
- pkgname=codemod-git
- pkgver=r5.298d47a
- pkgrel=1
- epoch=2
- 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."
- arch=('any')
- url="https://github.com/facebook/codemod"
- license=('Apache')
- depends=('python2')
- makedepends=('git')
- source=('git+https://github.com/whhone/codemod.git')
- md5sums=('SKIP')
- pkgver() {
- cd "$srcdir/codemod"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- }
- package() {
- cd "$srcdir/codemod"
- install -Dm 755 src/codemod.py "$pkgdir/usr/bin/codemod.py"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement