[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: tome4: Use make-desktop-entry-file.
From: |
guix-commits |
Subject: |
03/04: gnu: tome4: Use make-desktop-entry-file. |
Date: |
Sat, 19 Oct 2019 06:46:24 -0400 (EDT) |
ambrevar pushed a commit to branch core-updates
in repository guix.
commit 96a320e5c7cb80d613e47eca48ef68641fa3344f
Author: Pierre Neidhardt <address@hidden>
Date: Mon May 27 09:04:55 2019 +0200
gnu: tome4: Use make-desktop-entry-file.
* gnu/packages/games.scm (tome4)[arguments]: Do it.
---
gnu/packages/games.scm | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 2ed505b..839fc15 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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 Maj’Eyal (ToME) RPG, featuring tactical turn-based