Skip to content

Commit

Permalink
git subrepo clone ssh+git://aur@aur4.archlinux.org/legit-git.git legi…
Browse files Browse the repository at this point in the history
…t-git

subrepo:
  subdir:   "legit-git"
  merged:   "a909058"
upstream:
  origin:   "ssh+git://aur@aur4.archlinux.org/legit-git.git"
  branch:   "master"
  commit:   "a909058"
git-subrepo:
  version:  "0.3.0"
  origin:   "???"
  commit:   "???"
  • Loading branch information
badboy committed Mar 29, 2016
1 parent 155a181 commit 7ea00f0
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
18 changes: 18 additions & 0 deletions legit-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pkgbase = legit-git
pkgdesc = Sexy Git CLI, Inspired by GitHub for Mac™.
pkgver = 0.r228.473d87d
pkgrel = 1
url = https://github.com/kennethreitz/legit
arch = any
license = BSD
makedepends = git
depends = python2
depends = python2-gitpython
depends = python2-clint
depends = python2-gitdb
depends = python2-args
source = legit-git::git+https://github.com/kennethreitz/legit.git
md5sums = SKIP

pkgname = legit-git

11 changes: 11 additions & 0 deletions legit-git/.gitrepo
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = ssh+git://aur@aur4.archlinux.org/legit-git.git
branch = master
commit = a909058c3465c27bf06d387e6b129ce7ca9d9edd
parent = 155a1814797908626ecc66fe366082866794da49
cmdver = 0.3.0
28 changes: 28 additions & 0 deletions legit-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>

pkgname=legit-git
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=("$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:

0 comments on commit 7ea00f0

Please sign in to comment.