commit:     9bae564aa76dcce300a1c62a687054be6ac228ca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 04:13:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 04:16:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bae564a

app-office/upwork: fix StaticSrcUri

It's not perfect b/c of the hash but it helps a bit.

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

 app-office/upwork/upwork-5.4.5.1-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-office/upwork/upwork-5.4.5.1-r1.ebuild 
b/app-office/upwork/upwork-5.4.5.1-r1.ebuild
index 661153c68f72..6962a09184ac 100644
--- a/app-office/upwork/upwork-5.4.5.1-r1.ebuild
+++ b/app-office/upwork/upwork-5.4.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,8 +8,8 @@ inherit desktop pax-utils rpm xdg-utils
 DESCRIPTION="Project collaboration and tracking software for upwork.com"
 HOMEPAGE="https://www.upwork.com/";
 SRC_URI="
-       amd64? ( 
https://updates-desktopapp.upwork.com/binaries/v5_4_5_1_941af939eff74e21/upwork-5.4.5.1-1fc24.x86_64.rpm
 -> ${P}_x86_64.rpm )
-       x86? ( 
https://updates-desktopapp.upwork.com/binaries/v5_4_5_1_941af939eff74e21/upwork-5.4.5.1-1fc24.i386.rpm
 -> ${P}_i386.rpm )"
+       amd64? ( 
https://updates-desktopapp.upwork.com/binaries/v${PV//./_}_941af939eff74e21/${P}-1fc24.x86_64.rpm
 -> ${P}_x86_64.rpm )
+       x86? ( 
https://updates-desktopapp.upwork.com/binaries/v${PV//./_}_941af939eff74e21/${P}-1fc24.i386.rpm
 -> ${P}_i386.rpm )"
 
 LICENSE="ODESK"
 SLOT="0"

Reply via email to