Compare commits
10 Commits
37ff57eafe
...
40852f3dc0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40852f3dc0 | ||
|
|
26aa1c19ff | ||
|
|
c44f00b530 | ||
|
|
0bbb81ffed | ||
|
|
3e6627be42 | ||
|
|
756c1a4307 | ||
|
|
42409413e0 | ||
|
|
f068653035 | ||
|
|
c120520349 | ||
|
|
7e74cd3ab2 |
20
.SRCINFO
20
.SRCINFO
@@ -1,6 +1,6 @@
|
||||
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.100.2
|
||||
pkgver = 1.103.1
|
||||
pkgrel = 1
|
||||
url = https://code.visualstudio.com/
|
||||
install = visual-studio-code-bin.install
|
||||
@@ -29,19 +29,19 @@ pkgbase = visual-studio-code-bin
|
||||
provides = vscode
|
||||
conflicts = code
|
||||
options = !strip
|
||||
source = code-1.100.2.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.100.2/resources/linux/code.desktop
|
||||
source = code-1.100.2-url-handler.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.100.2/resources/linux/code-url-handler.desktop
|
||||
source = code-1.100.2-workspace.xml.in::https://raw.githubusercontent.com/microsoft/vscode/1.100.2/resources/linux/code-workspace.xml
|
||||
source = code-1.103.1.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.103.1/resources/linux/code.desktop
|
||||
source = code-1.103.1-url-handler.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.103.1/resources/linux/code-url-handler.desktop
|
||||
source = code-1.103.1-workspace.xml.in::https://raw.githubusercontent.com/microsoft/vscode/1.103.1/resources/linux/code-workspace.xml
|
||||
source = visual-studio-code-bin.sh
|
||||
sha256sums = 2f1782b30c4e040efff655fd9cf477930c5a0c81ddae27749b0cbb922c1d248e
|
||||
sha256sums = c361efa7e02fcad759ed80d2fbab67877f33219b981578af6fffaf18aeb12d9b
|
||||
sha256sums = 3af748dd6578a1775e8eb7248ba397b7e11840df2ea6ee234ff76fee3dc306cf
|
||||
sha256sums = 8257a5ad82fa1f7dec11dfa064217b80df4cfec24f50cec7ca0ad62cf8295bfe
|
||||
source_x86_64 = code_x64_1.100.2.tar.gz::https://update.code.visualstudio.com/1.100.2/linux-x64/stable
|
||||
sha256sums_x86_64 = 5c2cbbeaa08b92340dce899a78d66be8d92c09b4d75313bfdfc46fb3bddca5c0
|
||||
source_aarch64 = code_arm64_1.100.2.tar.gz::https://update.code.visualstudio.com/1.100.2/linux-arm64/stable
|
||||
sha256sums_aarch64 = a5f3ad1ddf8dcbfd231429b1e3625129628a6e02058872d0286241915518bdc7
|
||||
source_armv7h = code_armhf_1.100.2.tar.gz::https://update.code.visualstudio.com/1.100.2/linux-armhf/stable
|
||||
sha256sums_armv7h = 4510b4e2b0adc8cfa3fb06e26a102216a350cae0a98eba15ef5a22a40fb5c1f6
|
||||
source_x86_64 = code_x64_1.103.1.tar.gz::https://update.code.visualstudio.com/1.103.1/linux-x64/stable
|
||||
sha256sums_x86_64 = d3333d7722b6dba9784601751fcd688e9e470b6e6c9da3792b54029d6230fe7c
|
||||
source_aarch64 = code_arm64_1.103.1.tar.gz::https://update.code.visualstudio.com/1.103.1/linux-arm64/stable
|
||||
sha256sums_aarch64 = 6eff56b2bbef9547383c228d666b05057403ea57b921eaf59e6e6a6970f63227
|
||||
source_armv7h = code_armhf_1.103.1.tar.gz::https://update.code.visualstudio.com/1.103.1/linux-armhf/stable
|
||||
sha256sums_armv7h = 85262a2b58578379dfc73df8e1774bae759f8b19a5a9b254a48ebc3c271f17e2
|
||||
|
||||
pkgname = visual-studio-code-bin
|
||||
|
||||
38
PKGBUILD
38
PKGBUILD
@@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=visual-studio-code-bin
|
||||
_pkgname=visual-studio-code
|
||||
pkgver=1.100.2
|
||||
pkgver=1.103.1
|
||||
pkgrel=1
|
||||
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
|
||||
arch=('x86_64' 'aarch64' 'armv7h')
|
||||
@@ -34,9 +34,9 @@ sha256sums=('2f1782b30c4e040efff655fd9cf477930c5a0c81ddae27749b0cbb922c1d248e'
|
||||
'c361efa7e02fcad759ed80d2fbab67877f33219b981578af6fffaf18aeb12d9b'
|
||||
'3af748dd6578a1775e8eb7248ba397b7e11840df2ea6ee234ff76fee3dc306cf'
|
||||
'8257a5ad82fa1f7dec11dfa064217b80df4cfec24f50cec7ca0ad62cf8295bfe')
|
||||
sha256sums_x86_64=('5c2cbbeaa08b92340dce899a78d66be8d92c09b4d75313bfdfc46fb3bddca5c0')
|
||||
sha256sums_aarch64=('a5f3ad1ddf8dcbfd231429b1e3625129628a6e02058872d0286241915518bdc7')
|
||||
sha256sums_armv7h=('4510b4e2b0adc8cfa3fb06e26a102216a350cae0a98eba15ef5a22a40fb5c1f6')
|
||||
sha256sums_x86_64=('d3333d7722b6dba9784601751fcd688e9e470b6e6c9da3792b54029d6230fe7c')
|
||||
sha256sums_aarch64=('6eff56b2bbef9547383c228d666b05057403ea57b921eaf59e6e6a6970f63227')
|
||||
sha256sums_armv7h=('85262a2b58578379dfc73df8e1774bae759f8b19a5a9b254a48ebc3c271f17e2')
|
||||
|
||||
_set_meta_info() {
|
||||
sed 's/@@NAME_LONG@@/Visual Studio Code/g' "$1" |\
|
||||
@@ -47,36 +47,23 @@ _set_meta_info() {
|
||||
sed 's/@@URLPROTOCOL@@/vscode/g'
|
||||
}
|
||||
|
||||
_pkg() {
|
||||
if [ "${CARCH}" = "aarch64" ]; then
|
||||
echo 'VSCode-linux-arm64'
|
||||
elif [ "${CARCH}" = "armv7h" ]; then
|
||||
echo 'VSCode-linux-armhf'
|
||||
elif [ "${CARCH}" = "i686" ]; then
|
||||
echo 'VSCode-linux-ia32'
|
||||
else
|
||||
echo 'VSCode-linux-x64'
|
||||
fi
|
||||
}
|
||||
|
||||
prepare() {
|
||||
_set_meta_info "${srcdir}/code-${pkgver}.desktop.in" > "${srcdir}/code.desktop"
|
||||
_set_meta_info "${srcdir}/code-${pkgver}-url-handler.desktop.in" > "${srcdir}/code-url-handler.desktop"
|
||||
_set_meta_info "${srcdir}/code-${pkgver}-workspace.xml.in" > "${srcdir}/code-workspace.xml"
|
||||
}
|
||||
|
||||
package() {
|
||||
_pkg=VSCode-linux-x64
|
||||
_pkg() {
|
||||
if [ "${CARCH}" = "aarch64" ]; then
|
||||
_pkg=VSCode-linux-arm64
|
||||
fi
|
||||
if [ "${CARCH}" = "armv7h" ]; then
|
||||
_pkg=VSCode-linux-armhf
|
||||
fi
|
||||
if [ "${CARCH}" = "i686" ]; then
|
||||
_pkg=VSCode-linux-ia32
|
||||
echo 'VSCode-linux-arm64'
|
||||
elif [ "${CARCH}" = "armv7h" ]; then
|
||||
echo 'VSCode-linux-armhf'
|
||||
else
|
||||
echo 'VSCode-linux-x64'
|
||||
fi
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "${pkgdir}/opt/${_pkgname}"
|
||||
install -d "${pkgdir}/usr/bin"
|
||||
install -d "${pkgdir}/usr/share/"{applications,pixmaps,mime/packages,licenses/${_pkgname}}
|
||||
@@ -94,4 +81,3 @@ package() {
|
||||
# Launcher
|
||||
install -m755 "${srcdir}/${_pkgname}-bin.sh" "${pkgdir}/usr/bin/code"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user