summaryrefslogtreecommitdiff
path: root/eclass/elisp.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-24 01:25:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-24 01:25:20 +0100
commitd80b870c42fbe218389ffaf86f0f2a39404deca1 (patch)
tree3be15ebcfb876f660fe2f2b0d02f8bca68e41622 /eclass/elisp.eclass
parentde59eb4554f5fe0d506a66bb96630a35f99c09f7 (diff)
gentoo auto-resync : 24:09:2024 - 01:25:19edge
Diffstat (limited to 'eclass/elisp.eclass')
-rw-r--r--eclass/elisp.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index 20139491c976..1fa8aab29753 100644
--- a/eclass/elisp.eclass
+++ b/eclass/elisp.eclass
@@ -1,4 +1,4 @@
-# Copyright 2002-2023 Gentoo Authors
+# Copyright 2002-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: elisp.eclass
@@ -205,5 +205,11 @@ elisp_pkg_postrm() {
elisp-site-regen
}
+elisp_pkg_info() {
+ if [[ -n ${_ELISP_EMACS_VERSION} ]]; then
+ echo "Built with Emacs version: ${_ELISP_EMACS_VERSION}"
+ fi
+}
+
EXPORT_FUNCTIONS src_{unpack,prepare,configure,compile,test,install} \
- pkg_{setup,postinst,postrm}
+ pkg_{setup,postinst,postrm,info}