From b2f3cb171d1956ec132017c2b30d8a67439fb285 Mon Sep 17 00:00:00 2001 From: Alex Lohr Date: Tue, 14 Sep 2021 21:10:43 +0200 Subject: [PATCH] vscode: update to 1.60.1 --- srcpkgs/vscode/template | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index b747ed43effc..653fc69a7ac6 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.60.0 +version=1.60.1 revision=1 _electronver=13.2.2 hostmakedepends="pkg-config python nodejs yarn tar git" @@ -11,7 +11,7 @@ maintainer="shizonic " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz" -checksum=3f0cde58ab558cd227c61900222f4363589a81e4df2fac2bb2042229c90a7ee8 +checksum=c3c7f10c19b76465a63c6179762187e53ddf1f3cee85f82b2ec447c9b6e9407a if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then broken="FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory" @@ -43,8 +43,8 @@ do_build() { export NODE_OPTIONS="${_mem_limit}" /usr/lib/node_modules/npm/bin/node-gyp-bin/node-gyp install \ - --target=$_electronver \ - --tarball=/usr/include/electron${_electronver%%.*}/node_headers.tar.gz + --target=$_electronver \ + --tarball=/usr/include/electron${_electronver%%.*}/node_headers.tar.gz yarn install --ignore-engines --frozen-lockfile --arch=x64 export CFLAGS="$CFLAGS -I/usr/include/node" yarn run gulp vscode-linux-x64-min @@ -62,9 +62,9 @@ do_install() { ln -sf /usr/lib/code-oss/resources/app/resources/linux/code.png ${DESTDIR}/usr/share/pixmaps/code-oss.png ln -sf /usr/bin/rg ${DESTDIR}/usr/lib/code-oss/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg vsed \ - -e "s|ELECTRON=.*|ELECTRON=/usr/lib/electron${_electronver%%.*}/electron|g" \ - -e 's|"$CLI"|"$CLI" --app="${VSCODE_PATH}/resources/app"|g' \ - -i "$DESTDIR"/usr/lib/code-oss/bin/code-oss + -e "s|ELECTRON=.*|ELECTRON=/usr/lib/electron${_electronver%%.*}/electron|g" \ + -e 's|"$CLI"|"$CLI" --app="${VSCODE_PATH}/resources/app"|g' \ + -i "$DESTDIR"/usr/lib/code-oss/bin/code-oss vlicense LICENSE.txt chmod -R o-w ${DESTDIR}/usr/lib/code-oss/resources/app/ }