From: Andreas Sturmlechner Date: Sun, 5 Apr 2020 22:11:59 +0000 (+0200) Subject: kde.org.eclass: Allow to use SRC_URI in addition to live sources X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e81a44dbcc774fe46458d9a47f392d70dc0ddfe9;p=gentoo.git kde.org.eclass: Allow to use SRC_URI in addition to live sources Copied from qt5-build.eclass. Signed-off-by: Andreas Sturmlechner (cherry picked from commit bb9352eaa4e149475a4f2c8a34f115b9e27fe732) --- diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index bb9bd618eb2e..f2e6f03b22b1 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -250,11 +250,10 @@ kde.org_pkg_nofetch() { kde.org_src_unpack() { debug-print-function ${FUNCNAME} "$@" - if [[ ${KDE_BUILD_TYPE} = live ]]; then - git-r3_src_unpack - else - default - fi + case ${KDE_BUILD_TYPE} in + live) git-r3_src_unpack ;& + *) default ;; + esac } fi