1 # Contributor: josomebody
5 pkgdesc="An independent Linux implementation of the AT-Robots 2 programming game, where different robot tanks that run assembly-type programs supplied by the players compete in an arena to be the last one standing"
7 url="http://munsterhjelm.no/km/K-Robots/"
10 depends=(sdl sdl_gfx sdl_ttf)
19 source=($url$pkgname-$pkgver.tar.gz)
21 md5sums=('02ef7bbcf3d985d5bb58a72fffccfa99')
26 cat main.cc | sed s/freetype/TTF/ > main.cc
28 mkdir -p $pkgdir/opt/k-robots
29 mkdir -p $pkgdir/usr/bin
30 cp krobots $pkgdir/opt/k-robots
31 cp -r backup $pkgdir/opt/k-robots
32 cp -r cpu $pkgdir/opt/k-robots
33 cp -r example_robots $pkgdir/opt/k-robots
34 cp -r test_robots $pkgdir/opt/k-robots
35 echo "#! /bin/bash" > $pkgdir/usr/bin/krobots
36 echo "/opt/k-robots/krobots \$@" >> $pkgdir/usr/bin/krobots
37 chmod 777 $pkgdir/usr/bin/krobots
41 # vim:set ts=2 sw=2 et: