From 41075e86a576575b4f7a1bde50b58f23a06b5211 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 21 Nov 2020 21:29:09 +0100 Subject: [PATCH] net-misc/mastorss: Update live ebuild. --- net-misc/mastorss/mastorss-9999.ebuild | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/net-misc/mastorss/mastorss-9999.ebuild b/net-misc/mastorss/mastorss-9999.ebuild index 9aa73fa4f..20c9fa446 100644 --- a/net-misc/mastorss/mastorss-9999.ebuild +++ b/net-misc/mastorss/mastorss-9999.ebuild @@ -2,15 +2,26 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 cmake + +inherit cmake +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +fi DESCRIPTION="Another RSS to Mastodon bot" HOMEPAGE="https://schlomp.space/tastytea/mastorss" -EGIT_REPO_URI="https://schlomp.space/tastytea/mastorss.git" + +if [[ "${PV}" != "9999" ]]; then + SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +else + EGIT_REPO_URI="https://schlomp.space/tastytea/mastorss.git" +fi + LICENSE="GPL-3" SLOT="0" -KEYWORDS="" IUSE="" + RDEPEND=" >=dev-libs/boost-1.62.0 >=dev-cpp/mastodonpp-0.5.6