1 # Maintainer: György Balló <ballogy@freestart.hu>
5 pkgdesc="Free-as-in-freedom train simulator placed in the public domain"
7 url="http://trainsimframework.org/"
8 license=('custom:public domain')
9 depends=('mono' 'taoframework' 'sdl' 'openal')
10 source=(http://trainsimframework.org/common/openbve_stable_source.zip
11 http://trainsimframework.org/common/openbve_stable.zip
14 md5sums=('d306c160bd58373be7926e5585463e97'
15 '4e8f47832f5b341ca08c52ffe094c88b'
16 'fec92946f773f56588a71de310847ce0'
17 'acb0dd3ea602910181b8cdb8375c794e')
22 xbuild /p:Configuration=Release OpenBve/OpenBve.csproj
29 install -d $pkgdir/usr/lib/$pkgname/
30 install -Dm644 openBVE/OpenBveApi/bin/Release/OpenBveApi.dll $pkgdir/usr/lib/$pkgname/
31 install -Dm644 openBVE/OpenBve/bin/Release/OpenBve.exe $pkgdir/usr/lib/$pkgname/
34 mkdir -p $pkgdir/usr/share/games/$pkgname
35 cp -r Data $pkgdir/usr/share/games/$pkgname/
36 ln -s ../../share/games/$pkgname/Data $pkgdir/usr/lib/$pkgname/Data
39 install -Dm755 $pkgname.sh $pkgdir/usr/bin/$pkgname
41 #desktop file and icon
42 install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
43 mkdir -p $pkgdir/usr/share/pixmaps
44 ln -s ../games/$pkgname/Data/Menu/logo.png $pkgdir/usr/share/pixmaps/$pkgname.png
47 install -Dm644 Readme.txt $pkgdir/usr/share/licenses/$pkgname/Readme.txt