commit: 2e573fcf2d303a10daa73daaf93cb6c4be327379 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Jul 3 07:53:19 2023 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Jul 3 07:58:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e573fcf
app-emacs/tempel: enable live Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/tempel/tempel-0.8.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app-emacs/tempel/tempel-0.8.ebuild b/app-emacs/tempel/tempel-0.8.ebuild index 51f816d019d3..8a32fe684d94 100644 --- a/app-emacs/tempel/tempel-0.8.ebuild +++ b/app-emacs/tempel/tempel-0.8.ebuild @@ -9,12 +9,18 @@ inherit elisp DESCRIPTION="Templates with in-buffer field editing for GNU Emacs" HOMEPAGE="https://github.com/minad/tempel/" -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}"
