-
-
Save cbrnr/9bad76d97ff17e37980cf40416fc5596 to your computer and use it in GitHub Desktop.
| 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" | |
| } |
Done, thanks! I've set up a GitHub Action that should hopefully perform the updates automatically from now on (https://github.com/cbrnr/rstudio-pkgbuild-updater). However, please let me know if it doesn't work (we'll find out when the next RStudio version is released)!
hello @cbrnr pkgver is empty leading to ERROR: pkgver is not allowed to be empty do I miss something to make it work?
@ginolhac
Looks like the auto updater isn't working as intended. While we wait for @cbrnr to fix it, you can fill in the version number and SHA-256 from the latest RStudio desktop download page:
https://posit.co/download/rstudio-desktop
As of today the latest version is "2026.01.2-418", but you should input "2026.01.2.418" instead, as "-" is not allowed in pkgver. It is modified back to _pkgver = "2026.01.2-418" on the next line for the correct download link.
works! thanks @pariahsoc 👍
Working on the fix, thanks for the heads up!
OK, everything is working now!
Bump: