From 3e92d0cfa459a08693e9ca50b05136f9a9503490 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 20 May 2025 11:07:55 +0200 Subject: [PATCH 1/3] VSCode build-block added --- Tools/VSCode/build | 12 ++++++++++++ Tools/VSCode/files/config.yaml | 20 ++++++++++++++++++++ Tools/VSCode/modulefile | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100755 Tools/VSCode/build create mode 100644 Tools/VSCode/files/config.yaml create mode 100644 Tools/VSCode/modulefile diff --git a/Tools/VSCode/build b/Tools/VSCode/build new file mode 100755 index 0000000..89c436d --- /dev/null +++ b/Tools/VSCode/build @@ -0,0 +1,12 @@ +#!/usr/bin/env modbuild + +pbuild::install() { + : + cd "${PREFIX}" + tar --strip-components=1 -xvf "${PMODULES_DISTFILESDIR}/VSCode-${V_PKG}.tar.gz" +} +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/VSCode/files/config.yaml b/Tools/VSCode/files/config.yaml new file mode 100644 index 0000000..448938b --- /dev/null +++ b/Tools/VSCode/files/config.yaml @@ -0,0 +1,20 @@ +--- +format: 1 +VSCode: + defaults: + group: Tools + overlay: base + relstage: stable + systems: [.*] + build_functions: + configure: [] + compile: [] + urls: + - url: https://update.code.visualstudio.com/${V_PKG}/linux-x64/stable + name: VSCode-${V_PKG}.tar.gz + unpacker: none + shasums: + versions: + 1.100.2: + config: + relstage: unstable diff --git a/Tools/VSCode/modulefile b/Tools/VSCode/modulefile new file mode 100644 index 0000000..e3b9bf6 --- /dev/null +++ b/Tools/VSCode/modulefile @@ -0,0 +1,16 @@ +#%Module1.0 + +module-whatis "lightweight but powerful source code editor" +module-url "https://code.visualstudio.com/docs" +module-license "See: https://code.visualstudio.com/license" +module-maintainer "Achim Gsell " + +module-help " +Visual Studio Code is a lightweight but powerful source code editor +which runs on your desktop and is available for Windows, macOS and +Linux. It comes with built-in support for JavaScript, TypeScript +and Node.js and has a rich ecosystem of extensions for other languages +(such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET +and Unity). Begin your journey with VS Code with these introductory +videos: https://code.visualstudio.com/docs/introvideos/overview +" From b3b65f88d95f1758ed228adc8efa7c757080a1cb Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 20 May 2025 15:30:04 +0200 Subject: [PATCH 2/3] SHA256 sum added --- Tools/VSCode/files/config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/VSCode/files/config.yaml b/Tools/VSCode/files/config.yaml index 448938b..9ffd6c7 100644 --- a/Tools/VSCode/files/config.yaml +++ b/Tools/VSCode/files/config.yaml @@ -14,6 +14,7 @@ VSCode: name: VSCode-${V_PKG}.tar.gz unpacker: none shasums: + VSCode-1.100.2.tar.gz: 5c2cbbeaa08b92340dce899a78d66be8d92c09b4d75313bfdfc46fb3bddca5c0 versions: 1.100.2: config: From 43d425a7c3ed05bc8f1800d48fe3f61d7a55caac Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 20 May 2025 15:38:56 +0200 Subject: [PATCH 3/3] old versions added to YAML config --- Tools/VSCode/files/config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tools/VSCode/files/config.yaml b/Tools/VSCode/files/config.yaml index 9ffd6c7..aeaa30c 100644 --- a/Tools/VSCode/files/config.yaml +++ b/Tools/VSCode/files/config.yaml @@ -19,3 +19,9 @@ VSCode: 1.100.2: config: relstage: unstable + 1.87.0: + config: + relstage: stable + 1.38.1_rhel7;1.73.1: + config: + relstage: deprecated