[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: fbreader: Install desktop file.
From: |
guix-commits |
Subject: |
03/03: gnu: fbreader: Install desktop file. |
Date: |
Sun, 30 Dec 2018 05:36:52 -0500 (EST) |
efraim pushed a commit to branch staging
in repository guix.
commit 5dc5c5ea41fd72b0999c043148615bb2e585fe85
Author: Efraim Flashner <address@hidden>
Date: Sun Dec 30 12:21:31 2018 +0200
gnu: fbreader: Install desktop file.
* gnu/packages/ebook.scm (fbreader)[arguments]: Add phase to remove
hardcoded paths for desktop dir.
---
gnu/packages/ebook.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 980d574..c3805a7 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -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