2 # Contributor: demonicmaniac <stormtrooperofdeath@gmx.net>
3 # Maintainer: Erico Nunes <nunes.erico[at]gmail>
8 pkgdesc="Misfit Model 3D is an easy to use OpenGL 3D model editor."
10 url="http://www.misfitcode.com/"
12 depends=('libgl' 'qt' 'perl-template-toolkit' 'perl-html-template')
13 makedepends=('subversion')
15 #source=($pkgname-$pkgver.tar.gz)
18 _svntrunk=http://svn.misfitcode.com/misfitcode/mm3d/trunk
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_svnmod-build"
34 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
35 cd "$srcdir/$_svnmod-build"
42 ./configure --prefix=/usr
44 make DESTDIR="$pkgdir/" install