summaryrefslogtreecommitdiff
path: root/app-emacs/corfu/corfu-0.37.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/corfu/corfu-0.37.ebuild')
-rw-r--r--app-emacs/corfu/corfu-0.37.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/app-emacs/corfu/corfu-0.37.ebuild b/app-emacs/corfu/corfu-0.37.ebuild
index af9057c005cf..e1bbf4ca3ef1 100644
--- a/app-emacs/corfu/corfu-0.37.ebuild
+++ b/app-emacs/corfu/corfu-0.37.ebuild
@@ -9,12 +9,18 @@ inherit elisp
DESCRIPTION="Completion Overlay Region FUnction"
HOMEPAGE="https://github.com/minad/corfu/"
-SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/minad/${PN}.git"
+else
+ SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
RDEPEND=">=app-emacs/compat-29.1.3.4"
BDEPEND="${RDEPEND}"