Last active
April 30, 2026 13:25
-
-
Save cbrnr/9bad76d97ff17e37980cf40416fc5596 to your computer and use it in GitHub Desktop.
rstudio-desktop-bin AUR PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
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 👍
Author
Working on the fix, thanks for the heads up!
Author
OK, everything is working now!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello @cbrnr
pkgveris empty leading toERROR: pkgver is not allowed to be emptydo I miss something to make it work?