diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2017-10-06 11:41:43 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2017-10-13 13:53:51 +0200 |
commit | f96302abe7c9009eceeb65d06ccb67a80c9bb1a6 (patch) | |
tree | a0d8433970d54d463e2414ed63e9ae7555dec736 /gnu/packages/kde-frameworks.scm | |
parent | b87633fc0f98864ecdd96a6c55c7f89e8b2c598d (diff) | |
download | patches-f96302abe7c9009eceeb65d06ccb67a80c9bb1a6.tar patches-f96302abe7c9009eceeb65d06ccb67a80c9bb1a6.tar.gz |
gnu: kdoctools: Symlink some files referred to by different names.
* gnu/package/kde-frameworks.scm (kdoctools)[arguments]
<#:phases>'add-symlinks': New phase.
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 3bffeb26b2..3495164c2e 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1474,6 +1474,15 @@ application crashes.") (("^.*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") |