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:
parent
6f0ae1439c
commit
5dc5c5ea41
|
@ -275,7 +275,13 @@ designed to be used in a generic text renderer.")
|
||||||
(assoc-ref %outputs "out") "/lib"))
|
(assoc-ref %outputs "out") "/lib"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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/")
|
(home-page "https://fbreader.org/")
|
||||||
(synopsis "E-Book reader")
|
(synopsis "E-Book reader")
|
||||||
(description "@code{fbreader} is an E-Book reader. It supports the
|
(description "@code{fbreader} is an E-Book reader. It supports the
|
||||||
|
|
Loading…
Reference in New Issue