1 # Original Contributor: Vinzenz Vietzke <vinz@archlinux.us>
2 # Modified By: Farhan Yousasf <farhany@gmail.com>
6 pkgdesc="An emulator of the Atari 800/800XL/130XE/5200 with various extensions"
8 url="http://atari800.sourceforge.net/"
10 depends=('libpng' 'sdl')
12 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz \
13 http://downloads.sourceforge.net/sourceforge/${pkgname}/xf25.zip)
14 install=atari800.install
15 md5sums=('53fdbaad6cb7752fb35895c6375ac9a7' \
16 '4dc3b6b4313e9596c4d474785a37b94d')
20 # This emulator has a few linux compatible targets. Edit the target
21 # and depends variables if you'd like a different target.
22 # Valid choices are: ncurses, svgalib, sdl, x11
25 # Pass the reponse to the configure script
26 cd ${startdir}/src/${pkgname}-${pkgver}/src
27 ./configure --target=${_target} --prefix=/usr
28 sed s/\ -ltermcap// Makefile > Makefile.tmp
29 mv Makefile.tmp Makefile
31 make DESTDIR=${startdir}/pkg install
33 # Copy the required ROMs and disks to /usr/share/atari800
35 install -d ${startdir}/pkg/usr/share/${pkgname}
36 for _n in *.ROM *.XFD *.ATR; do
37 install -m644 ${_n} ${startdir}/pkg/usr/share/${pkgname}/