From e81a44dbcc774fe46458d9a47f392d70dc0ddfe9 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 6 Apr 2020 00:11:59 +0200 Subject: [PATCH] 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) --- eclass/kde.org.eclass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 -- 2.26.2