1 # Contributor: zoulnix <http://goo.gl/HQaP>
5 pkgdesc="Resolution independent 2D graphics engine."
7 url="http://quad-ren.sourceforge.net/"
9 depends=('libpng' 'mesa' 'sdl')
10 makedepends=('autoconf' 'automake' 'gcc' 'libtool' 'make' 'pkg-config' 'subversion')
13 conflicts=('quad-ren')
18 _svntrunk="https://quad-ren.svn.sourceforge.net/svnroot/quad-ren/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 ./setup.sh || return 1
39 ./configure --prefix=/usr \
41 --localstatedir=/var \
45 make DESTDIR=${pkgdir} install || return 1