# Maintainer: Cameron Katri # Contributor: Plague-doctor > privacyrequired <> com > # Contributor: me at oguzkaganeren dot com dot tr # Contributor: Rowisi < nomail private com > pkgname=vscodium-bin _pkgname=VSCodium pkgver=1.51.1 pkgrel=1 pkgdesc="Binary releases of VS Code without MS branding/telemetry/licensing." arch=('x86_64' 'aarch64' 'armv7h') url="https://github.com/VSCodium/vscodium" license=('MIT') depends=( fontconfig libxtst gtk3 python cairo alsa-lib nss gcc-libs libnotify libxss 'glibc>=2.28-4' ) optdepends=( 'gvfs: For move to trash functionality' 'libdbusmenu-glib: For KDE global menu' ) provides=('code') conflicts=('code' 'vscode') sha256sums=('65e6b053e6d8be61763801312ded64a82cf835d77a6eabe1b9d7eb9e87b2e49b') sha256sums_x86_64=('cb2ee41c1b1042d4ebfb5e644ec59ded3fe6ce77c15abcd67078fca52abec442') sha256sums_aarch64=('9eeb0381b1b11caed8ef7074f6a3a65af6287e13bb3a98e0523590cf5e22afb1') sha256sums_armv7h=('0d5246537bbee6b35ea7a28140a4518726a5df719501a0124ff6dba71adda20d') source=('vscodium-bin.desktop') source_x86_64=("https://github.com/VSCodium/vscodium/releases/download/${pkgver}/${_pkgname}-linux-x64-${pkgver}.tar.gz") source_armv7h=("https://github.com/VSCodium/vscodium/releases/download/${pkgver}/${_pkgname}-linux-armhf-${pkgver}.tar.gz") source_aarch64=("https://github.com/VSCodium/vscodium/releases/download/${pkgver}/${_pkgname}-linux-arm64-${pkgver}.tar.gz") shopt -s extglob package() { install -d -m755 ${pkgdir}/usr/bin install -d -m755 ${pkgdir}/usr/share/{${pkgname},applications,pixmaps} cp -r ${srcdir}/!(vscodium-bin.desktop|${pkgname}-${pkgver}.tar.gz) ${pkgdir}/usr/share/${pkgname} ln -s /usr/share/${pkgname}/bin/codium ${pkgdir}/usr/bin/code ln -s /usr/share/${pkgname}/bin/codium ${pkgdir}/usr/bin/codium ln -s /usr/share/${pkgname}/bin/codium ${pkgdir}/usr/bin/vscodium install -D -m644 ${srcdir}/vscodium-bin.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop install -D -m644 ${srcdir}/resources/app/resources/linux/code.png \ ${pkgdir}/usr/share/pixmaps/vscodium.png }