gnu: emacs-org: Install documentation.

* gnu/packages/emacs-xyz.scm (emacs-org)[arguments]: Add a phase to install
info file and refcard.
This commit is contained in:
Nicolas Goaziou 2020-04-12 13:21:10 +02:00
parent 0e1a1ece9e
commit f741e914eb
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8488,6 +8488,17 @@ (define-public emacs-org
(sha256
(base32 "0jwpgfzjvf1hd3mx582pw86hysdryaqzp69hk6azi9kmq4bzk87d"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'install-documentation
(lambda* (#:key outputs #:allow-other-keys)
(let* ((share (string-append (assoc-ref outputs "out") "/share"))
(info-dir (string-append share "/info"))
(doc-dir (string-append share "/doc/" ,name "-" ,version)))
(install-file "org" info-dir)
(install-file "orgcard.pdf" doc-dir))
#t)))))
(home-page "https://orgmode.org/")
(synopsis "Outline-based notes management and organizer")
(description "Org is an Emacs mode for keeping notes, maintaining TODO