summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-09-15 12:54:34 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-19 20:48:15 +0300
commit749f28c6c6761582a10ab083e85f6da9aa42506f (patch)
tree0229175e867f9f4ad8c3dd01925a52e97da8c529 /www-client
parentwww-client/vivaldi: fix VariableShadowed (diff)
downloadgentoo-749f28c6c6761582a10ab083e85f6da9aa42506f.tar.gz
gentoo-749f28c6c6761582a10ab083e85f6da9aa42506f.tar.bz2
gentoo-749f28c6c6761582a10ab083e85f6da9aa42506f.zip
www-client/vivaldi-snapshot: fix VariableShadowed
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3120.3.ebuild9
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3134.3.ebuild9
2 files changed, 10 insertions, 8 deletions
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3120.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3120.3.ebuild
index d63e17d4cb01..9d522c106aff 100644
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3120.3.ebuild
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3120.3.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-snapshot/vivaldi-snapshot-6.3.3134.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3134.3.ebuild
index d63e17d4cb01..9d522c106aff 100644
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3134.3.ebuild
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3134.3.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"