diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-03-30 21:38:24 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-03-31 00:09:27 +0100 |
commit | 78bf2c3b3ba99a2c6c99a29695db689ae7bad04a (patch) | |
tree | c787fc38b680f4a2fe5f4cf30409ad36db4cbfe3 /app-emacs | |
parent | app-emacs/mastodon: drop old 1.0.17 (diff) | |
download | gentoo-78bf2c3b3ba99a2c6c99a29695db689ae7bad04a.tar.gz gentoo-78bf2c3b3ba99a2c6c99a29695db689ae7bad04a.tar.bz2 gentoo-78bf2c3b3ba99a2c6c99a29695db689ae7bad04a.zip |
app-emacs/mastodon: support live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/mastodon/mastodon-1.0.18.ebuild | 20 |
1 files 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" |