summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-03 09:52:19 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-03 09:58:49 +0200
commitc77fbeca6282922b88583591e70c8a9fc76155e2 (patch)
treee3960eb7f9976b518af1b97c21201874ddc7f6fc /app-emacs/vertico
parentapp-emacs/consult: add live (diff)
downloadgentoo-c77fbeca6282922b88583591e70c8a9fc76155e2.tar.gz
gentoo-c77fbeca6282922b88583591e70c8a9fc76155e2.tar.bz2
gentoo-c77fbeca6282922b88583591e70c8a9fc76155e2.zip
app-emacs/vertico: enable live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/vertico')
-rw-r--r--app-emacs/vertico/vertico-1.4.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/app-emacs/vertico/vertico-1.4.ebuild b/app-emacs/vertico/vertico-1.4.ebuild
index 0ff52c845500..8623d46e2c78 100644
--- a/app-emacs/vertico/vertico-1.4.ebuild
+++ b/app-emacs/vertico/vertico-1.4.ebuild
@@ -8,13 +8,19 @@ NEED_EMACS=27.1
inherit elisp
DESCRIPTION="Vertical interactive completion"
-HOMEPAGE="https://github.com/minad/vertico"
-SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/minad/vertico/"
+
+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.4.0"
BDEPEND="${RDEPEND}"