2011-07-24 04:30:34 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2013-12-17 07:11:05 +08:00
|
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
2011-07-24 04:30:34 +08:00
|
|
|
|
|
|
|
pkgname=rstudio
|
|
|
|
_pkgname=rstudio-rstudio
|
2014-02-09 20:55:18 +08:00
|
|
|
pkgver=0.98.501
|
|
|
|
_pkgver=c097d85
|
2011-07-24 04:30:34 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A new integrated development environment (IDE) for R - The Desktop Client"
|
2013-12-17 07:11:05 +08:00
|
|
|
arch=('x86_64')
|
2011-07-24 04:30:34 +08:00
|
|
|
url="http://www.rstudio.org/"
|
|
|
|
license=('AGPL')
|
2013-12-17 07:11:05 +08:00
|
|
|
depends=('boost-libs' 'java-environment' 'qtwebkit' 'r')
|
|
|
|
makedepends=('apache-ant' 'boost' 'bzip2' 'cmake' 'git' 'icu' 'openssl' 'pam' 'unzip' 'wget' 'libcups')
|
2011-07-24 04:30:34 +08:00
|
|
|
provides=('rstudio-desktop')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('programming')
|
2013-12-17 07:11:05 +08:00
|
|
|
source=("https://github.com/$pkgname/$pkgname/tarball/v$pkgver")
|
2014-02-09 20:55:18 +08:00
|
|
|
md5sums=('1bd61ad7bd8991ec637db3d714da5421')
|
2011-07-24 04:30:34 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$_pkgname-$_pkgver/dependencies/common
|
2013-12-17 07:11:05 +08:00
|
|
|
sh install-gwt
|
|
|
|
sh install-dictionaries
|
|
|
|
sh install-mathjax
|
2011-07-24 04:30:34 +08:00
|
|
|
|
|
|
|
# Configure and build.
|
|
|
|
cd $srcdir/$_pkgname-$_pkgver
|
|
|
|
|
2011-09-30 04:24:17 +08:00
|
|
|
mkdir build
|
2011-09-24 07:16:39 +08:00
|
|
|
cd build
|
2011-07-24 04:30:34 +08:00
|
|
|
unset LDFLAGS
|
|
|
|
cmake \
|
|
|
|
-DRSTUDIO_TARGET=Desktop \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2011-09-24 07:16:39 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr/local/lib/$pkgname \
|
2011-07-24 04:30:34 +08:00
|
|
|
..
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$_pkgname-$_pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|