summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitstats-git/.gitignore1
-rw-r--r--gitstats-git/PKGBUILD25
2 files changed, 26 insertions, 0 deletions
diff --git a/gitstats-git/.gitignore b/gitstats-git/.gitignore
new file mode 100644
index 00000000..a9123589
--- /dev/null
+++ b/gitstats-git/.gitignore
@@ -0,0 +1 @@
+gitstats
diff --git a/gitstats-git/PKGBUILD b/gitstats-git/PKGBUILD
new file mode 100644
index 00000000..2d1bf6f3
--- /dev/null
+++ b/gitstats-git/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Timo Schmiade <the_isz@gmx.de>
+pkgname=gitstats-git
+pkgver=294.55c5c28
+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
+ printf '%s.%s\n' \
+ "$(git rev-list --count master)" \
+ "$(git rev-parse --short master)"
+}
+
+package() {
+ cd gitstats
+
+ make install PREFIX="$pkgdir/usr"
+}