blob: 7793242c0d5e8980ab6b7f618ce74eb3089ff44e (
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
|
# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de>
# Contributor: Julien Savard <juju@juju2143.ca>
pkgname=x16-rom
pkgver=r48
pkgrel=1
pkgdesc="ROM files for The 8-Bit Guy's Commander X16"
arch=('any')
url="http://commanderx16.com/"
license=('LicenseRef-custom')
groups=('commander-x16')
depends=()
makedepends=('cc65' 'lzsa' 'pandoc' 'python')
optdepends=('x16-emulator: emulator for the ROMs')
install=x16-rom.install
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/X16Community/$pkgname/archive/$pkgver.tar.gz"
"https://raw.githubusercontent.com/X16Community/x16-emulator/$pkgver/github-pandoc.css"
)
md5sums=('3c6a1d1b9daf50ab3bcbb5fe8245c591'
'3accdbadaf70264c743b1f655f5dc146')
build() {
cd "$pkgname-$pkgver"
_pkgver1=${pkgver#r}
make PRERELEASE_VERSION="${_pkgver1%%[^0-9]*}"
pandoc --from gfm --to html -c github-pandoc.css --standalone --metadata pagetitle="X16 KERNAL/BASIC/DOS ROM" README.md --output KERNAL-BASIC.html
}
package() {
cd "$pkgname-$pkgver"
install -Dm644 build/x16/rom.bin "$pkgdir/usr/share/$pkgname/rom.bin"
install -Dm644 build/x16/*.sym "$pkgdir/usr/share/$pkgname/"
install -Dm644 ../github-pandoc.css "$pkgdir/usr/share/doc/$pkgname/github-pandoc.css"
install -Dm644 KERNAL-BASIC.html "$pkgdir/usr/share/doc/$pkgname/KERNAL-BASIC.html"
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}
|