4 pkgdesc="submarine simulator,svn version"
6 url="http://dangerdeep.sourceforge.net"
8 depends=(fftw sdl_image sdl_mixer mesa)
10 source=('dangerdeep.png' 'dangerdeep.desktop')
11 md5sums=('969e717f644d67083f482666b50a06d6'
12 'baead4d3ea86004547269063f0f973d5')
15 _svntrunk=https://dangerdeep.svn.sourceforge.net/svnroot/dangerdeep/trunk/dangerdeep
21 msg "Connecting to SVN server...."
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"
30 msg "Starting make..."
32 svn export ${_svnmod} ${_svnmod}-build
35 mkdir -p $pkgdir/usr/share/dangerdeep
36 scons installbindir=$pkgdir/usr/bin datadir=/usr/share/dangerdeep install || return 1
38 cp -R $srcdir/dangerdeep/data/* $pkgdir/usr/share/dangerdeep
40 install -Dm644 ../dangerdeep.png "$pkgdir"/usr/share/pixmaps/dangerdeep.png
41 install -Dm644 ../dangerdeep.desktop "$pkgdir"/usr/share/applications/dangerdeep.desktop