It is not necessary to list 'vscodium-git' in conflicts.
provides=('vscodium')
conflicts=('vscodium')
is sufficient to deal with all the vscodium packages.
Git Clone URL: | https://aur.archlinux.org/vscodium-bin.git (read-only, click to copy) |
---|---|
Package Base: | vscodium-bin |
Description: | Binary releases of VS Code without MS branding/telemetry/licensing. |
Upstream URL: | https://github.com/VSCodium/vscodium |
Licenses: | MIT |
Conflicts: | vscodium |
Provides: | codium, vscode, vscodium |
Submitter: | ckatri |
Maintainer: | sperg512 (Icelk) |
Last Packager: | Icelk |
Votes: | 317 |
Popularity: | 8.05 |
First Submitted: | 2020-09-23 18:58 (UTC) |
Last Updated: | 2025-02-14 19:01 (UTC) |
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 25 Next › Last »
It is not necessary to list 'vscodium-git' in conflicts.
provides=('vscodium')
conflicts=('vscodium')
is sufficient to deal with all the vscodium packages.
Thanks for bringing it to my attention. It's now fixed.
Getting this output when attempting to install with paru.
==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'vscodium-bin-1.70.1.22228-2': error: can't build vscodium-bin-marketplace-1.56.0-7, deps not satisfied: vscodium-bin error: packages failed to build: vscodium-bin-1.70.1.22228-2 vscodium-bin-marketplace-1.56.0-7
I think you rolled back the version to 1.70.1 but forgot to change back the checksums so now it fails with
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'vscodium-bin-1.70.1.22228-2':
error: packages failed to build: vscodium-bin-1.70.1.22228-2
Is that intended?
@neiesc Thanks for the heads up. I thought I saw something fishy when the package got updated. I fixed it temporarily (until next linux release).
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/VSCodium/vscodium/releases/download/1.70.1.22228/VSCodium-linux-x64-1.70.1.22228.tar.gz
Aborting...
-> error making: vscodium-bin
in https://github.com/VSCodium/vscodium/releases/tag/1.70.1.22228 don't exists bin for linux only macOs or Windows
15:10 GMT: For package managers, please don't use that version yet. An update will be provided soon. Thx
17:00 GMT: Launching workflows for macOS and Windows.
@Icelk, Thanks.
@exploder-jimmy Thanks. This is now implemented!
Please apply this patch to fix globs:
diff --git a/PKGBUILD b/PKGBUILD
index 8eb32b1..67856c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=vscodium-bin
_pkgname=VSCodium
pkgver=1.70.0
-pkgrel=1
+pkgrel=2
pkgdesc="Binary releases of VS Code without MS branding/telemetry/licensing."
arch=('x86_64' 'aarch64')
url="https://github.com/VSCodium/vscodium"
@@ -39,7 +39,7 @@ package() {
install -d -m755 ${pkgdir}/opt/${pkgname}
install -d -m755 ${pkgdir}/usr/bin
install -d -m755 ${pkgdir}/usr/share/{applications,pixmaps}
- cp -r ${srcdir}/!(vscodium-bin.desktop|${pkgname}-${pkgver}.tar.gz) ${pkgdir}/opt/${pkgname}
+ cp -r ${srcdir}/!(vscodium-bin?(-uri-handler).desktop|${_pkgname}-linux-@(x|arm)64-${pkgver}.tar.gz) ${pkgdir}/opt/${pkgname}
ln -s /opt/${pkgname}/bin/codium ${pkgdir}/usr/bin/codium
ln -s /opt/${pkgname}/bin/codium ${pkgdir}/usr/bin/vscodium
install -D -m644 ${srcdir}/vscodium-bin.desktop ${pkgdir}/usr/share/applications/codium.desktop
And this to install codium shell completions:
diff --git a/PKGBUILD b/PKGBUILD
index 67856c2..4378c04 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=vscodium-bin
_pkgname=VSCodium
pkgver=1.70.0
-pkgrel=2
+pkgrel=3
pkgdesc="Binary releases of VS Code without MS branding/telemetry/licensing."
arch=('x86_64' 'aarch64')
url="https://github.com/VSCodium/vscodium"
@@ -46,4 +46,10 @@ package() {
install -D -m644 ${srcdir}/vscodium-bin-uri-handler.desktop ${pkgdir}/usr/share/applications/codium-uri-handler.desktop
install -D -m644 ${srcdir}/resources/app/resources/linux/code.png \
${pkgdir}/usr/share/pixmaps/vscodium.png
+
+ # Symlink shell completions
+ install -d -m755 ${pkgdir}/usr/share/zsh/site-functions
+ install -d -m755 ${pkgdir}/usr/share/bash-completion/completions
+ ln -s /opt/${pkgname}/resources/completions/zsh/_codium ${pkgdir}/usr/share/zsh/site-functions
+ ln -s /opt/${pkgname}/resources/completions/bash/codium ${pkgdir}/usr/share/bash-completion/completions
}
@Ashark The issue was resolved. Thanks for bringing it to my attention! And sorry for the delay.
Pinned Comments
sperg512 commented on 2021-05-12 00:31 (UTC) (edited on 2024-06-04 15:14 (UTC) by sperg512)
@Icelk set up a script that checks for new releases and pushes updates if there are any new ones. I believe it runs every hour so there's no need to flag OOD, unless there's something that needs changed with the PKGBUILD.