[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: libreoffice: Add 'libreoffice' symlink.
From: |
ng0 |
Subject: |
[PATCH] gnu: libreoffice: Add 'libreoffice' symlink. |
Date: |
Mon, 5 Dec 2016 12:25:51 +0000 |
* gnu/packages/libreoffice.scm (libreoffice)[arguments] Create symlink to
libreoffice in new phase.
---
gnu/packages/libreoffice.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index e02e4f4cd..245e932d4 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014 John Darrington <address@hidden>
;;; Copyright © 2015 Andreas Enge <address@hidden>
;;; Copyright © 2016 Efraim Flashner <address@hidden>
+;;; Copyright © 2016 ng0 <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -828,6 +829,15 @@ and to return information on pronunciations, meanings and
synonyms.")
(symlink
(string-append out "/lib/libreoffice/program/soffice")
(string-append bin "/soffice")))
+ #t))
+ (add-after 'bin-install 'symlink-soffice
+ ;; Create a symlink bin/libreoffice to the executable script.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (symlink
+ (string-append out "/lib/libreoffice/program/soffice")
+ (string-append bin "/libreoffice")))
#t)))
#:configure-flags
(list
--
2.11.0
- [PATCH] Add libreoffice symlink to libreoffice, ng0, 2016/12/05
- [PATCH] gnu: libreoffice: Add 'libreoffice' symlink.,
ng0 <=
- Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., Hartmut Goebel, 2016/12/05
- Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., ng0, 2016/12/05
- Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., Hartmut Goebel, 2016/12/06
- Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., Alex Kost, 2016/12/06
- [PATCH] libreoffice symlink, v2, ng0, 2016/12/06
- [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., ng0, 2016/12/06
- [PATCH] libreoffice symlink, v3, ng0, 2016/12/06
- [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., ng0, 2016/12/06
- Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., Alex Kost, 2016/12/06
- Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink., ng0, 2016/12/06