gnu: games: Don't MKDIR before INSTALL-FILE.

* gnu/packages/games.scm (glkterm, glulxe, grue-hunter)[arguments]:
Remove spurious MKDIRs.
This commit is contained in:
Tobias Geerinckx-Rice 2017-03-29 21:09:51 +02:00
parent 05e0ac46ef
commit a29d329fa8
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -986,12 +986,10 @@ (define glkterm
(let* ((out (assoc-ref outputs "out"))
(inc (string-append out "/include"))
(lib (string-append out "/lib")))
(mkdir-p inc)
(for-each
(lambda (file)
(install-file file inc))
'("glk.h" "glkstart.h" "gi_blorb.h" "gi_dispa.h" "Make.glkterm"))
(mkdir-p lib)
(install-file "libglkterm.a" lib))
#t))
(delete 'configure)))) ; no configure script
@ -1032,7 +1030,6 @@ (define-public glulxe
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(mkdir-p bin)
(install-file "glulxe" bin))
#t))
(delete 'configure)))) ; no configure script
@ -2661,7 +2658,6 @@ (define-public grue-hunter
(doc (string-append out
"/share/doc/grue-hunter")))
(begin
(mkdir out)
(copy-file tarball "grue-hunter.tar.gz")
(zero? (system* gzip "-d" "grue-hunter.tar.gz"))
(zero? (system* tar "xvf" "grue-hunter.tar"))
@ -2672,7 +2668,6 @@ (define-public grue-hunter
(patch-shebang (string-append bin "/grue-hunter")
(list perl))
(mkdir-p doc)
(install-file "grue-hunter/AGPLv3.txt" doc))))))
(inputs `(("perl" ,perl)
("tar" ,tar)