guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-ebuild-mode: Build and install info fi


From: guix-commits
Subject: branch master updated: gnu: emacs-ebuild-mode: Build and install info file.
Date: Sun, 12 Apr 2020 07:02:23 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0e1a1ec  gnu: emacs-ebuild-mode: Build and install info file.
0e1a1ec is described below

commit 0e1a1ece9e93487b81cfa9b7ceeb82ab9f3cf556
Author: Nicolas Goaziou <address@hidden>
AuthorDate: Sun Apr 12 13:01:30 2020 +0200

    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".
---
 gnu/packages/emacs-xyz.scm | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 822a35e..2d23c72 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7897,16 +7897,28 @@ Lua programming language}.")
   (package
     (name "emacs-ebuild-mode")
     (version "1.50")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://dev.gentoo.org/~ulm/emacs/ebuild-mode";
-                    "-" version ".tar.xz"))
-              (file-name (string-append name "-" version ".tar.xz"))
-              (sha256
-               (base32
-                "0bgi98vx6ahxijw69kfdiy3rkjdg7yi6k3bkjyasak5920m6fj1d"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://dev.gentoo.org/~ulm/emacs/";
+             "ebuild-mode-" version ".tar.xz"))
+       (file-name (string-append name "-" version ".tar.xz"))
+       (sha256
+        (base32 "0bgi98vx6ahxijw69kfdiy3rkjdg7yi6k3bkjyasak5920m6fj1d"))))
     (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";)
     (synopsis "Major modes for Gentoo package files")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]