blob: c76ad38505fd29d64df597aa522c6df1803e6794 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Julien Savard <juju@juju2143.ca>
pkgname=('x16-emulator-bin' 'x16-rom-bin' 'x16-docs-bin')
pkgbase=x16-emulator-bin
pkgver=r47
pkgrel=1
pkgdesc="An emulator for The 8-Bit Guy's Commander X16 (release package)"
arch=('any')
url="http://commanderx16.com/"
license=('unknown')
groups=('commander-x16')
depends=()
makedepends=('gendesk')
optdepends=('x16-emulator-bin: X16 emulator'
'x16-rom-bin: X16 ROMs'
'x16-docs-bin: X16 documentation')
provides=()
conflicts=()
replaces=()
options=()
install=
changelog=
source=("https://github.com/X16Community/x16-emulator/releases/download/$pkgver/x16emu_linux-x86_64-$pkgver.zip"
"https://raw.githubusercontent.com/X16Community/x16-emulator/$pkgver/.gh/logo.png")
sha256sums=('0cb2bb31755fa0f691b42bd2f10ba4cd9e75386428d9ebf766aca2ed5a1ef67e'
'd6765978fb80bea04c774d58667ea2c974395958506ef7add48fcd7f4ceb8988')
prepare() {
gendesk -f -n --pkgname "${pkgbase%-bin}" --pkgdesc "$pkgdesc" --name "X16 Emulator" --icon "${pkgbase%-bin}" --exec "x16emu" --categories "Game;Emulator"
}
package_x16-emulator-bin() {
pkgdesc="An emulator for The 8-Bit Guy's Commander X16 (release package)"
depends=('sdl2')
arch=('x86_64')
license=('BSD')
provides=('x16-emulator')
conflicts=('x16-emulator')
install -Dm755 x16emu "$pkgdir/usr/bin/x16emu"
install -Dm644 $srcdir/README.pdf "$pkgdir/usr/share/doc/${pkgname%-bin}/README.pdf"
install -Dm644 logo.png "$pkgdir/usr/share/pixmaps/${pkgname%-bin}.png"
install -Dm644 "${pkgname%-bin}.desktop" "$pkgdir/usr/share/applications/${pkgname%-bin}.desktop"
}
package_x16-rom-bin() {
pkgdesc="ROM files for The 8-Bit Guy's Commander X16 (release package)"
provides=('x16-rom')
conflicts=('x16-rom')
install -Dm644 rom.bin "$pkgdir/usr/share/x16-rom/rom.bin"
install -Dm644 *.sym "$pkgdir/usr/share/x16-rom/"
}
package_x16-docs-bin() {
pkgdesc="Documentation not found in other packages for The 8-Bit Guy's Commander X16 (release package)"
provides=('x16-docs')
conflicts=('x16-docs')
install -Dm644 $srcdir/"Commander X16 Programmer's Reference Guide.pdf" "$pkgdir/usr/share/doc/x16-docs/Commander X16 Programmer's Reference Guide.pdf"
}
|