1 # This is a PKGBUILD for Gazebo from the Player/Stage project
2 # Contributor: Vladimir Ermakov <vooon341@gmail.com>
7 pkgdesc="Robotic systems environment"
9 url="http://playerstage.sf.net"
11 depends=('fltk' 'ogre' 'ode' 'gdal' 'libxml2') # ogre: ogre-branch-1.4 (v1.4.9) in AUR
12 makedepends=('pkgconfig' 'scons')
14 source=(http://mesh.dl.sourceforge.net/sourceforge/playerstage/${pkgname}-${_pkgver}.tar.gz
16 md5sums=('3e0c4fa87b28ad396d5d5074884724b3'
17 'c0ac1f4beac967f58d63f099c79f932f')
20 cd "$startdir/src/$pkgname-$_pkgver"
22 patch -p0 < ../patch.diff
24 #scons prefix=/usr destdir="$startdir/pkg" || return 1
25 scons prefix=/usr destdir="$startdir/pkg" install || return 1
27 # workaraund "scons: *** [install] /usr/share/gazebo/Media: Is a directory"
28 mkdir "$startdir/pkg/usr/share"
29 mkdir "$startdir/pkg/usr/share/$pkgname"
30 cp -R ./Media "$startdir/pkg/usr/share/$pkgname"
31 cp -R ./worlds "$startdir/pkg/usr/share/$pkgname"
34 # vim:set ts=2 sw=2 et: