From 66f68b3ffa3705889c0b9ec73be8ea71443d80f0 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 15 Mar 2019 16:42:58 +0100 Subject: x11-plugins/purple-matrix: Prepare for release tarballs --- x11-plugins/purple-matrix/purple-matrix-9999.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'x11-plugins') diff --git a/x11-plugins/purple-matrix/purple-matrix-9999.ebuild b/x11-plugins/purple-matrix/purple-matrix-9999.ebuild index e594045..273ef31 100644 --- a/x11-plugins/purple-matrix/purple-matrix-9999.ebuild +++ b/x11-plugins/purple-matrix/purple-matrix-9999.ebuild @@ -3,15 +3,18 @@ EAPI=7 -inherit git-r3 - DESCRIPTION="Libpurple protocol plugin for matrix" HOMEPAGE="https://github.com/matrix-org/purple-matrix" -EGIT_REPO_URI="https://github.com/matrix-org/purple-matrix.git" +if [[ "${PV}" == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/matrix-org/purple-matrix.git" +else + SRC_URI="https://github.com/matrix-org/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="" IUSE="olm" RDEPEND=" -- cgit v1.2.3-65-gdbad