me
/
guix
Archived
1
0
Fork 0

gnu: tome4: Use make-desktop-entry-file.

* gnu/packages/games.scm (tome4)[arguments]: Do it.
master
Pierre Neidhardt 2019-05-27 09:04:55 +02:00
parent a9a507613b
commit 96a320e5c7
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 7 additions and 13 deletions

View File

@ -5259,19 +5259,13 @@ Crowther & Woods, its original authors, in 1995. It has been known as
(copy-recursively "game" (string-append data "/game")) (copy-recursively "game" (string-append data "/game"))
;; launcher ;; launcher
(mkdir-p applications) (mkdir-p applications)
(with-output-to-file (string-append applications "/" (make-desktop-entry-file
,name ".desktop") (string-append applications "/" ,name ".desktop")
(lambda () #:name "ToME4"
(display #:comment ,synopsis
(string-append #:exec ,name
"[Desktop Entry] #:icon icon
Name=ToME4 #:categories '("Game" "RolePlaying")))
Comment=" ,synopsis "\n"
"Exec=" ,name "\n"
"Icon=" icon "\n"
"Terminal=false
Type=Application
Categories=Game;RolePlaying;\n")))))
#t))))) #t)))))
(home-page "https://te4.org") (home-page "https://te4.org")
(description "Tales of MajEyal (ToME) RPG, featuring tactical turn-based (description "Tales of MajEyal (ToME) RPG, featuring tactical turn-based