commit:     5b50d8d67a56a193996571e8f1956010e8b3e56d
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  4 18:04:39 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Apr  4 18:17:17 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5b50d8d6

net-misc/smb4k: Proper release switch

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 net-misc/smb4k/smb4k-9999.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-misc/smb4k/smb4k-9999.ebuild b/net-misc/smb4k/smb4k-9999.ebuild
index 50e003937d..e39609173c 100644
--- a/net-misc/smb4k/smb4k-9999.ebuild
+++ b/net-misc/smb4k/smb4k-9999.ebuild
@@ -8,9 +8,12 @@ inherit kde5
 
 DESCRIPTION="Advanced network neighborhood browser"
 HOMEPAGE="https://sourceforge.net/p/smb4k/home/Home/";
-[[ ${PV} != 9999 ]] && SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
-[[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+       SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
 LICENSE="GPL-2"
 IUSE="plasma"
 

Reply via email to