diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -1,11 +1,11 @@ # Maintainer: Julien Savard <juju@juju2143.ca> pkgname=x16-rom pkgver=r31 -pkgrel=1 +pkgrel=2 pkgdesc="ROM files for The 8-Bit Guy's Commander X16" arch=('any') url="http://commanderx16.com/" -license=('unknown' 'GPL3') +license=('unknown') groups=('commander-x16') depends=() makedepends=('cc65' 'pandoc') @@ -14,20 +14,16 @@ provides=() conflicts=() replaces=() options=() -install= +install=x16-rom.install changelog= source=("https://github.com/commanderx16/$pkgname/archive/$pkgver.tar.gz" - "https://raw.githubusercontent.com/commanderx16/x16-emulator/4f1c937cd296c8f5cde8e463b672696d5fbd9b8c/github-pandoc.css" - "https://raw.githubusercontent.com/mobluse/chargen-maker/6bb59c1859e7c37397a464444d208072aac83b81/chargen.txt") + "https://raw.githubusercontent.com/commanderx16/x16-emulator/4f1c937cd296c8f5cde8e463b672696d5fbd9b8c/github-pandoc.css") md5sums=('e45226c67087580c6dff83da0a27ca8a' - '3accdbadaf70264c743b1f655f5dc146' - '9a579aff9633b7ffbb6d27335d193cef') + '3accdbadaf70264c743b1f655f5dc146') build() { cd "$pkgname-$pkgver" make - # Stolen from https://github.com/mobluse/chargen-maker, code is under GPL3, the font itself might be public domain - sed '/^#/d;/^[[:space:]]*$/d;s/\\/0/g;s/@/1/g;' < ../chargen.txt | perl -ne 'print pack("B8", $_)' > chargen.bin pandoc --from gfm --to html -c ../github-pandoc.css --standalone --metadata pagetitle="X16 KERNAL/BASIC/DOS ROM" README.md --output KERNAL-BASIC.html } @@ -35,7 +31,6 @@ package() { cd "$pkgname-$pkgver" install -Dm644 rom.bin "$pkgdir/usr/share/$pkgname/rom.bin" install -Dm644 rom-c64.bin "$pkgdir/usr/share/$pkgname/rom-c64.bin" - install -Dm644 chargen.bin "$pkgdir/usr/share/$pkgname/chargen.bin" 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" } |