==> Retrieving sources... -> Found code_x64_1.49.1.tar.gz -> Found visual-studio-code.desktop -> Found visual-studio-code-url-handler.desktop ==> Validating source files with sha256sums... code_x64_1.49.1.tar.gz ... FAILED visual-studio-code.desktop ... Passed visual-studio-code-url-handler.desktop ... Passed ==> ERROR: One or more files did not pass the validity check! Failed to build visual-studio-code-bin
Why would you want to build it yourself when it is in the offcial repo (including Archlinux)?
sudo pacman -Syu code
This means the PKGBUILD does not include the correct checksums.
Contact the maintainer of said PKGBUILD and make the maintainer aware of the issue.
Solve it using native Archlinux commands as follows - including explanations
Ensure all necessary packages are available
$ sudo pacman -Syu git base-devel --needed
Clone the repo
$ git clone https://aur.archlinux.org/visual-studio-code-bin
Change folder to the newly cloned repo
$ cd visual-studio-code-bin
Update the PKGBUILD checksum section
Build and install the package - and required dependencies
$ makepkg -is
I tried official repo but it includes unwanted dependencies that includes electron js
Visual Studio code is build on electron - you cannot avoid that.
yeah… but generally it doesn’t install along with that
Yes it does - you just don’t see it.
You see it with the repo version because electron has been separated from the editor.
Ohh, didn’t knew that