[visual-studio-code-bin] Versioned source files

This commit is contained in:
D. Can Celasun
2025-04-04 16:22:54 +01:00
parent cc3fa8f559
commit 0db4b3b812
2 changed files with 11 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = visual-studio-code-bin pkgbase = visual-studio-code-bin
pkgdesc = Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version) pkgdesc = Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
pkgver = 1.99.0 pkgver = 1.99.0
pkgrel = 2 pkgrel = 3
url = https://code.visualstudio.com/ url = https://code.visualstudio.com/
install = visual-studio-code-bin.install install = visual-studio-code-bin.install
arch = x86_64 arch = x86_64
@@ -29,9 +29,9 @@ pkgbase = visual-studio-code-bin
provides = vscode provides = vscode
conflicts = code conflicts = code
options = !strip options = !strip
source = code.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.99.0/resources/linux/code.desktop source = code-1.99.0.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.99.0/resources/linux/code.desktop
source = code-url-handler.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.99.0/resources/linux/code-url-handler.desktop source = code-1.99.0-url-handler.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.99.0/resources/linux/code-url-handler.desktop
source = code-workspace.xml.in::https://raw.githubusercontent.com/microsoft/vscode/1.99.0/resources/linux/code-workspace.xml source = code-1.99.0-workspace.xml.in::https://raw.githubusercontent.com/microsoft/vscode/1.99.0/resources/linux/code-workspace.xml
source = visual-studio-code-bin.sh source = visual-studio-code-bin.sh
sha256sums = 2f1782b30c4e040efff655fd9cf477930c5a0c81ddae27749b0cbb922c1d248e sha256sums = 2f1782b30c4e040efff655fd9cf477930c5a0c81ddae27749b0cbb922c1d248e
sha256sums = c361efa7e02fcad759ed80d2fbab67877f33219b981578af6fffaf18aeb12d9b sha256sums = c361efa7e02fcad759ed80d2fbab67877f33219b981578af6fffaf18aeb12d9b

View File

@@ -3,7 +3,7 @@
pkgname=visual-studio-code-bin pkgname=visual-studio-code-bin
_pkgname=visual-studio-code _pkgname=visual-studio-code
pkgver=1.99.0 pkgver=1.99.0
pkgrel=2 pkgrel=3
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)" pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
arch=('x86_64' 'aarch64' 'armv7h') arch=('x86_64' 'aarch64' 'armv7h')
url="https://code.visualstudio.com/" url="https://code.visualstudio.com/"
@@ -22,9 +22,9 @@ optdepends=('glib2: Needed for move to trash functionality'
'org.freedesktop.secrets: Needed for settings sync' 'org.freedesktop.secrets: Needed for settings sync'
# See https://github.com/MicrosoftDocs/live-share/issues/4650 # See https://github.com/MicrosoftDocs/live-share/issues/4650
'icu69: Needed for live share' ) 'icu69: Needed for live share' )
source=(code.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/${pkgver}/resources/linux/code.desktop source=(code-${pkgver}.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/${pkgver}/resources/linux/code.desktop
code-url-handler.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/${pkgver}/resources/linux/code-url-handler.desktop code-${pkgver}-url-handler.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/${pkgver}/resources/linux/code-url-handler.desktop
code-workspace.xml.in::https://raw.githubusercontent.com/microsoft/vscode/${pkgver}/resources/linux/code-workspace.xml code-${pkgver}-workspace.xml.in::https://raw.githubusercontent.com/microsoft/vscode/${pkgver}/resources/linux/code-workspace.xml
${_pkgname}-bin.sh) ${_pkgname}-bin.sh)
source_x86_64=(code_x64_${pkgver}.tar.gz::https://update.code.visualstudio.com/${pkgver}/linux-x64/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_aarch64=(code_arm64_${pkgver}.tar.gz::https://update.code.visualstudio.com/${pkgver}/linux-arm64/stable)
@@ -60,9 +60,9 @@ _pkg() {
} }
prepare() { prepare() {
_set_meta_info "${srcdir}/code.desktop.in" > "${srcdir}/code.desktop" _set_meta_info "${srcdir}/code-${pkgver}.desktop.in" > "${srcdir}/code.desktop"
_set_meta_info "${srcdir}/code-url-handler.desktop.in" > "${srcdir}/code-url-handler.desktop" _set_meta_info "${srcdir}/code-${pkgver}-url-handler.desktop.in" > "${srcdir}/code-url-handler.desktop"
_set_meta_info "${srcdir}/code-workspace.xml.in" > "${srcdir}/code-workspace.xml" _set_meta_info "${srcdir}/code-${pkgver}-workspace.xml.in" > "${srcdir}/code-workspace.xml"
} }
package() { package() {