1 pkgname="rotc-ethernet"
4 pkgdesc="Revenge Of The Cats - Two teams fight for zones in this innovative multiplayer FPS"
6 url="http://ethernet.wasted.ch//"
8 [ "$CARCH" = "i686" ] && depends=('libgl' 'sdl' 'libtheora' 'libxft')
9 [ "$CARCH" = "x86_64" ] && depends=('lib32-libgl' 'lib32-sdl' 'lib32-libtheora' 'lib32-libxft')
10 source=(http://files.wasted.ch/software/rotc-ethernet/$pkgname-$pkgver-testing-linux.tar.gz $pkgname.desktop $pkgname.png $pkgname $pkgname-dedicated)
11 md5sums=('ab16b0522690be2fdb1be9b1c1c84535' '2a29d38c2720848429587e7da8bdb335' '48aa51d2b2694dd61b16c2d11087ffc8' 'e015c8fe46e71d3bd5626e04cd4cf9a8' '6d43c5740ea811df43668c2b75b1a882')
14 mkdir -p $pkgdir/usr/share/applications
15 mkdir -p $pkgdir/usr/share/pixmaps
16 mkdir -p $pkgdir/usr/bin
17 cp -R $srcdir/$pkgname-$pkgver-testing-linux/ $pkgdir/usr/share/$pkgname
18 cp $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/
19 cp $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/
20 cp $srcdir/$pkgname $pkgdir/usr/bin/
21 cp $srcdir/$pkgname-dedicated $pkgdir/usr/bin/
22 chmod 755 -R $pkgdir/usr/share/$pkgname
23 chmod 755 $pkgdir/usr/bin/rotc-ethernet
24 chmod 755 $pkgdir/usr/bin/rotc-ethernet-dedicated