blob: b5fbbe6436f7df001ed1a35b60228a72afacd84d (
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
|
# Maintainer: jmcb <joelsgp@protonmail.com>
pkgname='altirra'
pkgver='4.21'
pkgrel=1
pkgdesc='An 8-bit Atari computer emulator, on Wine'
arch=('any')
url='https://www.virtualdub.org/altirra.html'
license=('GPL2')
depends=('wine'
'wine-mono')
optdepends=('wine-gecko: HTML help pages support')
provides=('altirra')
source=("https://www.virtualdub.org/downloads/Altirra-$pkgver.zip"
'http://atari.vjetnam.cz/dow/emuROMs.zip'
'altirra'
'altirra.desktop'
'altirra.png'
'application-altirra.xml')
sha256sums=('c5965184cf5b43d6bd30af32ec64373363f4597b028de5c8fb30238865bf6427'
'f6bebc7d367d59dd1789fd17450c9a4eb329c27a5b5345f42d4854f412a45221'
'c6aab8083ed7e68c82ffc5b74497a87610f5f11a218ec42fe67fcf827d5a62c0'
'713b375c8467da838f4c4c9f1eca2a947aecc6c429161bc67eeedecc7c81b620'
'5319fd88751fa886683d955976ed74eb266e9ea462ae77431b6a6c457ce42dc1'
'cd3a40e290d999912767a70ffc8e4185019290251b350f887f4a2fa972b6c96b')
package() {
_dest="${pkgdir}/opt/${pkgname}"
_share="${pkgdir}"/usr/share
_bin="${pkgdir}/usr/bin"
# windows program files
# omits extras/
install -D -m644 -t "${_dest}"/ Additions.atr Altirra.chm Altirra64.exe
# shell script
install -D -t "${_dest}" altirra
# firmware roms
mv atari5200.rom 5200.ROM
install -D -m644 -t "${_dest}/roms/" 5200.ROM ATARIBAS.ROM ATARIOSB.ROM ATARIXL.ROM
# desktop entry
install -D -m644 -t "${_share}/applications" ${pkgname}.desktop
install -D -m644 -t "${_share}/pixmaps" ${pkgname}.png
install -D -m644 -t "${_share}/mime/packages" application-${pkgname}.xml
# PATH symlink
install -d "${_bin}"
ln -s /opt/${pkgname}/${pkgname} "${_bin}/${pkgname}"
}
|