1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
6 pkgdesc="a simple 2d soccer game"
7 url=('http://hippo.nipax.cz/download.cz.php?id=41')
11 source=("http://hippo.nipax.cz/src/${pkgname}-src.tar.gz" "fotbal.desktop")
12 md5sums=('ed4146b05c3a074cd63c483bb685b1ed'
13 '3a8909900f3778dbed46a5008dd9eda9')
16 cd $srcdir/${pkgname}-src
17 # some patching needed here
18 sed -i -e 's/<fstream.h>/<fstream>/' -e 's/ifstream/std::ifstream/' football.cxx
23 cd $srcdir/${pkgname}-src
24 mkdir -p $pkgdir/usr/{share/fotbal,bin}
25 install -D -m755 football $pkgdir/usr/share/fotbal/football
26 install -D -m644 *.pcx *.txt fotbal.dat $pkgdir/usr/share/fotbal
29 ./football" ) > $pkgdir/usr/bin/fotbal
30 chmod 755 $pkgdir/usr/bin/fotbal
31 install -D -m644 $srcdir/fotbal.desktop $pkgdir/usr/share/applications/fotbal.desktop