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"))
;; launcher
(mkdir-p applications)
(with-output-to-file (string-append applications "/"
,name ".desktop")
(lambda ()
(display
(string-append
"[Desktop Entry]
Name=ToME4
Comment=" ,synopsis "\n"
"Exec=" ,name "\n"
"Icon=" icon "\n"
"Terminal=false
Type=Application
Categories=Game;RolePlaying;\n")))))
(make-desktop-entry-file
(string-append applications "/" ,name ".desktop")
#:name "ToME4"
#:comment ,synopsis
#:exec ,name
#:icon icon
#:categories '("Game" "RolePlaying")))
#t)))))
(home-page "https://te4.org")
(description "Tales of MajEyal (ToME) RPG, featuring tactical turn-based