1 # Contributor: Vladimir Ermakov <vooon341@gmail.com>
6 pkgdesc="Robotic systems environment"
8 url="http://playerstage.sf.net"
10 depends=('player-svn' 'fltk' 'glib2' 'libpng')
13 makedepends=('pkgconfig' 'cmake' 'subversion')
17 _svntrunk=http://playerstage.svn.sourceforge.net/svnroot/playerstage/code/stage/trunk/
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
32 cp -r $_svnmod $_svnmod-build
36 patch -Np0 < ../fix-cmake-set-error.patch
38 msg "Starting CMake..."
39 cmake -D CMAKE_INSTALL_PREFIX=/usr -D BUILD_DOCUMENTATION=ON . || return 1
41 make DESTDIR=$startdir/pkg install || return 1
43 # vim:set ts=2 sw=2 et: