blob: a42dbcf5cfb246496a4580d95ba1cf220106b57f (
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
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=gource
pkgver=0.38
pkgrel=0
pkgdesc="Software version control visualization"
url="http://code.google.com/p/gource"
arch="all"
license="GPL3"
depends=
depends_dev="ftgl-dev sdl-dev sdl_image-dev pcre-dev glew-dev libpng-dev
jpeg-dev glu-dev boost-dev glm-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
patches="logmill.patch"
source="http://gource.googlecode.com/files/$pkgname-$pkgver.tar.gz
$patches"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
local _patch
for _patch in $patches; do
msg $_patch
patch -p1 -i "$srcdir"/$_patch || return 1
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="6584241879dbb6dfaecc6ae6b58ad38c gource-0.38.tar.gz
d9052d5c8e0db9b373a75f42ec6bebad logmill.patch"
|