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
}
Pinned Comments
sperg512 commented on 2021-05-12 00:31 (UTC)
hey guys, @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