diff options
Diffstat (limited to 'app-emacs/zenburn-theme')
-rw-r--r-- | app-emacs/zenburn-theme/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/zenburn-theme/files/50zenburn-theme-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/zenburn-theme/metadata.xml | 20 | ||||
-rw-r--r-- | app-emacs/zenburn-theme/zenburn-theme-2.7.0.ebuild | 33 |
4 files changed, 58 insertions, 0 deletions
diff --git a/app-emacs/zenburn-theme/Manifest b/app-emacs/zenburn-theme/Manifest new file mode 100644 index 000000000000..1e934eba074c --- /dev/null +++ b/app-emacs/zenburn-theme/Manifest @@ -0,0 +1,4 @@ +AUX 50zenburn-theme-gentoo.el 50 BLAKE2B 1826f436560a7f188c1d4b44bc0896070648cc1c181201ed7e721a6e951815c32748b69589584e6d3670df8a0ea2526d303335113fb70743a5738a0e3836b17f SHA512 eaec77b8082f67de294778560dd5a71523e49221827d84c0fb3b8ab0656688f33302b5f3a66435704bf99494b5e4d320e650274f8125144eff8f160809565610 +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 +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 new file mode 100644 index 000000000000..002aaf546293 --- /dev/null +++ b/app-emacs/zenburn-theme/files/50zenburn-theme-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'custom-theme-load-path "@SITEETC@") diff --git a/app-emacs/zenburn-theme/metadata.xml b/app-emacs/zenburn-theme/metadata.xml new file mode 100644 index 000000000000..3e64e22fe991 --- /dev/null +++ b/app-emacs/zenburn-theme/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<longdescription> + Zenburn for Emacs is a direct port of the popular Zenburn theme + for vim, developed by Jani Nurminen. It's my personal belief (and that + of its many users I presume) that it's one of the best low contrast + color themes out there and that it is exceptionally easy on the eyes. + Zenburn is a low-contrast color theme. It's easy for your eyes and + designed to keep you in the zone for long programming sessions. +</longdescription> +<stabilize-allarches/> +<upstream> + <remote-id type="github">bbatsov/zenburn-emacs</remote-id> +</upstream> +</pkgmetadata> diff --git a/app-emacs/zenburn-theme/zenburn-theme-2.7.0.ebuild b/app-emacs/zenburn-theme/zenburn-theme-2.7.0.ebuild new file mode 100644 index 000000000000..4b8491dc0111 --- /dev/null +++ b/app-emacs/zenburn-theme/zenburn-theme-2.7.0.ebuild @@ -0,0 +1,33 @@ +# 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 + elisp-site-file-install "${FILESDIR}/${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 'no-confirm)" + readme.gentoo_create_doc +} |