summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/legit-git/PKGBUILD34
-rw-r--r--pcr/legit/PKGBUILD37
2 files changed, 37 insertions, 34 deletions
diff --git a/pcr/legit-git/PKGBUILD b/pcr/legit-git/PKGBUILD
deleted file mode 100644
index 62adcfe7d..000000000
--- a/pcr/legit-git/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# Maintainer (AUR) : Jan-Erik Rediger <badboy at archlinux dot us>
-# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
-
-# parabola changes and rationale:
-# - corrected license
-# - renamed depends: python2-git => python2-gitpython
-# - added makedepends: python2-setuptools
-
-pkgname=legit-git
-pkgver=0.r388.33a98ad
-pkgrel=1
-pkgdesc="Sexy Git CLI, Inspired by GitHub for Mac™."
-arch=('any')
-url="https://github.com/kennethreitz/legit"
-license=('BSD3')
-depends=('python2' 'python2-gitpython' 'python2-clint' 'python2-gitdb' 'python2-args')
-makedepends=('git' 'python2-setuptools')
-source=("$pkgname::git+https://github.com/kennethreitz/legit.git")
-md5sums=('SKIP')
-
-pkgver() {
- cd "$srcdir/$pkgname"
- printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-package() {
- cd "$srcdir/$pkgname"
-
- python2 setup.py install --root=$pkgdir
- install -Dm644 LICENSE \
- ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
-
-# vim:set ts=2 sw=2 sts=2 et:
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
+}