summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dfd5bca053aad7ab2b3ced5aca98fa06bbaafeb0 (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
# Maintainer: Oliver Jaksch <arch-aur@com-in.de>

pkgname=atari800
pkgver=4.2.0
_pkgver=${pkgver//./_}
pkgrel=1
pkgdesc="An emulator of the Atari 800/800XL/130XE/5200 with various extensions"
arch=('i686' 'x86_64')
url="https://atari800.github.io"
license=('GPL2')
depends=('sdl')
optdepends=('libpng: PNG screenshot support')
source=("https://github.com/atari800/${pkgname}/archive/ATARI800_${_pkgver}.tar.gz")
sha256sums=('0bad99575293742e9e062e9fe9d104fe57228b1a32fec7a033b889edc819d7a4')

build() {
    cd "${pkgname}-ATARI800_${_pkgver}"

    ./autogen.sh

    # configure default - neccessary
    COPTS="--prefix=/usr"

    # The R: Network device
    #COPTS="${COPTS} --enable-riodevice"

    # SIO Sound for true retro feeling
    #COPTS="${COPTS} --enable-seriosound"

    # OnScreen Keyboard
    #COPTS="${COPTS} --enable-onscreenkeyboard"

    ./configure ${COPTS}
    make
}

package() {
    cd "${pkgname}-ATARI800_${_pkgver}"/src
    make DESTDIR="${pkgdir}/" install
    msg2 "\e[1;32mThis package has some options you might interested in. Have a look to COPTS at PKGBUILD. \e[0m"
}