diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-03 09:48:55 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-03 09:58:48 +0200 |
commit | 8b1aa695bf1c3016cf79381ebe0494ea83cd917f (patch) | |
tree | 0d63150d3188261fb34523e30e58d8cbe460f9b7 /app-emacs | |
parent | app-emacs/osm: add live (diff) | |
download | gentoo-8b1aa695bf1c3016cf79381ebe0494ea83cd917f.tar.gz gentoo-8b1aa695bf1c3016cf79381ebe0494ea83cd917f.tar.bz2 gentoo-8b1aa695bf1c3016cf79381ebe0494ea83cd917f.zip |
app-emacs/corfu: enable live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/corfu/corfu-0.37.ebuild | 12 |
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}" |