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