blob: aa0626d8080667d7a2a02c319d0ab51de29dda1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer : chrisl echo archlinux@c2h0r1i2s4t5o6p7h8e9r-l3u4n1a.com|sed 's/[0-9]//g'
# Contributor: Margot Xara <xara.margot@gmail.com>
# Contributor Daniel Illgen <daniel.illgen@googlemail.com>
# Contributor: Christer Solskogen <solskogen@carebears.mine.nu>
# Contributor: Giovanni Condello <condellog@gmail.com>
pkgname=aranym
pkgver=1.1.0
pkgrel=2
pkgdesc="Atari Running on Any Machine"
url="https://aranym.github.io"
depends=('gcc-libs' 'bash' 'sdl_image' 'mpfr')
arch=('i686' 'x86_64')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz)
md5sums=('876eeadc81c16ee30717503a7b4f55b5')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --enable-jit-compiler --enable-nfjpeg
make
mv aranym aranym-jit
make clean
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --enable-fullmmu --enable-lilo --enable-fixedvideoram --enable-nfjpeg
make
mv aranym aranym-mmu
make clean
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --disable-nat-debug --enable-nfjpeg
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install aranym-jit "$pkgdir"/usr/bin
install aranym-mmu "$pkgdir"/usr/bin
install aratapif "$pkgdir"/usr/bin
install -D contrib/icon-32.png \
${pkgdir}/usr/share/pixmaps/aranym.png
install -D contrib/aranym.desktop \
${pkgdir}/usr/share/applications/aranym.desktop
}
|