aboutsummaryrefslogtreecommitdiffstats
path: root/community/gource/APKBUILD
blob: e5b24ab419263c7b370caff2a9380b2c3957fa6b (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:  Francesco Colista <fcolista@alpinelinux.org>
pkgname=gource
pkgver=0.47
pkgrel=2
pkgdesc="Software version control visualization"
url="http://gource.io/"
arch="all"
license="GPL-3.0"
makedepends="ftgl-dev sdl2-dev sdl2_image-dev pcre-dev glew-dev libpng-dev
	libjpeg-turbo-dev glu-dev boost-dev glm-dev"
subpackages="$pkgname-doc"
source="https://github.com/acaudwell/Gource/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="8b2c4c20f5266823846ee2ff18e4b793b35af4c65ab466b962aa2861d2fc8b3b9f7614db14ad8b3745548d3921ecd8163d58bb7ef67e7e4ca07f381565c85d14  gource-0.47.tar.gz"