tuxpaint: Fix .desktop and icon installation.

* gnu/packages/games.scm (tuxpaint)[arguments]: 'GNOME_PREFIX' ->
'KDE_PREFIX'.  Add 'no-sys-cache phase.
master
Eric Bavier 2018-12-01 11:13:25 -06:00
parent fb0b645658
commit f88c0ab831
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
1 changed files with 7 additions and 1 deletions

View File

@ -3299,12 +3299,18 @@ safety of the Chromium vessel.")
"GPERF=gperf" "CC=gcc"
"SDL_PCNAME=sdl SDL_image SDL_mixer SDL_ttf"
,(string-append "PREFIX=" %output)
"GNOME_PREFIX=$(PREFIX)"
"KDE_PREFIX=$(PREFIX)/share/applications"
"KDE_ICON_PREFIX=$(PREFIX)/share/icons/"
"COMPLETIONDIR=$(PREFIX)/etc/bash_completion.d")
#:parallel-build? #f ;fails on some systems
#:tests? #f ;No tests
#:phases (modify-phases %standard-phases
(delete 'configure) ;no configure phase
(add-before 'install 'no-sys-cache
(lambda _ ;do not rebuild system conf cache
(substitute* "Makefile"
(("kbuildsycoca4") ""))
#t))
(add-after 'install 'fix-import
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))