diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-11-30 00:07:15 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-11-30 00:09:31 +0100 |
commit | a4f15d1bfcf8a2b72432782df82507f800e81b26 (patch) | |
tree | d6803544b2b5aa6c191fe5091bcf445c90918b20 /app-text/xchm | |
parent | app-text/xchm: do not use dodoc to install docs (diff) | |
download | gentoo-a4f15d1bfcf8a2b72432782df82507f800e81b26.tar.gz gentoo-a4f15d1bfcf8a2b72432782df82507f800e81b26.tar.bz2 gentoo-a4f15d1bfcf8a2b72432782df82507f800e81b26.zip |
app-text/xchm: live ebuild should now work as release when renamed
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-text/xchm')
-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" |