Skip to content

Instantly share code, notes, and snippets.

@cbrnr
Last active December 2, 2025 16:28
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 = 2025.09.2.418
pkgrel = 2
url = https://posit.co/products/open-source/rstudio/
arch = x86_64
license = AGPL
depends = r>=3.3.0
depends = ttf-dejavu
provides = rstudio-desktop=2025.09.2.418
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-2025.09.2-418-amd64.deb
sha256sums_x86_64 = 1eca6ca357ab94dc8344ae1e5326252cb6a40b829c6b1ecc8685cfb3a78a6869
pkgname = rstudio-desktop-bin
pkgname=rstudio-desktop-bin
pkgver=2025.09.2.418
_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' 'ttf-dejavu')
makedepends=()
conflicts=('rstudio-desktop' 'rstudio-desktop-git' 'rstudio-desktop-preview-bin')
provides=("rstudio-desktop=${pkgver}")
options=(!strip)
sha256sums_x86_64=('1eca6ca357ab94dc8344ae1e5326252cb6a40b829c6b1ecc8685cfb3a78a6869')
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

thanks! much appreciated

@tegan-lamoureux
Copy link

Just fantastic, thanks for maintaining ❤️

@WildPenquin
Copy link

Bumping the version:

pkgname=rstudio-desktop-bin
pkgver=2025.09.0.387
_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' 'ttf-dejavu')
makedepends=()
conflicts=('rstudio-desktop' 'rstudio-desktop-git' 'rstudio-desktop-preview-bin')
provides=("rstudio-desktop=${pkgver}")
options=(!strip)

sha256sums_x86_64=('851fb6428f653eb2560a5ea5bc8029e076979c9898864eaf85c6344638683e89')

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"

}

@cbrnr
Copy link
Author

cbrnr commented Sep 18, 2025

Done, thanks!

Copy link

ghost commented Sep 20, 2025

Works! Great job!

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