1 # Maintainer: Michael Kogan <michael dot kogan at gmx dot net>
2 # Contributor: Adrián Chaves Fernández, aka Gallaecio <adriyetichaves@gmail.com>
4 pkgname=speed-dreams-svn
7 pkgdesc="Speed Dreams is a fork of TORCS which aims to implement exciting new features, improving visual and physics realism."
9 url="http://speed-dreams.sourceforge.net/"
11 depends=('freealut' 'freeglut' 'libpng' 'libxi' 'libxmu' 'libxrandr' 'plib>=1.8.3' 'libjpeg' 'zlib' 'enet')
12 makedepends=('cmake' 'svn')
13 source=("${pkgname}.desktop")
14 md5sums=('9a0a63c897668ee18bcd6c5d65fe2111')
15 _svntrunk=https://speed-dreams.svn.sourceforge.net/svnroot/speed-dreams/trunk
16 _svnmod=speed-dreams-svn
20 msg "Connecting to Speed-Dreams SVN server...."
21 svn co $_svntrunk $_svnmod --config-dir ./ -r $pkgver
22 msg "SVN checkout done or server timeout"
24 msg "Starting make..."
28 make DESTDIR=$pkgdir install || return 1
29 install -D -m644 "${pkgdir}/usr/local/share/games/speed-dreams-2/data/icons/icon.png" "${pkgdir}/usr/share/pixmaps/speed-dreams-2.png" && \
30 install -D -m644 "../${pkgname}.desktop" "${pkgdir}/usr/share/applications/speed-dreams-svn.desktop"