[visual-studio-code-bin] Update download domain

The former redirects to the latter, so this will avoid an unnecessary
step.
This commit is contained in:
D. Can Celasun 2021-03-15 16:22:09 +00:00
parent 40e00a0bc5
commit 1f5e73203e
2 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
pkgbase = visual-studio-code-bin
pkgdesc = Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
pkgver = 1.54.2
pkgrel = 1
pkgrel = 2
url = https://code.visualstudio.com/
arch = x86_64
arch = i686
@ -26,13 +26,13 @@ pkgbase = visual-studio-code-bin
source = visual-studio-code-url-handler.desktop
sha256sums = 0deefcb638e06c35a52e7e9fb8e19b2dc393f01e5c1c122d2938cddeb22cf8de
sha256sums = be3d123aacd575d8f836728266eb421ea70399d713d1fc30378dbc5602b519fb
source_x86_64 = code_x64_1.54.2.tar.gz::https://vscode-update.azurewebsites.net/1.54.2/linux-x64/stable
source_x86_64 = code_x64_1.54.2.tar.gz::https://update.code.visualstudio.com/1.54.2/linux-x64/stable
sha256sums_x86_64 = fc516771b84567c47d508559978b740b6445328becede11945cba2cd52eaa6df
source_i686 = code_ia32_1.54.2.tar.gz::https://vscode-update.azurewebsites.net/latest/linux-ia32/stable
source_i686 = code_ia32_1.54.2.tar.gz::https://update.code.visualstudio.com/latest/linux-ia32/stable
sha256sums_i686 = 64360439cc2fa596838062f7e6f9757b79d4b775a564f18bad6cbad154bf850c
source_aarch64 = code_arm64_1.54.2.tar.gz::https://vscode-update.azurewebsites.net/1.54.2/linux-arm64/stable
source_aarch64 = code_arm64_1.54.2.tar.gz::https://update.code.visualstudio.com/1.54.2/linux-arm64/stable
sha256sums_aarch64 = 9c92ec231866c4486e23440f43d27bf52d1cd88bc14c7ef0ad788ec05ed7155c
source_armv7h = code_armhf_1.54.2.tar.gz::https://vscode-update.azurewebsites.net/1.54.2/linux-armhf/stable
source_armv7h = code_armhf_1.54.2.tar.gz::https://update.code.visualstudio.com/1.54.2/linux-armhf/stable
sha256sums_armv7h = c83992a66243e09d6dc977fd7adbda26e38465ab52045cc3d3df96cc439cf490
pkgname = visual-studio-code-bin

View file

@ -3,7 +3,7 @@
pkgname=visual-studio-code-bin
_pkgname=visual-studio-code
pkgver=1.54.2
pkgrel=1
pkgrel=2
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
url="https://code.visualstudio.com/"
@ -15,12 +15,12 @@ depends=(libxkbfile gnupg gtk3 libsecret nss gcc-libs libnotify libxss glibc lso
optdepends=('glib2: Needed for move to trash functionality'
'libdbusmenu-glib: Needed for KDE global menu')
source=(${_pkgname}.desktop ${_pkgname}-url-handler.desktop)
source_x86_64=(code_x64_${pkgver}.tar.gz::https://vscode-update.azurewebsites.net/${pkgver}/linux-x64/stable)
source_aarch64=(code_arm64_${pkgver}.tar.gz::https://vscode-update.azurewebsites.net/${pkgver}/linux-arm64/stable)
source_armv7h=(code_armhf_${pkgver}.tar.gz::https://vscode-update.azurewebsites.net/${pkgver}/linux-armhf/stable)
source_x86_64=(code_x64_${pkgver}.tar.gz::https://update.code.visualstudio.com/${pkgver}/linux-x64/stable)
source_aarch64=(code_arm64_${pkgver}.tar.gz::https://update.code.visualstudio.com/${pkgver}/linux-arm64/stable)
source_armv7h=(code_armhf_${pkgver}.tar.gz::https://update.code.visualstudio.com/${pkgver}/linux-armhf/stable)
# i686 uses "latest" instead of a specific version as it's not always updated in a timely manner
source_i686=(code_ia32_${pkgver}.tar.gz::https://vscode-update.azurewebsites.net/latest/linux-ia32/stable)
source_i686=(code_ia32_${pkgver}.tar.gz::https://update.code.visualstudio.com/latest/linux-ia32/stable)
# This generates cleaner checksums
sha256sums=('0deefcb638e06c35a52e7e9fb8e19b2dc393f01e5c1c122d2938cddeb22cf8de'
'be3d123aacd575d8f836728266eb421ea70399d713d1fc30378dbc5602b519fb')