mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 11:09:41 -05:00
gnu: emacs-ebuild-mode: Build and install info file.
* gnu/packages/emacs-xyz.scm (emacs-ebuild-mode)[arguments]: Build and install documentation in a new phase. [native-inputs]: Add "texinfo".
This commit is contained in:
parent
94475a4552
commit
0e1a1ece9e
1 changed files with 21 additions and 9 deletions
|
@ -7897,16 +7897,28 @@ (define-public emacs-ebuild-mode
|
||||||
(package
|
(package
|
||||||
(name "emacs-ebuild-mode")
|
(name "emacs-ebuild-mode")
|
||||||
(version "1.50")
|
(version "1.50")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append
|
(method url-fetch)
|
||||||
"https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
|
(uri (string-append
|
||||||
"-" version ".tar.xz"))
|
"https://dev.gentoo.org/~ulm/emacs/"
|
||||||
(file-name (string-append name "-" version ".tar.xz"))
|
"ebuild-mode-" version ".tar.xz"))
|
||||||
(sha256
|
(file-name (string-append name "-" version ".tar.xz"))
|
||||||
(base32
|
(sha256
|
||||||
"0bgi98vx6ahxijw69kfdiy3rkjdg7yi6k3bkjyasak5920m6fj1d"))))
|
(base32 "0bgi98vx6ahxijw69kfdiy3rkjdg7yi6k3bkjyasak5920m6fj1d"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'install-doc
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(invoke "make" "ebuild-mode.info")
|
||||||
|
(install-file "ebuild-mode.info"
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/info"))
|
||||||
|
#t)))))
|
||||||
|
(native-inputs
|
||||||
|
`(("texinfo" ,texinfo)))
|
||||||
(home-page "https://devmanual.gentoo.org")
|
(home-page "https://devmanual.gentoo.org")
|
||||||
(synopsis "Major modes for Gentoo package files")
|
(synopsis "Major modes for Gentoo package files")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue