diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 05:30:43 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 05:30:43 -0500 |
commit | 0aff6ccf8d037785b1cc294c53afe7a3b3b9ef53 (patch) | |
tree | 47b7e4a94704d51e1037c904a433aff31faf1cf1 /pcr/legit-git/PKGBUILD | |
parent | 3eb9dfc25574c4242270709252bfac78a0ba12c0 (diff) | |
download | abslibre-0aff6ccf8d037785b1cc294c53afe7a3b3b9ef53.tar.gz abslibre-0aff6ccf8d037785b1cc294c53afe7a3b3b9ef53.tar.bz2 abslibre-0aff6ccf8d037785b1cc294c53afe7a3b3b9ef53.zip |
legit-git-0.r262.ab2adb4-1: updating version
Diffstat (limited to 'pcr/legit-git/PKGBUILD')
-rw-r--r-- | pcr/legit-git/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/legit-git/PKGBUILD b/pcr/legit-git/PKGBUILD new file mode 100644 index 000000000..eda422ccc --- /dev/null +++ b/pcr/legit-git/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor (Arch) : Jan-Erik Rediger <badboy at archlinux dot us> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +pkgname=legit-git +pkgver=0.r262.ab2adb4 +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') +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: |