2014-06-10 05:59:28 +08:00
|
|
|
# Maintainer: Francesco Marinucci <franzmari [at] chakra-project[dot]it>
|
2011-07-24 04:30:34 +08:00
|
|
|
|
|
|
|
pkgname=rstudio
|
|
|
|
_pkgname=rstudio-rstudio
|
2014-06-10 05:59:28 +08:00
|
|
|
pkgver=0.98.507
|
|
|
|
_pkgver=ee098fe
|
2014-06-11 04:14:29 +08:00
|
|
|
pkgrel=2
|
2011-07-24 04:30:34 +08:00
|
|
|
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-06-10 05:59:28 +08:00
|
|
|
md5sums=('6e223c600dcc02855c37ec0cda0c97f5')
|
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 \
|
2014-06-11 04:14:29 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr/lib/$pkgname \
|
2011-07-24 04:30:34 +08:00
|
|
|
..
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$_pkgname-$_pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
2014-06-11 07:32:32 +08:00
|
|
|
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
|
2011-07-24 04:30:34 +08:00
|
|
|
}
|