Commit 78e69a8a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add RStudio support (ALT bug 43794)

parent 841337e8
#!/bin/sh
PKGNAME=rstudio
SUPPORTEDARCHES="x86_64"
DESCRIPTION='RStudio from the official site'
. $(dirname $0)/common.sh
arch=x86_64
pkgtype=rpm
PKGMASK="$(epm print constructname $PKGNAME "*" $arch $pkgtype)"
PKG="$(epm tool eget --list --latest https://www.rstudio.com/products/rstudio/download/ $PKGMASK)" || fatal "Can't get package URL"
[ -n "$PKG" ] || fatal "Can't get package URL"
epm install --repack "$PKG"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=rstudio
PRODUCTDIR=/usr/lib/$PRODUCT
. $(dirname $0)/common.sh
add_bin_exec_command $PRODUCT /usr/lib/rstudio/bin/rstudio
# https://bugzilla.altlinux.org/43794
subst '1iAutoReq:yes,nopython,nopython3,nomono,nomonolib' $SPEC
remove_dir /usr/lib/.build-id
filter_from_requires libQt5 libicu "libpq.so.5(RHPG_9"
epm install --skip-installed libpq5 libsqlite sqlite R-base R-doc-html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment