summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-09-15 12:53:41 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-19 20:48:15 +0300
commit5c57dedb079f3f58d5811013cc3498b13e31c805 (patch)
tree647de74ae4818db6d720afd3cd2e5db87ef0d31f /www-client
parentsys-libs/ncurses-compat: fix VariableShadowed (diff)
downloadgentoo-5c57dedb079f3f58d5811013cc3498b13e31c805.tar.gz
gentoo-5c57dedb079f3f58d5811013cc3498b13e31c805.tar.bz2
gentoo-5c57dedb079f3f58d5811013cc3498b13e31c805.zip
www-client/vivaldi: fix VariableShadowed
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/vivaldi-6.2.3105.47.ebuild9
-rw-r--r--www-client/vivaldi/vivaldi-6.2.3105.48.ebuild9
2 files changed, 10 insertions, 8 deletions
diff --git a/www-client/vivaldi/vivaldi-6.2.3105.47.ebuild b/www-client/vivaldi/vivaldi-6.2.3105.47.ebuild
index 46f84b3502a8..1ad1c8806c77 100644
--- a/www-client/vivaldi/vivaldi-6.2.3105.47.ebuild
+++ b/www-client/vivaldi/vivaldi-6.2.3105.47.ebuild
@@ -101,10 +101,11 @@ fi
KEYWORDS="-* amd64 ~arm ~arm64"
VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
-RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )"
-RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )"
-RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )"
-RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb )
+"
LICENSE="Vivaldi"
SLOT="0"
diff --git a/www-client/vivaldi/vivaldi-6.2.3105.48.ebuild b/www-client/vivaldi/vivaldi-6.2.3105.48.ebuild
index d63e17d4cb01..9d522c106aff 100644
--- a/www-client/vivaldi/vivaldi-6.2.3105.48.ebuild
+++ b/www-client/vivaldi/vivaldi-6.2.3105.48.ebuild
@@ -101,10 +101,11 @@ fi
KEYWORDS="-* ~amd64 ~arm ~arm64"
VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
-RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )"
-RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )"
-RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )"
-RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb )
+"
LICENSE="Vivaldi"
SLOT="0"