aboutsummaryrefslogtreecommitdiffstats
path: root/community/gource/APKBUILD
blob: e881a1ed89dfbf8c7d1a71e82bd18786b3fe4e9d (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:  Francesco Colista <fcolista@alpinelinux.org>
pkgname=gource
pkgver=0.51
pkgrel=1
pkgdesc="Software version control visualization"
url="https://gource.io/"
arch="all !s390x"
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="f29326ffb2aa6f645fb941e08e41f0cbf8dd894d5a4d607b782caeb12a24e6446198027060b880e0ad14a36efbed19023620dd8c890cfc0c027fc90ac2d5be24  gource-0.51.tar.gz"