summaryrefslogtreecommitdiff
path: root/extra/r/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
commitda0a0d88caa1bf934ebf314ef86e15928dbb027b (patch)
treeb7c57ac9667de10c72390e0d81654fffbe47c42d /extra/r/PKGBUILD
parentffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff)
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'extra/r/PKGBUILD')
-rw-r--r--extra/r/PKGBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/extra/r/PKGBUILD b/extra/r/PKGBUILD
index ce4ba16aa..7db7535ec 100644
--- a/extra/r/PKGBUILD
+++ b/extra/r/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 180808 2013-03-26 11:49:39Z foutrelis $
+# $Id: PKGBUILD 184431 2013-05-06 19:39:38Z 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.3
+pkgver=3.0.0
pkgrel=1
pkgdesc="Language and environment for statistical computing and graphics"
arch=('i686' 'x86_64')
@@ -15,28 +15,28 @@ depends=('blas' 'lapack' 'bzip2' 'libpng' 'libjpeg' 'libtiff'
'libxt' 'libxmu' 'pango' 'xz' 'desktop-file-utils')
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')
+backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories' 'etc/R/javaconf')
options=('!makeflags' '!emptydirs')
install=r.install
-source=("http://cran.r-project.org/src/base/R-2/R-${pkgver}.tar.gz"
+source=("http://cran.r-project.org/src/base/R-${pkgver%%.*}/R-${pkgver}.tar.gz"
'r.desktop'
'r.png'
'R.conf')
-sha1sums=('a05b68f31b00d8038d9f0a8562cfc0c8e32d9621'
+sha1sums=('0cb1d1b815af4ce640ceafd5402a2eb94924c945'
'13aa29219bcaa102e575de8c1c8e0833d233e836'
'a69a07ec363440efc18ce0a7f2af103375dea978'
'43668da6cfd1b4455a99f23e79e2059294dddac9')
-build() {
- cd "${srcdir}/R-${pkgver}"
- sed -i 's|#define NeedFunctionPrototypes 0|#define NeedFunctionPrototypes 1|g' src/modules/X11/dataentry.c
-
- # set texmf dir correctly in makefile
- sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
-
+prepare() {
+ cd R-${pkgver}
+# set texmf dir correctly in makefile
+ sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
# fix for texinfo 5.X
- sed -i 's|test ${makeinfo_version_min} -lt 7|test ${makeinfo_version_min} -lt 0|' configure
+ sed -i 's|test ${makeinfo_version_min} -lt 7|test ${makeinfo_version_min} -lt 0|' configure
+}
+build() {
+ cd R-${pkgver}
./configure --prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc/R \
@@ -58,7 +58,7 @@ build() {
}
package() {
- cd "${srcdir}/R-${pkgver}"
+ cd R-${pkgver}
make DESTDIR="${pkgdir}" install
# install libRmath.so