1 # Maintainer: Alex Abbott <smartboyathome@gmail.com>
6 pkgdesc="An RPG gaming engine for python."
8 url="http://ika.sourceforge.net"
10 depends=('python' 'audiere' 'sdl' 'wxgtk' 'corona')
12 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-src-${pkgver}.tar.bz2)
13 md5sums=('4a76ac5841343d1fb492bddd8717fe15')
17 echo "Patching Canvas.cpp"
18 sed -i -e "s/\#include\ <stdexcept>/\#include\ <stdexcept>\n#include\ <string.h>/g" common/Canvas.cpp
19 echo "Patching chr.cpp"
20 sed -i -e "s/\#include\ <stdexcept>/\#include\ <stdexcept>\n#include\ <string.h>/g" common/chr.cpp
21 echo "Patching fileio.cpp"
22 sed -i -e "s/\#include\ <stdio.h>/\#include\ <stdio.h>\n#include\ <string.h>/g" common/fileio.cpp
23 echo "Patching fontfile.cpp"
24 sed -i -e "s/\#include\ <limits>/\#include\ <limits>\n#include\ <string.h>\n#include\ <memory>/g" common/fontfile.cpp
25 echo "Patching vsp.cpp"
26 sed -i -e "s/\#include\ <stdio.h>/\#include\ <stdio.h>\n#include\ <string.h>/g" common/vsp.cpp
27 echo "Patching SConstruct"
28 sed -i -e "s/'\/usr'/'$pkgdir\/usr'/g" SConstruct
30 mkdir -p $pkgdir/usr/bin
31 cp engine/ika $pkgdir/usr/bin