1 # Contributor: Christoph Zeiler <rabyteNOSPAM_at_gmx.dot.org>
6 pkgdesc="An open source GameBoy emulator based on gnuboy"
8 url="http://tuxemu.foo.se/"
10 depends=('sdl_image' 'sdl_ttf' 'wiiuse')
12 install=$pkgname.install
13 source=(http://tuxemu.byethost31.com/file/${pkgname}_100rc3_lin.zip \
17 md5sums=('54afcc228727e6a3c2f3c915170e034a'
18 '5a529f77fe7455cea35294b7baa22279'
19 'd4955002e3a1fe29681bbfef30430416'
20 '88a216fc7da24d9f03205e92bd3a70ca')
24 cd ${pkgname}_lin_100rc3/source
26 patch -Np0 -i "$srcdir"/savedir.diff || return 1
27 patch -Np0 -i "$srcdir"/Makefile.diff || return 1
29 sed -e "s|roms/|/usr/share/tuxboy/roms/|g" \
30 -e "s|system/|/usr/share/tuxboy/system/|g" \
34 make DESTDIR="$pkgdir" install
36 install -Dm644 "$srcdir"/tuxboy.desktop "$pkgdir"/usr/share/applications/tuxboy.desktop