summaryrefslogtreecommitdiff
path: root/extra/r
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-30 23:15:09 +0000
committerroot <root@rshg054.dnsready.net>2012-01-30 23:15:09 +0000
commit902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (patch)
tree7daed2a9811a9c58333dafddaa471222520022b0 /extra/r
parent39711f3264d3b9de2ff6392649274d6333932457 (diff)
Mon Jan 30 23:15:08 UTC 2012
Diffstat (limited to 'extra/r')
-rw-r--r--extra/r/PKGBUILD33
1 files changed, 16 insertions, 17 deletions
diff --git a/extra/r/PKGBUILD b/extra/r/PKGBUILD
index 25103ab3b..6848e5354 100644
--- a/extra/r/PKGBUILD
+++ b/extra/r/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 142507 2011-11-10 20:30:04Z ronald $
+# $Id: PKGBUILD 147988 2012-01-29 11:59:55Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: K. Piche <kpiche@rogers.com>
pkgname=r
-pkgver=2.14.0
+pkgver=2.14.1
pkgrel=1
pkgdesc="Language and environment for statistical computing and graphics"
arch=('i686' 'x86_64')
@@ -20,12 +20,11 @@ source=("http://cran.r-project.org/src/base/R-2/R-${pkgver}.tar.gz"
'r.desktop'
'r.png')
install=r.install
-sha1sums=('0f46bf75a7c150350b1142c29a98e7994d2b4bef'
+sha1sums=('5803a213480a749e36bccc155aecb13070ade096'
'13aa29219bcaa102e575de8c1c8e0833d233e836'
'a69a07ec363440efc18ce0a7f2af103375dea978')
-
build() {
- cd ${srcdir}/R-${pkgver}
+ cd "${srcdir}/R-${pkgver}"
sed -i 's|#define NeedFunctionPrototypes 0|#define NeedFunctionPrototypes 1|g' src/modules/X11/dataentry.c
./configure --prefix=/usr \
--libdir=/usr/lib \
@@ -44,26 +43,26 @@ build() {
}
package() {
- cd ${srcdir}/R-${pkgver}
- make -j1 DESTDIR=${pkgdir} install
+ cd "${srcdir}/R-${pkgver}"
+ make -j1 DESTDIR="${pkgdir}" install
# Fixup R wrapper scripts.
- sed -i "s|${pkgdir} ||" ${pkgdir}/usr/bin/R
- rm ${pkgdir}/usr/lib/R/bin/R
- cd ${pkgdir}/usr/lib/R/bin
+ sed -i "s|${pkgdir} ||" "${pkgdir}/usr/bin/R"
+ rm "${pkgdir}/usr/lib/R/bin/R"
+ cd "${pkgdir}/usr/lib/R/bin"
ln -s ../../../bin/R
# install some freedesktop.org compatibility
- install -Dm644 ${srcdir}/r.desktop \
- ${pkgdir}/usr/share/applications/r.desktop
- install -Dm644 ${srcdir}/r.png \
- ${pkgdir}/usr/share/pixmaps/r.png
+ install -Dm644 "${srcdir}/r.desktop" \
+ "${pkgdir}/usr/share/applications/r.desktop"
+ install -Dm644 "${srcdir}/r.png" \
+ "${pkgdir}/usr/share/pixmaps/r.png"
# move the config directory to /etc and create symlinks
- install -d ${pkgdir}/etc/R
- cd ${pkgdir}/usr/lib/R/etc
+ install -d "${pkgdir}/etc/R"
+ cd "${pkgdir}/usr/lib/R/etc"
for i in *; do
- mv -f ${i} ${pkgdir}/etc/R
+ mv -f ${i} "${pkgdir}/etc/R"
ln -s /etc/R/${i} ${i}
done
}