aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-06-05 14:56:40 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-06-05 14:57:36 +0200
commitabd6ea5337079654ad2dba05538bf6e7d9051c4d (patch)
tree0fa833bb19b1a62fc96e63657dff8ebbc907c613
parenta5afbbe2d6947798db20320ee174e38dc74b111b (diff)
downloadguix-abd6ea5337079654ad2dba05538bf6e7d9051c4d.tar
guix-abd6ea5337079654ad2dba05538bf6e7d9051c4d.tar.gz
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.
-rw-r--r--gnu/packages/minetest.scm17
1 files changed, 3 insertions, 14 deletions
diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm
index b163c9a6ff..fd0dbec6a2 100644
--- a/gnu/packages/minetest.scm
+++ b/gnu/packages/minetest.scm
@@ -167,21 +167,10 @@ in different ways.")
(sha256
(base32
"12cpaiww148szvnrc8r8cffwvl33smnrl7k29sh401yv0pbqi3j8"))))
- (build-system trivial-build-system)
- (native-inputs
- `(("source" ,source)))
+ (build-system copy-build-system)
(arguments
- `(#:modules ((guix build utils))
- #:builder (begin
- (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))))
+ (list #:install-plan
+ #~'(("." "/share/minetest/games/minetest_game"))))
(synopsis "Main game data for the Minetest game engine")
(description
"Game data for the Minetest infinite-world block sandbox game.")