gnu: xonotic-data: Use G-expressions.
* gnu/packages/games.scm (xonotic-data)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
501d4b3bb4
commit
33ae2fb398
|
@ -7771,24 +7771,22 @@ (define xonotic-data
|
|||
(build-system trivial-build-system)
|
||||
(native-inputs (list unzip))
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
(list #:modules '((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
#~(begin
|
||||
(use-modules (guix build utils))
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
(xonotic (string-append out "/share/xonotic"))
|
||||
(source (assoc-ref %build-inputs "source"))
|
||||
(unzip (search-input-file %build-inputs "/bin/unzip")))
|
||||
(copy-file source (string-append ,name "-" ,version ".zip"))
|
||||
(invoke unzip (string-append ,name "-" ,version ".zip"))
|
||||
(mkdir-p out)
|
||||
(mkdir-p xonotic)
|
||||
(copy-file source (string-append #$name "-" #$version ".zip"))
|
||||
(invoke unzip (string-append #$name "-" #$version ".zip"))
|
||||
(chdir "Xonotic")
|
||||
(install-file "key_0.d0pk" xonotic)
|
||||
(copy-recursively "data"
|
||||
(string-append xonotic "/data"))
|
||||
(copy-recursively "server"
|
||||
(string-append xonotic "/server"))
|
||||
(install-file "key_0.d0pk" xonotic)))))
|
||||
(string-append xonotic "/server"))))))
|
||||
(home-page "http://xonotic.org")
|
||||
(synopsis "Data files for Xonotic")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue