aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gitstats/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-25 11:44:54 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-26 06:52:00 +0000
commit640f4e8fd3a2a1150b7a6777677b126579f63f70 (patch)
tree80051e95c51411536c4f78f26b1fb66916d9d610 /testing/gitstats/APKBUILD
parentf621a35db638ea7c5624bbccdb99372709c45888 (diff)
downloadaports-640f4e8fd3a2a1150b7a6777677b126579f63f70.tar.bz2
aports-640f4e8fd3a2a1150b7a6777677b126579f63f70.tar.xz
testing/gitstats: new aport
GitStats is a statistics generator for git (a distributed revision control system) repositories. It examines the repository and produces some interesting statistics from the history of it. Currently HTML is the only output format. http://gitstats.sourceforge.net/
Diffstat (limited to 'testing/gitstats/APKBUILD')
-rw-r--r--testing/gitstats/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/gitstats/APKBUILD b/testing/gitstats/APKBUILD
new file mode 100644
index 0000000000..5acd50a4fc
--- /dev/null
+++ b/testing/gitstats/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=gitstats
+git=ad7efbb9399e60cee6cb217c6b47e604174a8093
+pkgver=0
+pkgrel=0.${git:0:6}
+pkgdesc="Git history statistics generator"
+url="http://gitstats.sourceforge.net/"
+arch="noarch"
+license="GPL2+"
+depends="python gnuplot git"
+depends_dev=""
+makedepends=""
+install=""
+subpackages=""
+source="http://repo.or.cz/w/gitstats.git/snapshot/$git.tar.gz
+ output.patch"
+
+_builddir="$srcdir"/$pkgname
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ install -m755 -D "$_builddir"/$pkgname \
+ "$pkgdir"/usr/sbin/$pkgname || return 1
+
+ for _file in gitstats.css sortable.js *.gif; do
+ install -Dm644 "$_builddir"/$_file \
+ "$pkgdir"/usr/share/$pkgname/$_file || return 1
+ done
+
+}
+
+md5sums="a5ae0f3c25aacea3b8f4656411791f07 ad7efbb9399e60cee6cb217c6b47e604174a8093.tar.gz
+fa02fcd794241fdb9748f98403b8cdf2 output.patch"