[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: openttd-opensfx: Use new package style.
From: |
guix-commits |
Subject: |
06/09: gnu: openttd-opensfx: Use new package style. |
Date: |
Tue, 19 Apr 2022 14:37:39 -0400 (EDT) |
lilyp pushed a commit to branch master
in repository guix.
commit 4df82befc9dfeeddb64ec671cef5f3bc8c770dce
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Apr 16 00:49:31 2022 +0200
gnu: openttd-opensfx: Use new package style.
* gnu/packages/games.scm (openttd-opensfx)[arguments]: Convert to list of
G-Expressions. Drop trailing ‘#t’s.
[native-inputs]: Drop labels.
---
gnu/packages/games.scm | 54 +++++++++++++++++++++++++-------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 2e122ad05f..f5555b519a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4363,34 +4363,34 @@ OpenGFX provides you with...
"0aym026lg0r7dp3jxxs9c0rj8lwy1fz3v9hmk3mml6sycsg3fv42"))))
(build-system gnu-build-system)
(native-inputs
- `(("catcodec" ,catcodec)
- ("python" ,python)
- ("tar" ,tar)))
+ (list catcodec
+ python
+ tar))
(arguments
- `(#:make-flags
- (list (string-append "DIR_NAME=opensfx")
- (string-append "TAR="
- (search-input-file %build-inputs "/bin/tar")))
- ;; The check phase only verifies md5sums, see openttd-opengfx.
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'make-reproducible
- (lambda _
- ;; Remove the time dependency of the installed tarball by setting
- ;; the modification times if its members to 0.
- (substitute* "scripts/Makefile.def"
- (("-cf") " --mtime=@0 -cf"))
- #t))
- (delete 'configure)
- (add-before 'build 'prebuild
- (lambda _ (invoke "make" "opensfx.cat")))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (copy-recursively "opensfx"
- (string-append (assoc-ref outputs "out")
- "/share/games/openttd/baseset"
- "/opensfx")))))))
+ (list
+ #:make-flags
+ #~(list (string-append "DIR_NAME=opensfx")
+ (string-append "TAR="
+ (search-input-file %build-inputs "/bin/tar")))
+ ;; The check phase only verifies md5sums, see openttd-opengfx.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'make-reproducible
+ (lambda _
+ ;; Remove the time dependency of the installed tarball by setting
+ ;; the modification times if its members to 0.
+ (substitute* "scripts/Makefile.def"
+ (("-cf") " --mtime=@0 -cf"))))
+ (delete 'configure)
+ (add-before 'build 'prebuild
+ (lambda _ (invoke "make" "opensfx.cat")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (copy-recursively "opensfx"
+ (string-append (assoc-ref outputs "out")
+ "/share/games/openttd/baseset"
+ "/opensfx")))))))
(home-page "http://dev.openttdcoop.org/projects/opensfx")
(synopsis "Base sounds for OpenTTD")
(description "OpenSFX is a set of free base sounds for OpenTTD which make
- branch master updated (cd23250c16 -> 0b681c5896), guix-commits, 2022/04/19
- 04/09: gnu: openttd-engine: Drop labels from inputs., guix-commits, 2022/04/19
- 07/09: gnu: openttd-openmsx: Use new package style., guix-commits, 2022/04/19
- 03/09: gnu: openttd: Let the music play., guix-commits, 2022/04/19
- 01/09: gnu: gnome-shell-extension-just-perfection: Update to 20.0., guix-commits, 2022/04/19
- 02/09: gnu: Add freepats-gm., guix-commits, 2022/04/19
- 06/09: gnu: openttd-opensfx: Use new package style.,
guix-commits <=
- 09/09: gnu: komikku: Update to 0.38.0., guix-commits, 2022/04/19
- 05/09: gnu: openttd-gfx: Use new package style., guix-commits, 2022/04/19
- 08/09: gnu: openttd: Use new package style., guix-commits, 2022/04/19