1 # Contributor: zoulnix <http://goo.gl/HQaP>
5 pkgdesc="A font rendering library for OpenGL applications."
7 url="http://ftgl.sourceforge.net/"
9 depends=('freetype2' 'freeglut' 'ttf-dejavu')
10 makedepends=('autoconf' 'automake' 'doxygen' 'gcc' 'make' 'pkg-config' 'subversion')
18 _svntrunk="https://ftgl.svn.sourceforge.net/svnroot/ftgl/trunk"
24 msg "Getting sources..."
25 if [ -d ${_svnmod}/.svn ]; then
26 cd ${_svnmod} && svn up -r ${pkgver}
28 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
32 msg "SVN checkout done or server timeout"
33 msg "Starting make..."
36 # Generating build system
37 ./autogen.sh || return 1
39 ./configure --prefix=/usr \
41 --localstatedir=/var \
49 cd ${srcdir}/${_svnmod}
51 make DESTDIR=${pkgdir} install || return 1