gnu: minetest-data: Use new style.
* gnu/packages/minetest.scm (minetest-data)[build-system]: Use copy-build-system. [arguments]: Convert to list of G-Expressions.
This commit is contained in:
parent
a5afbbe2d6
commit
abd6ea5337
1 changed files with 3 additions and 14 deletions
|
@ -167,21 +167,10 @@ in different ways.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"12cpaiww148szvnrc8r8cffwvl33smnrl7k29sh401yv0pbqi3j8"))))
|
"12cpaiww148szvnrc8r8cffwvl33smnrl7k29sh401yv0pbqi3j8"))))
|
||||||
(build-system trivial-build-system)
|
(build-system copy-build-system)
|
||||||
(native-inputs
|
|
||||||
`(("source" ,source)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
(list #:install-plan
|
||||||
#:builder (begin
|
#~'(("." "/share/minetest/games/minetest_game"))))
|
||||||
(use-modules (guix build utils))
|
|
||||||
(let ((install-dir (string-append
|
|
||||||
%output
|
|
||||||
"/share/minetest/games/minetest_game")))
|
|
||||||
(mkdir-p install-dir)
|
|
||||||
(copy-recursively
|
|
||||||
(assoc-ref %build-inputs "source")
|
|
||||||
install-dir)
|
|
||||||
#t))))
|
|
||||||
(synopsis "Main game data for the Minetest game engine")
|
(synopsis "Main game data for the Minetest game engine")
|
||||||
(description
|
(description
|
||||||
"Game data for the Minetest infinite-world block sandbox game.")
|
"Game data for the Minetest infinite-world block sandbox game.")
|
||||||
|
|
Reference in a new issue