commit: 6f99bb9cd86865404f652a895b835c862df04af9
Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 26 08:47:04 2023 +0000
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sun Nov 26 08:49:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f99bb9c
net-mail/mu: install elisp site file
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
net-mail/mu/{mu-1.10.7.ebuild => mu-1.10.7-r1.ebuild} | 10 +++++++---
net-mail/mu/{mu-1.10.8.ebuild => mu-1.10.8-r1.ebuild} | 10 +++++++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/net-mail/mu/mu-1.10.7.ebuild b/net-mail/mu/mu-1.10.7-r1.ebuild
similarity index 92%
rename from net-mail/mu/mu-1.10.7.ebuild
rename to net-mail/mu/mu-1.10.7-r1.ebuild
index 2acec2e5ddb5..f637744311ea 100644
--- a/net-mail/mu/mu-1.10.7.ebuild
+++ b/net-mail/mu/mu-1.10.7-r1.ebuild
@@ -61,9 +61,13 @@ src_install() {
docompress -x /usr/share/doc/${PF}/NEWS.org
dodoc NEWS.org
- # Same as above.
- docompress -x /usr/share/doc/${PF}/mu4e-about.org
- dodoc mu4e/mu4e-about.org
+ if use emacs; then
+ # Same as above.
+ docompress -x /usr/share/doc/${PF}/mu4e-about.org
+ dodoc mu4e/mu4e-about.org
+
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+ fi
}
pkg_preinst() {
diff --git a/net-mail/mu/mu-1.10.8.ebuild b/net-mail/mu/mu-1.10.8-r1.ebuild
similarity index 92%
rename from net-mail/mu/mu-1.10.8.ebuild
rename to net-mail/mu/mu-1.10.8-r1.ebuild
index 2acec2e5ddb5..f637744311ea 100644
--- a/net-mail/mu/mu-1.10.8.ebuild
+++ b/net-mail/mu/mu-1.10.8-r1.ebuild
@@ -61,9 +61,13 @@ src_install() {
docompress -x /usr/share/doc/${PF}/NEWS.org
dodoc NEWS.org
- # Same as above.
- docompress -x /usr/share/doc/${PF}/mu4e-about.org
- dodoc mu4e/mu4e-about.org
+ if use emacs; then
+ # Same as above.
+ docompress -x /usr/share/doc/${PF}/mu4e-about.org
+ dodoc mu4e/mu4e-about.org
+
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+ fi
}
pkg_preinst() {