summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLeon2015-09-26 22:14:07 +0800
committerLeon2015-09-26 22:14:07 +0800
commit410b66a474fb4a6a37530b7de1d7d1740c5721c7 (patch)
treea31dca991d94ae33f57d13c5f02ed23e131e63f8 /PKGBUILD
parentdd6453b52c541ef33c7246d9c368af94b338c4c0 (diff)
downloadaur-410b66a474fb4a6a37530b7de1d7d1740c5721c7.tar.gz
0.99.484-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bab6a5085a0e..73feb36c250d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ _EOF_
pkgname=rstudio-desktop-bin
pkgver=0.99.484
-pkgrel=2
+pkgrel=3
pkgdesc="A new integrated development environment (IDE) for R (binary version from RStudio official website)"
arch=('i686' 'x86_64')
license=('GPL')
@@ -65,8 +65,10 @@ package() {
export QT_DIR=/usr/lib/rstudio/bin
export QT_PLUGIN_PATH=$QT_DIR/plugins
export QT_QPA_PLATFORM_PLUGIN_PATH=$QT_PLUGIN_PATH/platforms
+export KDEDIRS=/usr
exec /usr/lib/rstudio/bin/rstudio
' > "$pkgdir/usr/bin/rstudio-bin"
+ chmod 755 "$pkgdir/usr/bin/rstudio-bin"
sed -i 's|/usr/lib/rstudio/bin/rstudio|/usr/bin/rstudio-bin|' "$pkgdir/usr/share/applications/rstudio.desktop"
}