guix-packages/ambrevar/games: Make eduke32-addon-compilation local
parent
036f464e8d
commit
35e781fe5d
|
@ -330,7 +330,7 @@ used!)")
|
|||
"No URL"
|
||||
""))))
|
||||
|
||||
(define-public duke-nukem-3d-eduke32-addon-compilation
|
||||
(define duke-nukem-3d-eduke32-addon-compilation
|
||||
(package
|
||||
(name "duke-nukem-3d-eduke32-addon-compilation")
|
||||
(version "3.13")
|
||||
|
@ -352,12 +352,15 @@ used!)")
|
|||
(setenv "PATH" (string-append
|
||||
(assoc-ref %build-inputs "p7zip") "/bin" ":"))
|
||||
(invoke "7z" "x" (assoc-ref %build-inputs "source"))
|
||||
(let ((dir (string-append (assoc-ref %outputs "out")
|
||||
"/" ,duke-nukem-3d-directory)))
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
(doc (string-append out "/doc"))
|
||||
(dir (string-append (assoc-ref %outputs "out")
|
||||
"/" ,duke-nukem-3d-directory)))
|
||||
(mkdir-p dir)
|
||||
(mkdir-p doc)
|
||||
(copy-recursively "addons" dir)
|
||||
(copy-recursively (string-append dir "/readme")
|
||||
(string-append dir "/doc"))
|
||||
(string-append doc "/dukenukem3d"))
|
||||
(delete-file-recursively (string-append dir "/readme")))
|
||||
#t)))
|
||||
(synopsis "Selection of mods for Duke Nukem 3D")
|
||||
|
|
Loading…
Reference in New Issue