1 # Contributor: Antonio Bonifati ant hat venus deis unical it
2 # Maintainer: Antonio Bonifati ant hat venus deis unical it
5 pkgname=view3dscene-svn
8 pkgdesc="VRML, X3D, 3d Studio 3DS, Collada, MD3, Wavefront OBJ tiny fast browser and viewer"
9 url="http://vrmlengine.sourceforge.net/view3dscene.php"
10 arch=('i686' 'x86_64')
12 install=view3dscene.install
14 makedepends=(subversion fpc)
19 _svntrunk=https://vrmlengine.svn.sourceforge.net/svnroot/vrmlengine/trunk
20 _svnmod=(kambi_vrml_game_engine view3dscene)
26 for mod in ${_svnmod[@]}; do
27 if [ -d $mod/.svn ]; then
28 (cd $mod && svn up -r $pkgver)
30 svn co $_svntrunk/$mod --config-dir ./ -r $pkgver
34 msg "SVN checkout done or server timeout"
35 msg "Starting make..."
38 cp -r ${_svnmod[@]} build
39 cd build/${_svnmod[1]}
43 install -D -m755 view3dscene ${pkgdir}/usr/bin/view3dscene
46 install -D -m644 desktop/view3dscene.desktop ${pkgdir}/usr/share/applications/view3dscene.desktop
47 install -D -m644 desktop/icon/5_gnome_palette.svg ${pkgdir}/usr/share/pixmaps/view3dscene.svg
48 install -D -m644 desktop/view3dscene.xml ${pkgdir}/usr/share/mime/packages/view3dscene.xml
50 rm -rf ${srcdir}/build
53 # vim:set ts=2 sw=2 et: