1 # Maintainer: Vojtech Kral <kral.vojtech at gmail dot com>
6 pkgdesc="Fair Object Graphics library"
8 url="http://code.google.com/p/fog/"
10 makedepends=('libpng>=1.4.0' 'subversion' 'cmake')
12 provides=('fog' 'libfog')
17 _svntrunk=http://fog.googlecode.com/svn/trunk/
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
37 cmake . -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr -DFOG_BUILD_UISYSTEM_X11=1 -DCMAKE_BUILD_TYPE=Release -G"Unix Makefiles"
41 mkdir -p ${pkgdir}/usr/
42 make install || return 1