rstudio-desktop: auto updated to 2023.06.2.561-3

This commit is contained in:
Lilac 2023-09-01 09:32:08 +00:00
parent ec3dac3e3c
commit 6881fb69c1

View file

@ -15,7 +15,7 @@ _nodever=16.14.0
_pandocver="current"
_quarto="FALSE"
pkgrel=2
pkgrel=3
pkgdesc="A powerful and productive integrated development environment (IDE) for R programming language"
arch=('x86_64')
url="https://www.rstudio.com/products/rstudio/"
@ -41,14 +41,6 @@ sha256sums=('83469a4b7311d745c24d7d9e55c44aa4325dda3bdde50a903e2f9ead47d75cc7'
noextract=("gin-${_ginver}.zip")
# Choose build options: either with or without quarto
if (pacman -Q quarto >/dev/null 2>/dev/null) ; then
_quarto="TRUE"
makedepends+=('quarto')
else
_quarto="FALSE"
fi
prepare() {
cd ${srcdir}/${_srcname}
# Do not use outdated version name of pandoc
@ -78,13 +70,15 @@ prepare() {
build() {
# Quarto set up
if [ ${_quarto} = "TRUE" ]; then
if (pacman -Q quarto >/dev/null 2>/dev/null) ; then
_quarto="TRUE"
msg "Quarto is installed, include it to build"
cd "${srcdir}/${_srcname}/dependencies"
install -d quarto/bin/tools
ln -sfT /usr/bin/quarto quarto/bin/quarto
ln -sfT /usr/bin/pandoc quarto/bin/tools/pandoc
else
_quarto="FALSE"
msg "Quarto is not installed, use Pandoc"
cd "${srcdir}/${_srcname}/dependencies"
install -d pandoc/${_pandocver}/bin/tools