blob: d07ecd9cf1e4d18c95a01b4c22bcdd59afbab72b (
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
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=""
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"
|