[bug#56886,v2] gnu: queen-de: Fix build.
Commit Message
* gnu/packages/games.scm (make-queen-package)[arguments]: Only install
readme.txt if it exists. The queen-de package that we create with
make-queen-package does not contain a readme file, while all the other
versions of the queen package have a readme file.
---
gnu/packages/games.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Comments
Am Donnerstag, dem 04.08.2022 um 19:23 +0000 schrieb Felix Gruber:
> * gnu/packages/games.scm (make-queen-package)[arguments]: Only
> install
> readme.txt if it exists. The queen-de package that we create with
> make-queen-package does not contain a readme file, while all the
> other
> versions of the queen package have a readme file.
The explanation goes before the ChangeLog, also there ought to be a
link to this issue. Other than that LGTM.
Am Donnerstag, dem 04.08.2022 um 19:23 +0000 schrieb Felix Gruber:
> * gnu/packages/games.scm (make-queen-package)[arguments]: Only
> install
> readme.txt if it exists. The queen-de package that we create with
> make-queen-package does not contain a readme file, while all the
> other
> versions of the queen package have a readme file.
Pushed with a slight change to the ChangeLog.
Cheers
@@ -9810,7 +9810,9 @@ Skorl. Maybe it would be an idea to try and escape...")
(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")))