diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-03 09:53:19 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-03 09:58:50 +0200 |
commit | 2e573fcf2d303a10daa73daaf93cb6c4be327379 (patch) | |
tree | d993e5fd4b6372fd3502e45b495c07d6bd1d87a7 /app-emacs/tempel | |
parent | app-emacs/vertico: add live (diff) | |
download | gentoo-2e573fcf2d303a10daa73daaf93cb6c4be327379.tar.gz gentoo-2e573fcf2d303a10daa73daaf93cb6c4be327379.tar.bz2 gentoo-2e573fcf2d303a10daa73daaf93cb6c4be327379.zip |
app-emacs/tempel: enable live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/tempel')
-rw-r--r-- | app-emacs/tempel/tempel-0.8.ebuild | 12 |
1 files 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}" |