mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: kdoctools: Symlink some files referred to by different names.
* gnu/package/kde-frameworks.scm (kdoctools)[arguments] <#:phases>'add-symlinks': New phase.
This commit is contained in:
parent
b87633fc0f
commit
f96302abe7
1 changed files with 9 additions and 0 deletions
|
@ -1474,6 +1474,15 @@ (define-public kdoctools
|
|||
(("^.*xml/docbook/stylesheet.*$")
|
||||
(string-append "xml/xsl/docbook-xsl-"
|
||||
,(package-version docbook-xsl) "\n")))
|
||||
#t))
|
||||
(add-after 'install 'add-symlinks
|
||||
;; Some package(s) (e.g. kdelibs4support) refer to this locale by a
|
||||
;; different spelling.
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((xsl (string-append (assoc-ref outputs "out")
|
||||
"/share/kf5/kdoctools/customization/xsl/")))
|
||||
(symlink (string-append xsl "pt_br.xml")
|
||||
(string-append xsl "pt-BR.xml")))
|
||||
#t)))))
|
||||
(home-page "https://community.kde.org/Frameworks")
|
||||
(synopsis "Create documentation from DocBook")
|
||||
|
|
Loading…
Reference in a new issue