gnu: texmacs: Install desktop file.
* gnu/packages/text-editors.scm (texmacs)[arguments]: Add ‘install-desktop-file’ phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
c356c751e2
commit
d5909136b8
1 changed files with 9 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2020 Tom Zander <tomz@freedommail.ch>
|
||||
;;; Copyright © 2020 Mark Meyer <mark@ofosos.org>
|
||||
;;; Copyright © 2020 Maxime Devos <maximedevos@telenet.be>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -788,6 +789,14 @@ (define-public texmacs
|
|||
(("/usr/share")
|
||||
(string-append out "/share")))
|
||||
#t)))
|
||||
(add-after 'install 'install-desktop-file
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Install desktop file.
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(apps (string-append out "/share/applications"))
|
||||
(source "TeXmacs/misc/mime/texmacs.desktop"))
|
||||
(install-file source apps)
|
||||
#t)))
|
||||
(add-before 'configure 'gzip-flags
|
||||
(lambda _
|
||||
(substitute* "Makefile.in"
|
||||
|
|
Loading…
Reference in a new issue