1 # Contributor: Hokum <hokum_at_mail_dot_ru>
3 pkgname=vangers-community-rus
4 _pkgname=Vangers_Community_Linux_rus_svn283
7 pkgdesc="Vangers Open Beta Game, svn283 binary build, russian."
9 url="http://bitcheese.net/wiki/howto/vangers-linux"
11 install='vangers.install'
12 depends=('mesa' 'sdl_mixer' 'sdl_net' 'ffmpeg' 'clunk-svn' 'libvorbis' 'libogg')
13 source=(http://slingonsk.ru/vangers/Vangers_Community_Linux_rus_svn283.tar.bz2
18 sha256sums=('150682f39194a7be2154fb7511aeae42ba8fe65c0f2cc70e87dae4ddae68e9f5'
19 'c2fa001737db3a934f3e0174b386b75fe708f6d7d5cf17d559ca2c0691dac372'
20 'ea37f45ece6b174885ae8732da53bfd5a7c278d9fe169dc04613c36e721dcbdd'
21 'e39d44e0f63817b1d36de7317415ab1d9e000012c37eb1e1ead9fa10d1294b85'
22 '2f389b4a0dc9510a61374eda658d8178b0e383918f892457dcb4725c27636480')
29 # create pkgdir folders
30 install -d $pkgdir/usr/bin
31 install -d $pkgdir/usr/share/{applications,games,icons}
34 cp -R $_pkgname $pkgdir/usr/share/games/$pkgname
37 install -m775 $startdir/vangers32 $pkgdir/usr/share/games/$pkgname/
38 install -m775 $startdir/vangers64 $pkgdir/usr/share/games/$pkgname/
40 if [ "$CARCH" = "i686" ];
41 then ln -s /usr/share/games/$pkgname/vangers32 $pkgdir/usr/bin/vangers
42 else ln -s /usr/share/games/$pkgname/vangers64 $pkgdir/usr/bin/vangers
46 install -m644 $startdir/vangers.png $pkgdir/usr/share/icons/vangers.png
47 install -m644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications/