[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: xonotic-data: Use G-expressions.
From: |
guix-commits |
Subject: |
05/13: gnu: xonotic-data: Use G-expressions. |
Date: |
Sat, 13 Aug 2022 15:28:54 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 33ae2fb39824fbcdbd8f39a7a2936d3186df4513
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 7 02:00:00 2022 +0200
gnu: xonotic-data: Use G-expressions.
* gnu/packages/games.scm (xonotic-data)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/games.scm | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 1dcc6483b7..055c9ba9b7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7771,24 +7771,22 @@ quotation from a collection of quotes.")
(build-system trivial-build-system)
(native-inputs (list unzip))
(arguments
- `(#:modules ((guix build utils))
- #:builder
- (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)
- (chdir "Xonotic")
- (copy-recursively "data"
- (string-append xonotic "/data"))
- (copy-recursively "server"
- (string-append xonotic "/server"))
- (install-file "key_0.d0pk" xonotic)))))
+ (list #:modules '((guix build utils))
+ #:builder
+ #~(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"))
+ (chdir "Xonotic")
+ (install-file "key_0.d0pk" xonotic)
+ (copy-recursively "data"
+ (string-append xonotic "/data"))
+ (copy-recursively "server"
+ (string-append xonotic "/server"))))))
(home-page "http://xonotic.org")
(synopsis "Data files for Xonotic")
(description
- branch master updated (82ea33d295 -> a8bd13c399), guix-commits, 2022/08/13
- 02/13: gnu: xonotic-data: Update to 0.8.5., guix-commits, 2022/08/13
- 03/13: gnu: xonotic-data: Remove input labels., guix-commits, 2022/08/13
- 05/13: gnu: xonotic-data: Use G-expressions.,
guix-commits <=
- 06/13: gnu: xonotic-data: Don't copy 1.2-GiB file to build directory., guix-commits, 2022/08/13
- 01/13: gnu: xonotic: Update to 0.8.5., guix-commits, 2022/08/13
- 04/13: gnu: xonotic: Remove input labels., guix-commits, 2022/08/13
- 08/13: gnu: xonotic: Normalise building Darkplaces., guix-commits, 2022/08/13
- 07/13: gnu: xonotic: Use G-expressions., guix-commits, 2022/08/13
- 10/13: gnu: xonotic: Further explore the concept of iteration., guix-commits, 2022/08/13
- 11/13: gnu: git: Update to 2.37.2., guix-commits, 2022/08/13
- 12/13: gnu: cups-pk-helper: Update to 0.2.7., guix-commits, 2022/08/13
- 13/13: gnu: cups-pk-helper: Make references non-native., guix-commits, 2022/08/13
- 09/13: gnu: xonotic: Rename misleading 'bootstrap phase., guix-commits, 2022/08/13