gnu: sdlpop: Fix executable location.

* gnu/packages/games.scm (sdlpop)[arguments]: Substitute location of executable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
phodina 2021-11-08 18:45:09 +00:00 committed by Nicolas Goaziou
parent e5667edf50
commit f8ac788b95
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -12666,6 +12666,8 @@ (define-public sdlpop
(chdir "..")
(install-file "prince" bin)
(substitute* template (("\\$ROOT") out))
(substitute* "src/seg009.c"
(("g_argv[0]") (string-append "\"" out "\"")))
(install-file template app)
(rename-file (string-append app "/SDLPoP.desktop.template")
(string-append app "/SDLPoP.desktop"))