Skip to content

Instantly share code, notes, and snippets.

@cbrnr
Last active April 30, 2026 13:25
Show Gist options
  • Select an option

  • Save cbrnr/9bad76d97ff17e37980cf40416fc5596 to your computer and use it in GitHub Desktop.

Select an option

Save cbrnr/9bad76d97ff17e37980cf40416fc5596 to your computer and use it in GitHub Desktop.
rstudio-desktop-bin AUR PKGBUILD
pkgbase = rstudio-desktop-bin
pkgdesc = An integrated development environment (IDE) for R (binary from RStudio official repository)
pkgver = 2026.04.0.526
pkgrel = 2
url = https://posit.co/products/open-source/rstudio/
arch = x86_64
license = AGPL
depends = r>=3.3.0
depends = sqlite
depends = libxkbcommon
optdepends = clang: C/C++ and Rcpp code completion
optdepends = ttf-dejavu: fallback font support
provides = rstudio-desktop=2026.04.0.526
conflicts = rstudio-desktop
conflicts = rstudio-desktop-git
conflicts = rstudio-desktop-preview-bin
options = !strip
source_x86_64 = https://download1.rstudio.org/electron/jammy/amd64/rstudio-2026.04.0-526-amd64.deb
sha256sums_x86_64 = af4d87c03317ced1a0049ff67e4aaa3d5e7dcd67f4b598914b8de3e94e50039d
pkgname = rstudio-desktop-bin
pkgname=rstudio-desktop-bin
pkgver=2026.04.0.526
_pkgver=`echo $pkgver | sed 's/\(.*\)\./\1-/'`
pkgrel=2
pkgdesc="An integrated development environment (IDE) for R (binary from RStudio official repository)"
arch=('x86_64')
license=('AGPL')
url="https://posit.co/products/open-source/rstudio/"
depends=('r>=3.3.0' 'sqlite' 'libxkbcommon')
optdepends=('clang: C/C++ and Rcpp code completion'
'ttf-dejavu: fallback font support')
makedepends=()
conflicts=('rstudio-desktop' 'rstudio-desktop-git' 'rstudio-desktop-preview-bin')
provides=("rstudio-desktop=${pkgver}")
options=(!strip)
sha256sums_x86_64=('af4d87c03317ced1a0049ff67e4aaa3d5e7dcd67f4b598914b8de3e94e50039d')
source_x86_64=("https://download1.rstudio.org/electron/jammy/amd64/rstudio-${_pkgver}-amd64.deb")
package() {
shopt -s extglob
msg "Converting Debian package..."
cd "$srcdir"
tar Jxpf data.tar.xz -C "$pkgdir"
install -dm755 "$pkgdir/usr/bin"
ln -s /usr/lib/rstudio/rstudio "$pkgdir/usr/bin/rstudio"
}
@ginolhac
Copy link
Copy Markdown

works! thanks @pariahsoc 👍

@cbrnr
Copy link
Copy Markdown
Author

cbrnr commented Apr 20, 2026

Working on the fix, thanks for the heads up!

@cbrnr
Copy link
Copy Markdown
Author

cbrnr commented Apr 20, 2026

OK, everything is working now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment