guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/08: gnu: ode: Improve package style.


From: guix-commits
Subject: 04/08: gnu: ode: Improve package style.
Date: Sun, 8 Jan 2023 06:22:03 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 3af18d785dc2540d8ea1dddcb1d2abb29da4dd1a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jan 8 11:38:47 2023 +0100

    gnu: ode: Improve package style.
    
    * gnu/packages/game-development.scm (ode)[source]<snippet>: Remove trailing
    [arguments]: Use G-expressions.  Remove trailing #T from phase.
---
 gnu/packages/game-development.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index 9f196193ca..54bafdc847 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2401,18 +2401,17 @@ a.k.a. XenoCollide) as described in Game Programming 
Gems 7.")
        (modules '((guix build utils)))
        (snippet
         '(begin
-           (delete-file-recursively "libccd")
-           #t))))
+           (delete-file-recursively "libccd")))))
     (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON")
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'unbundle-libccd
-           (lambda _
-             (substitute* "CMakeLists.txt"
-               (("configure_file\\(libccd/.*") ""))
-             #t)))))
+     (list
+      #:configure-flags #~(list "-DODE_WITH_LIBCCD_SYSTEM=ON")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'unbundle-libccd
+            (lambda _
+              (substitute* "CMakeLists.txt"
+                (("configure_file\\(libccd/.*") "")))))))
     (inputs
      (list glu libccd mesa))
     (home-page "https://www.ode.org/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]