4 pkgdesc="A versatile simulator for generic mobile robots simulation based on Blender"
6 url="http://morse.openrobots.org/"
8 depends=('blender-beta' 'python' 'python-yarp')
10 makedepends=('git' 'cmake')
12 _gitroot="git://github.com/laas/morse.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
36 cmake ../$_gitname -DCMAKE_BUILD_TYPE=Release -DBUILD_YARP2_SUPPORT=ON -DCMAKE_INSTALL_PREFIX=/usr
43 make DESTDIR="$pkgdir/" install
45 install -d "${pkgdir}/usr/share/morse"
47 #mv "${pkgdir}/usr/bin/morse" "${pkgdir}/usr/bin/morse2"
48 #echo "#!/bin/bash" > "${pkgdir}/usr/bin/morse"
49 #echo "export PYTHONPATH=\$PYTHONPATH:/usr/lib/python3.1/site-packages/morse/blender" >> "${pkgdir}/usr/bin/morse"
50 #echo "exec morse2" >> "${pkgdir}/usr/bin/morse"
51 #chmod +x "${pkgdir}/usr/bin/morse"
53 install -d "${pkgdir}/usr/share/licenses/$pkgname"
54 install -m644 ../$_gitname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/"