gnu: grue-hunter: Correctly install documentation.

* gnu/packages/games.scm (grue-hunter)[arguments]: Install and populate
‘/share/doc/grue-hunter’ as a directory, not a plain file.
This commit is contained in:
Tobias Geerinckx-Rice 2017-03-13 17:52:12 +01:00
parent b2d748edff
commit 6d57723ac8
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -2528,7 +2528,8 @@ (define-public grue-hunter
"/bin/tar"))
(out (assoc-ref %outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc")))
(doc (string-append out
"/share/doc/grue-hunter")))
(begin
(mkdir out)
(copy-file tarball "grue-hunter.tar.gz")
@ -2542,8 +2543,7 @@ (define-public grue-hunter
(list perl))
(mkdir-p doc)
(copy-file "grue-hunter/AGPLv3.txt"
(string-append doc "/grue-hunter")))))))
(install-file "grue-hunter/AGPLv3.txt" doc))))))
(inputs `(("perl" ,perl)
("tar" ,tar)
("gzip" ,gzip)