summaryrefslogtreecommitdiff
path: root/app-emacs/zenburn-theme
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-20 12:25:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-20 12:25:59 +0100
commitc431a44e3cfa102e5ef2c9d6bbac48e28c9b15cb (patch)
tree763b8a8b758bcb259d7f7325aac3170f62061933 /app-emacs/zenburn-theme
parent1f3e27f8fde0df9246ce9151ced7d2dd4e96cb07 (diff)
gentoo auto-resync : 20:08:2024 - 12:25:59
Diffstat (limited to 'app-emacs/zenburn-theme')
-rw-r--r--app-emacs/zenburn-theme/Manifest4
-rw-r--r--app-emacs/zenburn-theme/files/50zenburn-theme-gentoo.el1
-rw-r--r--app-emacs/zenburn-theme/zenburn-theme-2.7.0-r1.ebuild (renamed from app-emacs/zenburn-theme/zenburn-theme-2.7.0.ebuild)8
3 files changed, 9 insertions, 4 deletions
diff --git a/app-emacs/zenburn-theme/Manifest b/app-emacs/zenburn-theme/Manifest
index 1e934eba074c..60ea2e3642d7 100644
--- a/app-emacs/zenburn-theme/Manifest
+++ b/app-emacs/zenburn-theme/Manifest
@@ -1,4 +1,4 @@
-AUX 50zenburn-theme-gentoo.el 50 BLAKE2B 1826f436560a7f188c1d4b44bc0896070648cc1c181201ed7e721a6e951815c32748b69589584e6d3670df8a0ea2526d303335113fb70743a5738a0e3836b17f SHA512 eaec77b8082f67de294778560dd5a71523e49221827d84c0fb3b8ab0656688f33302b5f3a66435704bf99494b5e4d320e650274f8125144eff8f160809565610
+AUX 50zenburn-theme-gentoo.el 95 BLAKE2B 662c05633c8d8c31bc589cff676ce46015f11c77b69a11cab3656ee48f6d10688c991305329080bf8a9189c9d978770e2d357b282598d2db00dec3f240e1a8dd SHA512 4407ed1cd9abdb101802495b5df0b516204f1091f254c4d625157127ac2b89402aaedb938be7e89108db724cb89c7cc66f9e62347117975516a7364ebfbaa7b5
DIST zenburn-emacs-2.7.0.tar.gz 122812 BLAKE2B 2c5698de664dfbd1623f6f8358214cc4458323784e94cdd9c2d7ea47231466c984bf4b0399db4705be8acab53fb2ee1c30f7ae9f2b53f9a2bc825a9f19bb9a95 SHA512 4c125e19c2c223b7eb678be261d2e1240d9269c155ad5adc432e268c12b82c4610b09fd896c9d45361def8f132dcb45c0e46728f6ffb1f0181267b44fb5927e8
-EBUILD zenburn-theme-2.7.0.ebuild 869 BLAKE2B 516873da1376d68cb9022c3f9643bf1632ff63c20c4014a01987e795209079fd00046b2cf65cc7296475cb2597f06f338cf95cfebf2a29629ac8960f19528fc0 SHA512 927fe4fc76a61b7295fcf2a25f02a219f13b5ff99296cc49c7f47a609c35dd37d489934ef3ae12f1ff6e31f2faabb1924854674165c805e2927544e382d94286
+EBUILD zenburn-theme-2.7.0-r1.ebuild 993 BLAKE2B 0bc3c87f3f522ef34eaf31ce1db1cb5ef4b40c5f4d151d64c42909d6b816be399d11dcf8de82e95eae7cfb55648a4fa11bf9e2f20caa0212eb55e23c9331472a SHA512 0e0564af01fa50b74e1b3472f08f9d67489d11c86b873564d04d67d4fc4e627ff2b3aee944f47aebe714269d0d31dcabfd7de3785654ac625f4a6ae5ea3c3905
MISC metadata.xml 820 BLAKE2B e4af76dfe9eaed4056a10b982cd8fa966b8400e61eadd3e0f8b4fe5b2069fbbec7d3647f34b5140479aa26417b79a19bf5ca46b30ba2e5b12aa9b4714e249741 SHA512 4795a5dcb52b0959afcc5a943371ca1635e7d374991ef08b73b9673f6b7260a627958e3455e49b0153d88b90ea5402ae46d83c2da68c0113223d2db531e3b3b5
diff --git a/app-emacs/zenburn-theme/files/50zenburn-theme-gentoo.el b/app-emacs/zenburn-theme/files/50zenburn-theme-gentoo.el
index 002aaf546293..0f3b6bf3b24a 100644
--- a/app-emacs/zenburn-theme/files/50zenburn-theme-gentoo.el
+++ b/app-emacs/zenburn-theme/files/50zenburn-theme-gentoo.el
@@ -1 +1,2 @@
(add-to-list 'custom-theme-load-path "@SITEETC@")
+(add-to-list 'custom-safe-themes "@SHA256@")
diff --git a/app-emacs/zenburn-theme/zenburn-theme-2.7.0.ebuild b/app-emacs/zenburn-theme/zenburn-theme-2.7.0-r1.ebuild
index 4b8491dc0111..c84c101ecdcc 100644
--- a/app-emacs/zenburn-theme/zenburn-theme-2.7.0.ebuild
+++ b/app-emacs/zenburn-theme/zenburn-theme-2.7.0-r1.ebuild
@@ -20,7 +20,11 @@ SITEFILE="50${PN}-gentoo.el"
src_install() {
insinto "${SITEETC}/${PN}"
doins zenburn-theme.el
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ local sha256=$(sha256sum zenburn-theme.el) || die
+ sed "s:@SHA256@:${sha256%% *}:" "${FILESDIR}/${SITEFILE}" \
+ > "${T}/${SITEFILE}" || die
+ elisp-site-file-install "${T}/${SITEFILE}"
dodoc CHANGELOG.md CONTRIBUTING.md README.md
dodoc -r screenshots
@@ -28,6 +32,6 @@ src_install() {
local DOC_CONTENTS="To enable zenburn by default, initialise it
in your ~/.emacs:
- \n\t(load-theme 'zenburn 'no-confirm)"
+ \n\t(load-theme 'zenburn)"
readme.gentoo_create_doc
}