1 # Contributor: Flamelab <panosfilip@gmail.com>
6 pkgdesc="A program which allows users to create presentations to a three dimensional environment"
8 url="http://code.google.com/p/dimpress3d/"
10 depends=('qt' 'kdelibs')
11 makedepends=('cmake>=2.4' 'automoc4' 'subversion')
13 _svntrunk="http://dimpress3d.googlecode.com/svn/trunk/"
19 if [[ -d ${_svnmod}/.svn ]]; then
20 (cd ${_svnmod} && svn up -r $pkgver)
22 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf ${srcdir}/${_svnmod}-build
29 cp -r ${srcdir}/${_svnmod} ${srcdir}/${_svnmod}-build
30 cd ${srcdir}/${_svnmod}-build
32 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DENABLE_ARGB=ON \
33 -DCMAKE_BUILD_TYPE=Release || return 1
35 make DESTDIR=${pkgdir} install || return 1