gnu: senpai: Install desktop file.

* gnu/packages/messaging.scm (senpai)[arguments]<#:phases>: Add
'install-desktop-file phase.

Change-Id: Ib2b84639a3bfa5ff211eda794a99370a1c39061c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Luis Guilherme Coelho 2025-03-09 13:44:30 -03:00 committed by Sharlatan Hellseher
parent ed89af9458
commit 696e4d75b4
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3746,7 +3746,12 @@ a text snippet), using @code{libphonenumber}.")
man1) man1)
(install-file (install-file
(string-append "src/" unpack-path "/doc/senpai.5") (string-append "src/" unpack-path "/doc/senpai.5")
man5))))))) man5))))
(add-after 'install 'install-desktop-file
(lambda* (#:key unpack-path #:allow-other-keys)
(install-file
(string-append "src/" unpack-path "/contrib/senpai.desktop")
(string-append #$output "/share/applications")))))))
(native-inputs (native-inputs
(list go-codeberg-org-emersion-go-scfg (list go-codeberg-org-emersion-go-scfg
go-git-sr-ht-rockorager-vaxis go-git-sr-ht-rockorager-vaxis