desktop/rstudio/PKGBUILD

44 lines
1.1 KiB
Bash
Raw Normal View History

2014-06-10 05:59:28 +08:00
# Maintainer: Francesco Marinucci <franzmari [at] chakra-project[dot]it>
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
pkgdesc="A new integrated development environment (IDE) for R - The Desktop Client"
2013-12-17 07:11:05 +08:00
arch=('x86_64')
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')
provides=('rstudio-desktop')
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')
build() {
cd $srcdir/$_pkgname-$_pkgver/dependencies/common
2013-12-17 07:11:05 +08:00
sh install-gwt
sh install-dictionaries
sh install-mathjax
# Configure and build.
cd $srcdir/$_pkgname-$_pkgver
2011-09-30 04:24:17 +08:00
mkdir build
cd build
unset LDFLAGS
cmake \
-DRSTUDIO_TARGET=Desktop \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2014-06-11 04:14:29 +08:00
-DCMAKE_INSTALL_PREFIX=/usr/lib/$pkgname \
..
}
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"
}