diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-11-09 01:44:24 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-11-09 01:44:24 -0500 |
commit | a42894ec15a01c211768efe4503026c39d23745e (patch) | |
tree | 34a834b72ad4e989057aa7fa064ef800a732b995 /pcr/legit | |
parent | 5a5f34a7b5179fb7d7c8eb4b4f7af09214e1b8a0 (diff) | |
download | abslibre-a42894ec15a01c211768efe4503026c39d23745e.tar.gz abslibre-a42894ec15a01c211768efe4503026c39d23745e.tar.bz2 abslibre-a42894ec15a01c211768efe4503026c39d23745e.zip |
[legit-git]: replace with v1.1.0
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 +} |