commit:     215478a47d049ae8895bd72f413bfe5ccce2881d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 23:33:01 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 23:50:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=215478a4

plasma-mobile.kde.org.eclass: Fix SRC_URI versioned tarball subdir

Thanks-to: Jesús P Rey (Chuso) <gentoo <AT> chuso.net>
Bug: https://bugs.gentoo.org/887235
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/plasma-mobile.kde.org.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/plasma-mobile.kde.org.eclass 
b/eclass/plasma-mobile.kde.org.eclass
index 91397cd1c0e7..fcec3e4b3936 100644
--- a/eclass/plasma-mobile.kde.org.eclass
+++ b/eclass/plasma-mobile.kde.org.eclass
@@ -45,7 +45,7 @@ SLOT=5/${PV}
 
KDE_ORG_SCHEDULE_URI="https://invent.kde.org/plasma/plasma-mobile/-/wikis/Release-Schedule";
 
 if [[ ${KDE_BUILD_TYPE} != live && -z ${KDE_ORG_COMMIT} ]]; then
-       
SRC_URI="mirror://kde/stable/plasma-mobile/${PV}/${KDE_ORG_NAME}-${PV}.tar.xz"
+       SRC_URI="mirror://kde/stable/plasma-mobile/$(ver_cut 
1-2)/${KDE_ORG_NAME}-${PV}.tar.xz"
 fi
 
 fi

Reply via email to