[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71319] [PATCH v2 2/3] gnu: emacs-ddskk: Improve package style.
From: |
gemmaro |
Subject: |
[bug#71319] [PATCH v2 2/3] gnu: emacs-ddskk: Improve package style. |
Date: |
Tue, 11 Jun 2024 20:20:30 +0900 |
* gnu/packages/emacs-xyz.scm (emacs-ddskk)[arguments]: Use newer package style.
Change-Id: Ie6ed743ded35b55fa55bb61d02353456a0f2c79f
---
gnu/packages/emacs-xyz.scm | 44 +++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 14be801e9e..e6f5eb356c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36856,28 +36856,28 @@ (define-public emacs-ddskk
(base32 "0vfdbab3ncns8wwrna8h6y2w0grkphzr9s65sgxq98lpqmxbbr72"))))
(build-system gnu-build-system)
(arguments
- `(#:modules ((guix build gnu-build-system)
- (guix build utils)
- (guix build emacs-utils))
- #:imported-modules (,@%gnu-build-system-modules
- (guix build emacs-utils))
- #:test-target "test"
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (make-file-writable "SKK-MK")
- (emacs-substitute-variables "SKK-MK"
- ("PREFIX" (assoc-ref outputs "out"))
- ("LISPDIR" '(expand-file-name "/share/emacs/site-lisp"
PREFIX))
- ("SKK_PREFIX" "")
- ("SKK_INFODIR" '(expand-file-name "info" PREFIX)))
- (for-each make-file-writable (find-files "./doc"))
- #t))
- (add-after 'unpack 'fix-test
- (lambda _
- (substitute* "Makefile"
- (("/bin/rm") (which "rm"))))))))
+ (list #:modules '((guix build gnu-build-system)
+ (guix build utils)
+ (guix build emacs-utils))
+ #:imported-modules `(,@%gnu-build-system-modules
+ (guix build emacs-utils))
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (make-file-writable "SKK-MK")
+ (emacs-substitute-variables "SKK-MK"
+ ("PREFIX" (assoc-ref outputs "out"))
+ ("LISPDIR" '(expand-file-name "/share/emacs/site-lisp"
PREFIX))
+ ("SKK_PREFIX" "")
+ ("SKK_INFODIR" '(expand-file-name "info" PREFIX)))
+ (for-each make-file-writable (find-files "./doc"))
+ #t))
+ (add-after 'unpack 'fix-test
+ (lambda _
+ (substitute* "Makefile"
+ (("/bin/rm") (which "rm"))))))))
(native-inputs
(list emacs-minimal ruby))
(home-page "https://github.com/skk-dev/ddskk")
--
2.45.1
- [bug#71319] [PATCH 0/2] gnu: emacs-ddskk: Update to 17.1 revision 0., gemmaro, 2024/06/02
- [bug#71319] [PATCH 1/2] gnu: emacs-ddskk: Update to 17.1 revision 0., gemmaro, 2024/06/02
- [bug#71319] [PATCH 2/2] gnu: emacs-ddskk: Improve package style., gemmaro, 2024/06/02
- [bug#71319] [PATCH v2 1/3] gnu: emacs-ddskk: Update to 17.1 revision 0., gemmaro, 2024/06/11
- [bug#71319] [PATCH v3 1/3] gnu: emacs-ddskk: Update to 17.1 revision 0., gemmaro, 2024/06/19
- [bug#71319] [PATCH v4 1/3] gnu: emacs-ddskk: Update to 17.1 revision 0., gemmaro, 2024/06/21