commit:     3c74269bb997377f978bc45b2b58d3d2b8fb81ac
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 13:32:47 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 14:19:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c74269b

app-emacs/spacemacs-theme: minor tweaks

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

 app-emacs/spacemacs-theme/spacemacs-theme-0.3.ebuild | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/app-emacs/spacemacs-theme/spacemacs-theme-0.3.ebuild 
b/app-emacs/spacemacs-theme/spacemacs-theme-0.3.ebuild
index 5b28ba56e70f..0b700812090e 100644
--- a/app-emacs/spacemacs-theme/spacemacs-theme-0.3.ebuild
+++ b/app-emacs/spacemacs-theme/spacemacs-theme-0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,12 +7,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"
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/nashamri/${PN}.git";
+else
+       SRC_URI="https://github.com/nashamri/${PN}/archive/${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+       KEYWORDS="amd64 ~x86"
+fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+
+ELISP_REMOVE="
+       spacemacs-theme-pkg.el
+"
 
 DOCS=( README.md img )
-ELISP_REMOVE="spacemacs-theme-pkg.el"
 SITEFILE="50${PN}-gentoo.el"

Reply via email to