diff options
Diffstat (limited to 'app-emacs/tempel/tempel-0.8.ebuild')
-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}" |