summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-08-25 01:28:16 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-08-25 01:47:59 +0200
commit6a07cd53a7fdc6ff8433975a97db7a88e4f4a17e (patch)
tree16ab93115fc1d50c1ce9a8f19c5cf3d29a941c16 /app-emacs
parentdev-python/ytmusicapi: bump to 1.8.1 (diff)
downloadgentoo-6a07cd53a7fdc6ff8433975a97db7a88e4f4a17e.tar.gz
gentoo-6a07cd53a7fdc6ff8433975a97db7a88e4f4a17e.tar.bz2
gentoo-6a07cd53a7fdc6ff8433975a97db7a88e4f4a17e.zip
app-emacs/zenburn-theme: bump to 2.8.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/zenburn-theme/Manifest1
-rw-r--r--app-emacs/zenburn-theme/zenburn-theme-2.8.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-emacs/zenburn-theme/Manifest b/app-emacs/zenburn-theme/Manifest
index 2a38b0f0c4ef..e739e18c5af9 100644
--- a/app-emacs/zenburn-theme/Manifest
+++ b/app-emacs/zenburn-theme/Manifest
@@ -1 +1,2 @@
DIST zenburn-emacs-2.7.0.tar.gz 122812 BLAKE2B 2c5698de664dfbd1623f6f8358214cc4458323784e94cdd9c2d7ea47231466c984bf4b0399db4705be8acab53fb2ee1c30f7ae9f2b53f9a2bc825a9f19bb9a95 SHA512 4c125e19c2c223b7eb678be261d2e1240d9269c155ad5adc432e268c12b82c4610b09fd896c9d45361def8f132dcb45c0e46728f6ffb1f0181267b44fb5927e8
+DIST zenburn-emacs-2.8.0.tar.gz 123540 BLAKE2B ddc41b6b32a5b3864b400d0c2b2193515f60fc78b876df3eb28efa537d72ee0640c040935a13151385b6b9c4e9e45b9f8abe865d30c622a7e5297281c219deb0 SHA512 8d8729a2bbb7f829916def7d1c7178d0278ad1cbc883c7598dfca65277649f9eaac02974e9051672aad4cb3923a8f2726a86feced7cdc1aba487248332ca0a96
diff --git a/app-emacs/zenburn-theme/zenburn-theme-2.8.0.ebuild b/app-emacs/zenburn-theme/zenburn-theme-2.8.0.ebuild
new file mode 100644
index 000000000000..c84c101ecdcc
--- /dev/null
+++ b/app-emacs/zenburn-theme/zenburn-theme-2.8.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp readme.gentoo-r1
+
+MY_PN="${PN%-*}-emacs"
+DESCRIPTION="Zenburn color theme for Emacs"
+HOMEPAGE="https://github.com/bbatsov/zenburn-emacs"
+SRC_URI="https://github.com/bbatsov/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ insinto "${SITEETC}/${PN}"
+ doins zenburn-theme.el
+
+ 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
+ docompress -x /usr/share/doc/${PF}/screenshots
+
+ local DOC_CONTENTS="To enable zenburn by default, initialise it
+ in your ~/.emacs:
+ \n\t(load-theme 'zenburn)"
+ readme.gentoo_create_doc
+}