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