summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3073c5a2dbcfe3848dcbb9ce9613ba2fc8dcce9 (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
# Contributor: Timo Schmiade <the_isz@gmx.de>
pkgname=gitstats-git
pkgver=293.e35fea2
pkgrel=1
pkgdesc="A statistics generator for git repositories."
arch=("any")
url="http://gitstats.sourceforge.net"
license=('GPL3')
depends=('git' 'python2' 'gnuplot')
source=("git+https://github.com/hoxu/gitstats.git")
md5sums=("SKIP")

pkgver() {
  cd gitstats
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
  cd gitstats

  make install PREFIX="$pkgdir/usr"
} 

# vim:set ts=2 sw=2 et: