diff options
Diffstat (limited to 'pcr/legit')
-rw-r--r-- | pcr/legit/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/legit/PKGBUILD b/pcr/legit/PKGBUILD new file mode 100644 index 000000000..7e7baea82 --- /dev/null +++ b/pcr/legit/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor (AUR): Jan-Erik Rediger <badboy at archlinux dot us> +# Contributor (AUR): Khorne <khorne at khorne dot me> +# Maintainer (Parabola): Aurélien DESBRIÈRES <aurelien@hackers.camp> + + +pkgname=legit +pkgver=1.1.0 +pkgrel=2 +pkgdesc="Simplified CLI front-end for git, inspired by <bleep>™ for <bleep>™" +arch=('any') +url=https://github.com/kennethreitz/legit +license=('BSD3') + +depends=('python' 'python-args' 'python-click' 'python-clint' 'python-crayons' + 'python-gitdb' 'python-gitpython' 'python-six') +makedepends=('git' 'python-setuptools') +conflicts=('legit-git') +replaces=('legit-git') + +source=(https://github.com/frostming/legit/archive/v${pkgver}.tar.gz) +sha256sums=('01730a890ec6df43446f5eca5128fb824bc2e5a9bc9430c5ed6b5814726ec09f') + + +prepare() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -ni 's/GitPython==2.1.8/GitPython>=2.1.8/' ./reqs.txt +} + +package() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + python setup.py install --root=${pkgdir} + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |