commit: fe046a1430f2e0faa9839b206df918ae17d82fde
parent: 6a256622b21cbfd14866cc101a4705d4345c2a2a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 15 Mar 2019 19:05:42 +0100
www-client/badwolf: Support directly copying the live ebuild for releases
Diffstat:
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/www-client/badwolf/badwolf-9999.ebuild b/www-client/badwolf/badwolf-9999.ebuild
@@ -3,15 +3,22 @@
EAPI=7
-inherit git-r3 savedconfig
+inherit savedconfig
+
+if [[ "${PV}" == "9999" ]]
+then
+ EGIT_REPO_URI="https://hacktivis.me/git/badwolf.git"
+ EGIT_MIN_CLONE_TYPE="single+tags"
+ inherit git-r3
+else
+ SRC_URI="https://hacktivis.me/releases/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
DESCRIPTION="Minimalist and privacy-oriented WebKitGTK+ browser"
HOMEPAGE="https://hacktivis.me/git/badwolf"
-EGIT_REPO_URI="https://hacktivis.me/git/badwolf.git"
-EGIT_MIN_CLONE_TYPE="single+tags"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64"
DOCS=("README.md" "KnowledgeBase.md")