updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / rotc-ethernet / PKGBUILD
blobf24bac4c8f2f216656a133b2e198660a9e8261f3
1 pkgname="rotc-ethernet"
2 pkgver=p.5
3 pkgrel=1
4 pkgdesc="Revenge Of The Cats - Two teams fight for zones in this innovative multiplayer FPS"
5 arch=('i686' 'x86_64')
6 url="http://ethernet.wasted.ch//"
7 license=('GPL')
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')
13 build() {
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