guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: love-nuklear: Install to lib/love.


From: guix-commits
Subject: 03/03: gnu: love-nuklear: Install to lib/love.
Date: Sat, 25 Sep 2021 05:17:08 -0400 (EDT)

lilyp pushed a commit to branch master
in repository guix.

commit 80aeefd517b1355ccd1accb09f0d998d84436beb
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Sep 25 11:14:52 2021 +0200

    gnu: love-nuklear: Install to lib/love.
    
    * gnu/packages/game-development.scm (love-nuklear)[#:phases]: Add
    ‘patch-cmake’ phase to change install destination.
---
 gnu/packages/game-development.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index 41de1fe..06bf404 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -840,7 +840,13 @@ programming language.")
     (build-system cmake-build-system)
     (arguments
      `(#:build-type "Release"
-       #:tests? #f))
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-cmake
+           (lambda _
+             (substitute* "CMakeLists.txt"
+               (("DESTINATION .") "DESTINATION lib/love")))))))
     (inputs
      `(("luajit" ,luajit)))
     (synopsis "Lightweight immediate mode GUI for LÖVE games")



reply via email to

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