[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:
10
PKGBUILD
10
PKGBUILD
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user