From 78bf2c3b3ba99a2c6c99a29695db689ae7bad04a Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sat, 30 Mar 2024 21:38:24 +0100 Subject: app-emacs/mastodon: support live MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/mastodon/mastodon-1.0.18.ebuild | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/app-emacs/mastodon/mastodon-1.0.18.ebuild b/app-emacs/mastodon/mastodon-1.0.18.ebuild index 99625fea4848..38f5552d3c9f 100644 --- a/app-emacs/mastodon/mastodon-1.0.18.ebuild +++ b/app-emacs/mastodon/mastodon-1.0.18.ebuild @@ -9,19 +9,29 @@ inherit elisp DESCRIPTION="Emacs client for Mastodon, federated microblogging social network" HOMEPAGE="https://codeberg.org/martianh/mastodon.el/" -SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}/${PN}.el/lisp" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://codeberg.org/martianh/mastodon.el.git" +else + SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}.el/lisp" + + KEYWORDS="~amd64 ~x86" +fi LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" RDEPEND=" app-emacs/persist app-emacs/request " -BDEPEND="${RDEPEND}" +BDEPEND=" + ${RDEPEND} +" DOCS=( ../README.org ) ELISP_TEXINFO="../${PN}.texi" -- cgit v1.2.3-65-gdbad