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

Git Clone URL: https://aur.archlinux.org/x16-docs-git.git (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: http://commanderx16.com/
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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,9 +17,9 @@ replaces=()
 options=()
 install=
 changelog=
-source=("git+https://github.com/commanderx16/x16-docs.git"
-   "https://raw.githubusercontent.com/commanderx16/x16-emulator/master/github-pandoc.css"
-   "https://raw.githubusercontent.com/commanderx16/x16-emulator/master/mdtohtml.lua")
+source=("git+https://github.com/X16Community/x16-docs.git"
+   "https://raw.githubusercontent.com/X16Community/x16-emulator/master/github-pandoc.css"
+   "https://raw.githubusercontent.com/X16Community/x16-emulator/master/mdtohtml.lua")
 md5sums=('SKIP'
          'SKIP'
          'SKIP')
@@ -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\ Guide.md --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%.md}" "${1}" --output "${1%.md}.html" --lua-filter ../mdtohtml.lua' _ '{}' ';'
    pandoc --from gfm --to html -c github-pandoc.css --standalone --metadata pagetitle="VERA Programmer's Reference.md" VERA\ Programmer\'s\ Reference.md --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
 }