gnu: fbreader: Install desktop file.

* gnu/packages/ebook.scm (fbreader)[arguments]: Add phase to remove
hardcoded paths for desktop dir.
This commit is contained in:
Efraim Flashner 2018-12-30 12:21:31 +02:00
parent 6f0ae1439c
commit 5dc5c5ea41
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 7 additions and 1 deletions

View File

@ -275,7 +275,13 @@ designed to be used in a generic text renderer.")
(assoc-ref %outputs "out") "/lib"))
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(delete 'configure)
(add-after 'unpack 'fix-install-locations
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "fbreader/desktop/Makefile"
(("/usr") out))
#t))))))
(home-page "https://fbreader.org/")
(synopsis "E-Book reader")
(description "@code{fbreader} is an E-Book reader. It supports the