diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xchm/xchm-9999.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
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" |