commit: 8b1aa695bf1c3016cf79381ebe0494ea83cd917f Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Jul 3 07:48:55 2023 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Jul 3 07:58:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1aa695
app-emacs/corfu: enable live Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/corfu/corfu-0.37.ebuild | 12 +++++++++--- 1 file 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}"
