1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
2 # Contributor Daniel Illgen <daniel.illgen@googlemail.com>
3 # Contributor: Christer Solskogen <solskogen@carebears.mine.nu>
4 # Contributor: Giovanni Condello <condellog@gmail.com>
9 pkgdesc="Atari Running on Any Machine"
10 url="http://aranym.sourceforge.net"
11 depends=('gcc-libs' 'bash' 'sdl_image')
12 arch=('i686' 'x86_64')
14 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
15 md5sums=('00e45be0179ae0d725124bc48de79b4f')
18 cd "$srcdir/$pkgname-$pkgver"
20 # aranym-jit isn't available for x86_64 architecture
21 if [ "$CARCH" == "i686" ]; then
22 ./configure --prefix=/usr --mandir=/usr/share/man --disable-nat-debug --enable-jit-compiler --enable-nfjpeg
28 ./configure --prefix=/usr --mandir=/usr/share/man --disable-nat-debug --enable-fullmmu --enable-lilo --enable-fixedvideoram --enable-nfjpeg
33 ./configure --prefix=/usr --mandir=/usr/share/man --disable-nat-debug --disable-nat-debug --enable-nfjpeg
38 cd "$srcdir/$pkgname-$pkgver"
40 make DESTDIR="$pkgdir" install
42 if [ "$CARCH" == "i686" ]; then
43 install aranym-jit "$pkgdir"/usr/bin
46 install aranym-mmu "$pkgdir"/usr/bin
47 install aratapif "$pkgdir"/usr/bin
48 install -D contrib/icon-32.png \
49 ${pkgdir}/usr/share/pixmaps/aranym.png
50 install -D contrib/aranym.desktop \
51 ${pkgdir}/usr/share/applications/aranym.desktop