summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-05-22 22:54:44 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-05-22 23:01:04 +0200
commit49fcf410ac3310c44777dbd788c7b6c98a41d276 (patch)
treeaddb065023ee07bd6ad74b0b37402dfcd7fc464e /app-emacs
parentsys-devel/gcc: add 9.4.1_p20220520 (diff)
downloadgentoo-49fcf410ac3310c44777dbd788c7b6c98a41d276.tar.gz
gentoo-49fcf410ac3310c44777dbd788c7b6c98a41d276.tar.bz2
gentoo-49fcf410ac3310c44777dbd788c7b6c98a41d276.zip
app-emacs/doom-themes: new package; add version 2.1.6_p20220505
2022.05.05 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/doom-themes/Manifest1
-rw-r--r--app-emacs/doom-themes/doom-themes-2.1.6_p20220505.ebuild32
-rw-r--r--app-emacs/doom-themes/files/50doom-themes-gentoo.el3
-rw-r--r--app-emacs/doom-themes/metadata.xml13
4 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/doom-themes/Manifest b/app-emacs/doom-themes/Manifest
new file mode 100644
index 000000000000..f7216fad2533
--- /dev/null
+++ b/app-emacs/doom-themes/Manifest
@@ -0,0 +1 @@
+DIST doom-themes-2.1.6_p20220505.tar.gz 128520 BLAKE2B f7b2f060d2b68427bd9f375cdd8d009d68ffd0839f46aecb41ede32bde815f2b4df68a2df8af9d09c055f4443b4abcaecc0046b4449ffce9449956cf9c43755b SHA512 bc450d964d45e123b96efb6f96e153ed0d4530374197bef484b41b18f51ae49fc7c7cea2aa0aa599992709706510f725ba1943176ae02cafb16b2f2d3b7f824a
diff --git a/app-emacs/doom-themes/doom-themes-2.1.6_p20220505.ebuild b/app-emacs/doom-themes/doom-themes-2.1.6_p20220505.ebuild
new file mode 100644
index 000000000000..8c3676406d92
--- /dev/null
+++ b/app-emacs/doom-themes/doom-themes-2.1.6_p20220505.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=e9bdd137116fa2037ed60037b8421cf68c64888d
+NEED_EMACS=25.1
+
+inherit elisp
+
+DESCRIPTION="Opinionated megapack of modern color-themes for GNU Emacs"
+HOMEPAGE="https://github.com/doomemacs/themes/"
+SRC_URI="https://github.com/doomemacs/themes/archive/${H}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/themes-${H}
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ elisp_src_install
+
+ insinto "${SITELISP}"/${PN}
+ doins -r themes
+}
diff --git a/app-emacs/doom-themes/files/50doom-themes-gentoo.el b/app-emacs/doom-themes/files/50doom-themes-gentoo.el
new file mode 100644
index 000000000000..072e7e31bcc3
--- /dev/null
+++ b/app-emacs/doom-themes/files/50doom-themes-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(when (boundp 'custom-theme-load-path)
+ (add-to-list 'custom-theme-load-path "@SITELISP@/themes/"))
diff --git a/app-emacs/doom-themes/metadata.xml b/app-emacs/doom-themes/metadata.xml
new file mode 100644
index 000000000000..20205cdd883d
--- /dev/null
+++ b/app-emacs/doom-themes/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <upstream>
+ <bugs-to>https://github.com/doomemacs/themes/issues/</bugs-to>
+ <remote-id type="github">doomemacs/themes</remote-id>
+ </upstream>
+</pkgmetadata>