mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-05 19:11:43 -05:00
gnu: cdogs-sdl: Patch assets directory.
* gnu/packages/games.scm (cdogs-sdl)[arguments]: Add phase 'patch-install-directory to ensure data files are installed there.
This commit is contained in:
parent
b797e6906b
commit
ae4da4c81f
1 changed files with 9 additions and 1 deletions
|
@ -6523,7 +6523,15 @@ (define-public cdogs-sdl
|
|||
(list
|
||||
#:configure-flags
|
||||
#~(list (string-append "-DCDOGS_DATA_DIR=" #$output
|
||||
"/share/cdogs-sdl/"))))
|
||||
"/share/cdogs-sdl/"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-install-directory
|
||||
(lambda _
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("set\\(DATA_INSTALL_DIR \".\"\\)")
|
||||
(string-append "set(DATA_INSTALL_DIR \""
|
||||
#$output "/share/cdogs-sdl\")"))))))))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue