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:
parent
e5667edf50
commit
f8ac788b95
1 changed files with 3 additions and 1 deletions
|
@ -12642,7 +12642,7 @@ get attention, so you get found.")
|
||||||
"1yy5r1r0hv0xggk8qd8bwk2zy7abpv89nikq4flqgi53fc5q9xl7"))))
|
"1yy5r1r0hv0xggk8qd8bwk2zy7abpv89nikq4flqgi53fc5q9xl7"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests provided
|
`(#:tests? #f ; no tests provided
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
|
@ -12666,6 +12666,8 @@ get attention, so you get found.")
|
||||||
(chdir "..")
|
(chdir "..")
|
||||||
(install-file "prince" bin)
|
(install-file "prince" bin)
|
||||||
(substitute* template (("\\$ROOT") out))
|
(substitute* template (("\\$ROOT") out))
|
||||||
|
(substitute* "src/seg009.c"
|
||||||
|
(("g_argv[0]") (string-append "\"" out "\"")))
|
||||||
(install-file template app)
|
(install-file template app)
|
||||||
(rename-file (string-append app "/SDLPoP.desktop.template")
|
(rename-file (string-append app "/SDLPoP.desktop.template")
|
||||||
(string-append app "/SDLPoP.desktop"))
|
(string-append app "/SDLPoP.desktop"))
|
||||||
|
|
Reference in a new issue