# Template file for 'gource'
pkgname=gource
version=0.40
revision=2
build_style=gnu-configure
configure_args="--enable-ttf-font-dir=/usr/share/fonts/TTF"
short_desc="Software version control visualization"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="https://code.google.com/p/gource/"
distfiles="https://gource.googlecode.com/files/gource-${version}.tar.gz"
checksum=9c890a926bb3bab8ea3e546c1357488e5a5034d1ea9402afc654cb7e00ccd112

makedepends="pkg-config SDL-devel SDL_image-devel glew-devel>=1.9.0
 freetype-devel boost-devel glm pcre-devel freefont-ttf"

pre_configure() {
	sed -i "s/filesystem3/filesystem/g" src/logmill.cpp
}

gource_package() {
	depends="freefont-ttf"
	pkg_install() {
		vmove usr
	}
}
