desktop/rstudio/PKGBUILD

45 lines
1.1 KiB
Bash
Raw Normal View History

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