summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-11-09 14:32:47 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-11-09 15:19:11 +0100
commit3c74269bb997377f978bc45b2b58d3d2b8fb81ac (patch)
tree4509ab382d151e6b1466680fe178cf05de5750b8 /app-emacs/spacemacs-theme
parentapp-emacs/spacemacs-theme: drop old 0.2 (diff)
downloadgentoo-3c74269bb997377f978bc45b2b58d3d2b8fb81ac.tar.gz
gentoo-3c74269bb997377f978bc45b2b58d3d2b8fb81ac.tar.bz2
gentoo-3c74269bb997377f978bc45b2b58d3d2b8fb81ac.zip
app-emacs/spacemacs-theme: minor tweaks
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/spacemacs-theme')
-rw-r--r--app-emacs/spacemacs-theme/spacemacs-theme-0.3.ebuild20
1 files 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"