Skip to content

Commit

Permalink
add: vscodium-bin (#6902)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
jimed-rand and pre-commit-ci[bot] authored Jan 20, 2025
1 parent 0ec722a commit 1ce51b4
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ vivarium
vkroots-git
vscode-deb
vscode-insiders-deb
vscodium-bin
vscodium-deb
vyprvpn-deb
waf
Expand Down
13 changes: 13 additions & 0 deletions packages/vscodium-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pkgbase = vscodium-bin
gives = codium
pkgver = 1.96.4.25017
pkgdesc = VSCodium is a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code.
arch = amd64
maintainer = James Ed Randson <[email protected]>
repology = project: codium
source = https://github.com/VSCodium/vscodium/releases/download/1.96.4.25017/VSCodium-linux-x64-1.96.4.25017.tar.gz
source = https://vscodium.com/img/codium_cnl.svg
sha256sums = c5b78556cb0674fa7de0e349c13adbc2028e6080fd04d7c3ff1a8ed541421cd1
sha256sums = 9817036bd2f5add672e707da311a301033ad122d6c2c505c776cb48d35b94472

pkgname = vscodium-bin
36 changes: 36 additions & 0 deletions packages/vscodium-bin/vscodium-bin.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
pkgname="vscodium-bin"
gives="codium"
pkgver="1.96.4.25017"
arch=("amd64")
pkgdesc="VSCodium is a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code."
maintainer=("James Ed Randson <[email protected]>")
source=(
"https://github.com/VSCodium/vscodium/releases/download/${pkgver}/VSCodium-linux-x64-${pkgver}.tar.gz"
"https://vscodium.com/img/codium_cnl.svg"
)
sha256sums=(
"c5b78556cb0674fa7de0e349c13adbc2028e6080fd04d7c3ff1a8ed541421cd1"
"9817036bd2f5add672e707da311a301033ad122d6c2c505c776cb48d35b94472"
)
repology=("project: ${gives}")

package() {
cd "${srcdir}/."
mkdir -p "${pkgdir}/usr/share/codium"
cp -r ./* "${pkgdir}/usr/share/codium"
chmod +x "${pkgdir}/usr/share/codium/codium"
mkdir -p "${pkgdir}/usr/share/pixmaps"
cp "${srcdir}/codium_cnl.svg" "${pkgdir}/usr/share/pixmaps/codium.svg"
mkdir -p "${pkgdir}/usr/share/applications/"
cat << EOF > "${pkgdir}/usr/share/applications/codium.desktop"
[Desktop Entry]
Name=VSCodium
Comment=Free/Libre Open Source Software Binaries of VS Code
Exec=/usr/share/codium/codium
Terminal=false
Type=Application
Icon=codium
Categories=Development;IDE;
StartupNotify=true
EOF
}
14 changes: 14 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -13125,6 +13125,20 @@ pkgbase = vscode-insiders-deb

pkgname = vscode-insiders-deb
---
pkgbase = vscodium-bin
gives = codium
pkgver = 1.96.4.25017
pkgdesc = VSCodium is a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code.
arch = amd64
maintainer = James Ed Randson <[email protected]>
repology = project: codium
source = https://github.com/VSCodium/vscodium/releases/download/1.96.4.25017/VSCodium-linux-x64-1.96.4.25017.tar.gz
source = https://vscodium.com/img/codium_cnl.svg
sha256sums = c5b78556cb0674fa7de0e349c13adbc2028e6080fd04d7c3ff1a8ed541421cd1
sha256sums = 9817036bd2f5add672e707da311a301033ad122d6c2c505c776cb48d35b94472

pkgname = vscodium-bin
---
pkgbase = vscodium-deb
gives = codium
pkgver = 1.96.4.25017
Expand Down

0 comments on commit 1ce51b4

Please sign in to comment.