GNU bug report logs -
#60551
[PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file.
Previous Next
Reported by: tumashu <at> 163.com
Date: Wed, 4 Jan 2023 12:48:03 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Feng Shu <tumashu <at> 163.com>
* gnu/packages/emacs-xyz.scm (emacs-pyim-basedict) [arguments]: New field.
[#:phases]: Install pyim-basedict.pyim file.
---
gnu/packages/emacs-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 417e9ee1f5..5ba150c815 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16624,6 +16624,17 @@ (define-public emacs-pyim-basedict
(sha256
(base32 "0fzyh8qmicq2vy9j1ca708ir67dpxp1cwjaw0sw469p24cvj12yy"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-basedict-file
+ (lambda _
+ (install-file "pyim-basedict.pyim"
+ (string-append
+ #$output
+ "/share/emacs/site-lisp/pyim-basedict-"
+ #$version)))))))
(propagated-inputs
(list emacs-pyim))
(home-page "https://github.com/tumashu/pyim-basedict")
--
2.38.1
This bug report was last modified 2 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.