commit:     1b2314b134b62d2015bb0da946c1fd05cfef4b57
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 11 23:08:48 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 23:14:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2314b1

app-emacs/spacemacs-theme: new package; add version 0.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/spacemacs-theme/Manifest                   |  1 +
 .../files/50spacemacs-theme-gentoo.el                |  2 ++
 app-emacs/spacemacs-theme/metadata.xml               | 13 +++++++++++++
 app-emacs/spacemacs-theme/spacemacs-theme-0.2.ebuild | 20 ++++++++++++++++++++
 4 files changed, 36 insertions(+)

diff --git a/app-emacs/spacemacs-theme/Manifest 
b/app-emacs/spacemacs-theme/Manifest
new file mode 100644
index 000000000000..98be3987e3c6
--- /dev/null
+++ b/app-emacs/spacemacs-theme/Manifest
@@ -0,0 +1 @@
+DIST spacemacs-theme-0.2.tar.gz 688604 BLAKE2B 
1806fbe9b2b1b9a625778415aa6df74e4acc62279d811ff782620a7bb18e6a1327b16dacc174267c61fd959191f2ccaecaaf08f30ae5bb2844652bf92919cda2
 SHA512 
250f15e11c38e16930107bc2bf0c265876ba74383743714c0aa6bdb270f55cb14ee41c1f2c4d1008a6d90d3c361f44f363d36af0fb0e92087df8d320e0a888a0

diff --git a/app-emacs/spacemacs-theme/files/50spacemacs-theme-gentoo.el 
b/app-emacs/spacemacs-theme/files/50spacemacs-theme-gentoo.el
new file mode 100644
index 000000000000..14e3d2142040
--- /dev/null
+++ b/app-emacs/spacemacs-theme/files/50spacemacs-theme-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'custom-theme-load-path (file-name-as-directory "@SITELISP@"))

diff --git a/app-emacs/spacemacs-theme/metadata.xml 
b/app-emacs/spacemacs-theme/metadata.xml
new file mode 100644
index 000000000000..6a0340f0ac33
--- /dev/null
+++ b/app-emacs/spacemacs-theme/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>[email protected]</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/nashamri/spacemacs-theme/issues/</bugs-to>
+    <remote-id type="github">nashamri/spacemacs-theme</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/app-emacs/spacemacs-theme/spacemacs-theme-0.2.ebuild 
b/app-emacs/spacemacs-theme/spacemacs-theme-0.2.ebuild
new file mode 100644
index 000000000000..634cda8539e9
--- /dev/null
+++ b/app-emacs/spacemacs-theme/spacemacs-theme-0.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="Emacs color theme that started as a theme for Spacemacs"
+HOMEPAGE="https://github.com/nashamri/spacemacs-theme/";
+SRC_URI="https://github.com/nashamri/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.md img )
+ELISP_REMOVE="spacemacs-theme-pkg.el"
+SITEFILE="50${PN}-gentoo.el"

Reply via email to