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
1 changed files with 3 additions and 3 deletions

View File

@ -2528,7 +2528,8 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
"/bin/tar")) "/bin/tar"))
(out (assoc-ref %outputs "out")) (out (assoc-ref %outputs "out"))
(bin (string-append out "/bin")) (bin (string-append out "/bin"))
(doc (string-append out "/share/doc"))) (doc (string-append out
"/share/doc/grue-hunter")))
(begin (begin
(mkdir out) (mkdir out)
(copy-file tarball "grue-hunter.tar.gz") (copy-file tarball "grue-hunter.tar.gz")
@ -2542,8 +2543,7 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
(list perl)) (list perl))
(mkdir-p doc) (mkdir-p doc)
(copy-file "grue-hunter/AGPLv3.txt" (install-file "grue-hunter/AGPLv3.txt" doc))))))
(string-append doc "/grue-hunter")))))))
(inputs `(("perl" ,perl) (inputs `(("perl" ,perl)
("tar" ,tar) ("tar" ,tar)
("gzip" ,gzip) ("gzip" ,gzip)