commit:     3231990e0c3e58cf1a1446f8474b376856f77cde
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 12 21:37:59 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 21:49:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3231990e

app-emacs/gruvbox-theme: enable live

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

 app-emacs/gruvbox-theme/gruvbox-theme-1.30.1.ebuild | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/app-emacs/gruvbox-theme/gruvbox-theme-1.30.1.ebuild 
b/app-emacs/gruvbox-theme/gruvbox-theme-1.30.1.ebuild
index 73081b15731f..55a2a4c34f3a 100644
--- a/app-emacs/gruvbox-theme/gruvbox-theme-1.30.1.ebuild
+++ b/app-emacs/gruvbox-theme/gruvbox-theme-1.30.1.ebuild
@@ -4,21 +4,28 @@
 EAPI=8
 
 NEED_EMACS=26.1
+
 inherit elisp
 
 DESCRIPTION="Gruvbox is a retro groove color scheme, now in Emacs"
 HOMEPAGE="https://github.com/greduan/emacs-theme-gruvbox/";
 
-SRC_URI="https://github.com/greduan/emacs-theme-gruvbox/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
-S="${WORKDIR}/emacs-theme-gruvbox-${PV}"
+if [[ ${PV} == *9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/greduan/emacs-theme-gruvbox.git";
+else
+       
SRC_URI="https://github.com/greduan/emacs-theme-gruvbox/archive/${PV}.tar.gz
+               -> ${P}.tar.gz"
+       S="${WORKDIR}/emacs-theme-gruvbox-${PV}"
+       KEYWORDS="~amd64"
+fi
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
 
 RDEPEND="
        >=app-emacs/autothemer-0.2
 "
-DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
 
 SITEFILE="50${PN}-gentoo.el"

Reply via email to