Subject: [PATCH] gnu: emacs-cape: Update to 2.0.

From: Cayetano Santos <[email-masked]>
Date: Mon, 7 Apr 2025 14:22:30 +0200

* gnu/packages/emacs-xyz.scm (emacs-cape): Update to 2.0.

[arguments]<#:phases>: No need to install info file explicitely in makeinfo.

Change-Id: I46abd7feb31ded4acc5769b1288393cb4f4f32d4
---
 gnu/packages/emacs-xyz.scm | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b0ed0fdd0b..7d6e8722e2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5690,7 +5690,7 @@ (define-public emacs-corfu-candidate-overlay
 (define-public emacs-cape
   (package
     (name "emacs-cape")
-    (version "1.9")
+    (version "2.0")
     (source
      (origin
        (method git-fetch)
@@ -5699,21 +5699,19 @@ (define-public emacs-cape
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0pcgxv011z0gl0g38yh2dr09sx17pwpbvydz2dzvm730k9lbyikh"))))
+        (base32 "0wm0y982zrfzzbdizpvr39c55bhp9y7l7w1sp8ps1b4ijbmgd0r9"))))
     (build-system emacs-build-system)
     (arguments
      (list
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'install 'makeinfo
+          (add-after 'unpack 'makeinfo
             (lambda _
               (invoke "emacs"
                       "--batch"
                       "--eval=(require 'ox-texinfo)"
                       "--eval=(find-file \"README.org\")"
-                      "--eval=(org-texinfo-export-to-info)")
-              (install-file "cape.info"
-                            (string-append #$output "/share/info")))))))
+                      "--eval=(org-texinfo-export-to-info)"))))))
     (native-inputs (list texinfo))
     (propagated-inputs (list emacs-compat))
     (home-page "https://github.com/minad/cape")

base-commit: 6408ad2464dc778a609ffcfb29e2f6026bc4f27e
-- 
2.49.0