summaryrefslogtreecommitdiff
path: root/extra/r/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/r/PKGBUILD')
-rw-r--r--extra/r/PKGBUILD34
1 files changed, 20 insertions, 14 deletions
diff --git a/extra/r/PKGBUILD b/extra/r/PKGBUILD
index 693f2904a..ce4ba16aa 100644
--- a/extra/r/PKGBUILD
+++ b/extra/r/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 177618 2013-02-08 07:48:31Z ronald $
+# $Id: PKGBUILD 180808 2013-03-26 11:49:39Z foutrelis $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: K. Piche <kpiche@rogers.com>
pkgname=r
-pkgver=2.15.2
-pkgrel=3
+pkgver=2.15.3
+pkgrel=1
pkgdesc="Language and environment for statistical computing and graphics"
arch=('i686' 'x86_64')
license=('GPL')
@@ -13,21 +13,19 @@ url=('http://www.r-project.org/')
depends=('blas' 'lapack' 'bzip2' 'libpng' 'libjpeg' 'libtiff'
'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
'libxt' 'libxmu' 'pango' 'xz' 'desktop-file-utils')
-makedepends=('openjdk6' 'gcc-fortran' 'tk>=8.6.0')
+makedepends=('jdk7-openjdk' 'gcc-fortran' 'tk')
optdepends=('tk: tcl/tk interface' 'texlive-bin: latex sty files')
backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories')
options=('!makeflags' '!emptydirs')
+install=r.install
source=("http://cran.r-project.org/src/base/R-2/R-${pkgver}.tar.gz"
'r.desktop'
'r.png'
- 'R.conf'
- 'x11.patch')
-install=r.install
-sha1sums=('c80da687d66ee88d1e34fc1ae5c1bd525f9513dd'
+ 'R.conf')
+sha1sums=('a05b68f31b00d8038d9f0a8562cfc0c8e32d9621'
'13aa29219bcaa102e575de8c1c8e0833d233e836'
'a69a07ec363440efc18ce0a7f2af103375dea978'
- '43668da6cfd1b4455a99f23e79e2059294dddac9'
- 'a11b91d53645bd545fddc382c991096502e8ac67')
+ '43668da6cfd1b4455a99f23e79e2059294dddac9')
build() {
cd "${srcdir}/R-${pkgver}"
@@ -36,8 +34,8 @@ build() {
# set texmf dir correctly in makefile
sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
- # upstream patch fixing empty plots FS#32597
- patch -Np0 -i ${srcdir}/x11.patch
+# fix for texinfo 5.X
+ sed -i 's|test ${makeinfo_version_min} -lt 7|test ${makeinfo_version_min} -lt 0|' configure
./configure --prefix=/usr \
--libdir=/usr/lib \
@@ -53,11 +51,19 @@ build() {
F77=gfortran \
LIBnn=lib
make
+
+# make libRmath.so
+ cd src/nmath/standalone
+ make shared
}
package() {
cd "${srcdir}/R-${pkgver}"
- make -j1 DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install
+
+# install libRmath.so
+ cd src/nmath/standalone
+ make DESTDIR="${pkgdir}" install
# Fixup R wrapper scripts.
sed -i "s|${pkgdir} ||" "${pkgdir}/usr/bin/R"
@@ -80,5 +86,5 @@ package() {
done
# Install ld.so.conf.d file to ensure other applications access the shared lib
- install -Dm644 ${srcdir}/R.conf ${pkgdir}/etc/ld.so.conf.d/R.conf
+ install -Dm644 "${srcdir}/R.conf" "${pkgdir}/etc/ld.so.conf.d/R.conf"
}