blob: 3beca246fc5ea840839ddfb10b9031cd9d5a1c6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Moritz Lipp <mlq@pwmt.org>
pkgname=gitinspector-git
pkgver=v0.4.2.78.ge543eea
pkgrel=1
pkgdesc="The statistical analysis tool for git repositories."
arch=('any')
url="http://code.google.com/p/gitinspector/"
license=('GPL')
depends=('python2')
conflicts=('gitinspector')
makedepends=('git')
options=(!emptydirs)
source=('gitinspector::git+https://github.com/ejwa/gitinspector')
md5sums=('SKIP')
_gitname=gitinspector
package() {
cd "$_gitname"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
pkgver() {
cd "$_gitname"
local ver="$(git describe --long --tags)"
printf "%s" "${ver//-/.}"
}
# vim:set ts=2 sw=2 et:
|