From a4f15d1bfcf8a2b72432782df82507f800e81b26 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Mon, 30 Nov 2020 00:07:15 +0100 Subject: app-text/xchm: live ebuild should now work as release when renamed Signed-off-by: Marek Szuba --- app-text/xchm/xchm-9999.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'app-text/xchm') diff --git a/app-text/xchm/xchm-9999.ebuild b/app-text/xchm/xchm-9999.ebuild index 3d695b86f5e4..268f5dbea102 100644 --- a/app-text/xchm/xchm-9999.ebuild +++ b/app-text/xchm/xchm-9999.ebuild @@ -5,11 +5,18 @@ EAPI=7 WX_GTK_VER="3.0-gtk3" -inherit autotools desktop git-r3 wxwidgets xdg-utils +inherit autotools desktop wxwidgets xdg-utils DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files" HOMEPAGE="https://github.com/rzvncj/xCHM/" -EGIT_REPO_URI="https://github.com/rzvncj/xCHM/" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rzvncj/xCHM/" +else + SRC_URI="https://github.com/rzvncj/xCHM/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~x86" +fi LICENSE="GPL-2" SLOT="0" -- cgit v1.2.3-65-gdbad