blob: fa7ab43433b5e00c283d4ce41657c3f7f8621f1d (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=gitstats
pkgver=2012.08.30
pkgrel=0
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://ftp.de.debian.org/debian/pool/main/g/$pkgname/"$pkgname"_$pkgver.orig.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
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="38481d75933bd98491fe3257f97d1050 gitstats_2012.08.30.orig.tar.bz2"
sha256sums="3763840ce17a679a5b5a065e796990e76b08d0ddb9da4018c0bf3c1dc4779262 gitstats_2012.08.30.orig.tar.bz2"
sha512sums="abbf0b7b406232851705d117200a8380bdb3cef14da1cf871f63f07de8a869989239538679f8a982a750ea849146ba07a05235880406023f6b986b16d39a47d9 gitstats_2012.08.30.orig.tar.bz2"
|