From 80aeefd517b1355ccd1accb09f0d998d84436beb Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Sat, 25 Sep 2021 11:14:52 +0200 Subject: gnu: love-nuklear: Install to lib/love. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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(-) (limited to 'gnu/packages/game-development.scm') diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 41de1fe722..06bf4041df 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -840,7 +840,13 @@ (define-public love-nuklear (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") -- cgit v1.2.3