summaryrefslogtreecommitdiff
path: root/gitpython/PKGBUILD
blob: 1caf6141dca3df1107b89ac1f20cc711b6e0a50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor: Jon Bergli Heier <snakebite@jvnv.net>
pkgname=gitpython
pkgver=0.3.1
pkgrel=1
pkgdesc="A python library used to interact with Git repositories"
arch=('any')
url="http://gitorious.org/git-python"
license=('BSD')
depends=('python2' 'git' 'python-gitdb')
conflicts=('gitpython-git')
source=("http://pypi.python.org/packages/source/G/GitPython/GitPython-${pkgver}.tar.gz")
md5sums=('98f9a4e33574065660b7257fa93d707d')

build() {
  cd "$srcdir/GitPython-$pkgver"
  python2 setup.py install --root="$pkgdir/" --optimize=1 || return 1
  install -D -m 644 LICENSE "$pkgdir"/usr/share/licenses/gitpython/LICENSE
}
# vim:set ts=2 sw=2 et: