Unverified Commit 18007d3a authored by Felix Gruber's avatar Felix Gruber Committed by Liliana Marie Prikler
Browse files

gnu: queen-de: Fix build.

The sources for queen-de lack a readme, so check whether one exists prior to
trying to install it.  See <https://bugs.gnu.org/56886

>.

* gnu/packages/games.scm (make-queen-package)[#:builder]: Only install
readme.txt if it exists.
Signed-off-by: default avatarLiliana Marie Prikler <liliana.prikler@gmail.com>
parent 8b6c4edd
......@@ -9807,7 +9807,9 @@ (define (make-queen-package name file-prefix release language hash)
(let ((unzip (search-input-file %build-inputs "/bin/unzip")))
(invoke unzip "-j" (assoc-ref %build-inputs "source")))
(let ((doc (string-append share "/doc/" ,name "-" ,version)))
(install-file "readme.txt" doc))
(for-each (lambda (file)
(when (file-exists? file) (install-file file doc)))
'("readme.txt" "README" "README.md")))
(install-file "queen.1c" data)
(mkdir-p bin)
(let ((bash (assoc-ref %build-inputs "bash")))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment