summaryrefslogtreecommitdiff
path: root/pcr/legit
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-06 10:36:00 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-06 10:36:00 +0200
commita93d4a7da5c55af8f8669fdb63194c0680e0f748 (patch)
tree31fcd58bfa62fbffc5c9098f01710acde87837b6 /pcr/legit
parent75b63d58842c1f735ae56d1929ec29677ea776ab (diff)
legit
Diffstat (limited to 'pcr/legit')
-rw-r--r--pcr/legit/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/legit/PKGBUILD b/pcr/legit/PKGBUILD
new file mode 100644
index 000000000..cefb7ffe9
--- /dev/null
+++ b/pcr/legit/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor (Arch) : Jan-Erik Rediger <badboy at archlinux dot us>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=legit
+pkgver=0.r228.473d87d
+pkgrel=1
+pkgdesc="Sexy Git CLI, Inspired by GitHub for Mac™."
+arch=('any')
+url="https://github.com/kennethreitz/legit"
+license=('BSD')
+depends=('python2' 'python2-gitpython' 'python2-clint' 'python2-gitdb' 'python2-args')
+makedepends=('git')
+source=("http://www.hackers-lab.org/files/legit.tar.gz")
+
+#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: