Package Details: x16-docs-git r33.6fee76f-1

Git Clone URL: (read-only, click to copy)
Package Base: x16-docs-git
Description: Documentation not found in other packages for The 8-Bit Guy's Commander X16
Upstream URL:
Licenses: unknown
Groups: commander-x16
Conflicts: x16-docs
Provides: x16-docs
Submitter: Juju
Maintainer: Juju
Last Packager: Juju
Votes: 0
Popularity: 0.000000
First Submitted: 2019-09-20 22:18 (UTC)
Last Updated: 2020-02-09 21:11 (UTC)

Latest Comments

Auerhuhn commented on 2023-08-08 15:11 (UTC) (edited on 2023-08-08 15:12 (UTC) by Auerhuhn)

Please patch:

diff --git a/PKGBUILD b/PKGBUILD
index ebab6a9..f1d6cc2 100644
@@ -17,9 +17,9 @@ replaces=()
-   ""
-   "")
+   ""
+   "")
@@ -32,12 +32,12 @@ pkgver() {
 build() {
    cd "${pkgname%-git}"
    pandoc --from gfm --to html -c github-pandoc.css --standalone --metadata pagetitle="Commander X16 Programmer's Reference Guide" Commander\ X16\ Programmer\'s\ Reference\ --output Programmer\'s\ Reference\ Guide.html --lua-filter=../mdtohtml.lua
+   find . -name 'X16 Reference - *.md' -exec bash -c 'pandoc --from gfm --to html -c github-pandoc.css --standalone --metadata pagetitle="${}" "${1}" --output "${}.html" --lua-filter ../mdtohtml.lua' _ '{}' ';'
    pandoc --from gfm --to html -c github-pandoc.css --standalone --metadata pagetitle="VERA Programmer's" VERA\ Programmer\'s\ --output VERA\ Programmer\'s\ Reference.html

 package() {
    cd "${pkgname%-git}"
    install -Dm644 ../github-pandoc.css "$pkgdir/usr/share/doc/${pkgname%-git}/github-pandoc.css"
-   install -Dm644 Programmer\'s\ Reference\ Guide.html "$pkgdir/usr/share/doc/${pkgname%-git}/Programmer's Reference Guide.html"
-   install -Dm644 VERA\ Programmer\'s\ Reference.html "$pkgdir/usr/share/doc/${pkgname%-git}/VERA Programmer's Reference.html"
+   install -Dm644 -t "$pkgdir/usr/share/doc/${pkgname%-git}" *.html