blob: 28f4974337f4d86655b1dd5616e8ade31b87f5bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Guillermo Duran < gds506 at gmail dot com >
# Maintainer: Mark Lee <mark@markelee.com>
# Previous Maintainer: Peter Reschenhofer < peterreschenhofer at gmail dot com >
# Contributor: Familia < carlosfamilia at gmail dot com >
pkgname=rstudio-server-bin
pkgver=2024.09.1_394
pkgrel=1
pkgdesc="A integrated development environment (IDE) for R (binary version from RStudio official website)"
arch=('x86_64')
license=('GPL')
url="http://www.rstudio.org/"
depends=('r>=3.6.0' 'glibc>=2.7' 'libedit' 'psmisc' 'openssl-1.1')
conflictss=('rstudio-server' 'rstudio-server-git')
sha256sums=('e631fa5e35eb8913923496462df80879b1a5eece59fea3a680c6be024e9e3676'
'24b0545aa2a576c7d7480c0ef77d7641e2ebaadae856fd2a18f57871bd25fd88'
'993a3096c2b113e6800f2abbd5d4233ebf1a97eef423990d3187d665d3490b92')
provides=("rstudio-server=${pkgver}")
#options=(!strip)
source=("https://download2.rstudio.org/server/jammy/amd64/rstudio-server-${pkgver/_/-}-amd64.deb"
"rstudio-server.service"
"rstudio")
install="${pkgname}".install
package() {
msg "Converting debian package..."
cd "${srcdir}"
#tar zxpf data.tar.xz -C "${pkgdir}"
tar xf data.tar.xz -C "${pkgdir}"
chmod 755 $(find ${pkgdir}/usr -type d)
install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/etc/rstudio"
install -m644 -D "rstudio-server.service" "${pkgdir}/etc/systemd/system/rstudio-server.service"
mkdir -p "${pkgdir}/etc/pam.d"
install -m644 -D "rstudio" "${pkgdir}/etc/pam.d/"
}
|