commit:     08209db1ff08275586ffa4e365a61a98955fa642
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 23:19:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 23:24:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08209db1

sci-mathematics/geogebra-bin: fix StaticSrcUri

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/geogebra-bin/geogebra-bin-5.0.604.0-r2.ebuild | 4 ++--
 sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/geogebra-bin/geogebra-bin-5.0.604.0-r2.ebuild 
b/sci-mathematics/geogebra-bin/geogebra-bin-5.0.604.0-r2.ebuild
index f2e494821062..5f4924c68569 100644
--- a/sci-mathematics/geogebra-bin/geogebra-bin-5.0.604.0-r2.ebuild
+++ b/sci-mathematics/geogebra-bin/geogebra-bin-5.0.604.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ MY_PV="${PV//./-}"
 
 DESCRIPTION="Mathematics software for geometry"
 HOMEPAGE="https://www.geogebra.org";
-SRC_URI="https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${MY_PV}.tar.bz2
+SRC_URI="https://download.geogebra.org/installers/$(ver_cut 
1-2)/GeoGebra-Linux-Portable-${MY_PV}.tar.bz2
        https://dev.gentoo.org/~gyakovlev/distfiles/Geogebra.svg";
 
 LICENSE="Geogebra CC-BY-NC-SA-3.0 GPL-3 Apache-2.0 BSD-2 BSD BSD-4 colt 
EPL-1.0 icu LGPL-2.1 LGPL-2.1+ MIT W3C || ( GPL-2 CDDL )"

diff --git a/sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild 
b/sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild
index 3749e86ddc99..5b2e1ae220d4 100644
--- a/sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild
+++ b/sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild
@@ -9,7 +9,7 @@ MY_PV="${PV//./-}"
 
 DESCRIPTION="Mathematics software for geometry"
 HOMEPAGE="https://www.geogebra.org";
-SRC_URI="https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${MY_PV}.tar.bz2
+SRC_URI="https://download.geogebra.org/installers/$(ver_cut 
1-2)/GeoGebra-Linux-Portable-${MY_PV}.tar.bz2
        https://dev.gentoo.org/~gyakovlev/distfiles/Geogebra.svg";
 
 LICENSE="Geogebra CC-BY-NC-SA-3.0 GPL-3 Apache-2.0 BSD-2 BSD BSD-4 colt 
EPL-1.0 icu LGPL-2.1 LGPL-2.1+ MIT W3C || ( GPL-2 CDDL )"

Reply via email to