[arch-commits] Commit in r/repos (10 files)

Ronald van Haren ronald at archlinux.org
Wed Feb 15 21:44:40 UTC 2012


    Date: Wednesday, February 15, 2012 @ 16:44:40
  Author: ronald
Revision: 150251

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  r/repos/testing-i686/
  r/repos/testing-i686/PKGBUILD
    (from rev 150250, r/trunk/PKGBUILD)
  r/repos/testing-i686/r.desktop
    (from rev 150250, r/trunk/r.desktop)
  r/repos/testing-i686/r.install
    (from rev 150250, r/trunk/r.install)
  r/repos/testing-i686/r.png
    (from rev 150250, r/trunk/r.png)
  r/repos/testing-x86_64/
  r/repos/testing-x86_64/PKGBUILD
    (from rev 150250, r/trunk/PKGBUILD)
  r/repos/testing-x86_64/r.desktop
    (from rev 150250, r/trunk/r.desktop)
  r/repos/testing-x86_64/r.install
    (from rev 150250, r/trunk/r.install)
  r/repos/testing-x86_64/r.png
    (from rev 150250, r/trunk/r.png)

--------------------------+
 testing-i686/PKGBUILD    |   68 +++++++++++++++++++++++++++++++++++++++++++++
 testing-i686/r.desktop   |   11 +++++++
 testing-i686/r.install   |   12 +++++++
 testing-x86_64/PKGBUILD  |   68 +++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/r.desktop |   11 +++++++
 testing-x86_64/r.install |   12 +++++++
 6 files changed, 182 insertions(+)

Copied: r/repos/testing-i686/PKGBUILD (from rev 150250, r/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-02-15 21:44:40 UTC (rev 150251)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=r
+pkgver=2.14.1
+pkgrel=3
+pkgdesc="Language and environment for statistical computing and graphics"
+arch=('i686' 'x86_64')
+license=('GPL')
+url=('http://www.r-project.org/')
+depends=('blas' 'lapack' 'bzip2'  'libpng' 'libjpeg' 'libtiff'
+         'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
+         'tk' 'libxt' 'libxmu' 'pango' 'xz')
+makedepends=('openjdk6' 'gcc-fortran')
+backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories')
+options=('!makeflags')
+source=("http://cran.r-project.org/src/base/R-2/R-${pkgver}.tar.gz"
+	'r.desktop'
+	'r.png')
+install=r.install
+sha1sums=('5803a213480a749e36bccc155aecb13070ade096'
+          '13aa29219bcaa102e575de8c1c8e0833d233e836'
+          'a69a07ec363440efc18ce0a7f2af103375dea978')
+build() {
+   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 \
+		--sysconfdir=/etc/R \
+		--datarootdir=/usr/share \
+		  rsharedir=/usr/share/R/ \
+		  rincludedir=/usr/include/R/ \
+		  rdocdir=/usr/share/doc/R/ \
+                --with-x \
+		--enable-R-shlib \
+                --with-lapack \
+		--with-blas \
+                F77=gfortran \
+		LIBnn=lib
+   make
+}
+
+package() {
+   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"
+   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"
+
+  # move the config directory to /etc and create symlinks
+  install -d "${pkgdir}/etc/R"
+  cd "${pkgdir}/usr/lib/R/etc"
+  for i in *; do
+    mv -f ${i} "${pkgdir}/etc/R"
+    ln -s /etc/R/${i} ${i}
+  done
+}

Copied: r/repos/testing-i686/r.desktop (from rev 150250, r/trunk/r.desktop)
===================================================================
--- testing-i686/r.desktop	                        (rev 0)
+++ testing-i686/r.desktop	2012-02-15 21:44:40 UTC (rev 150251)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=R
+GenericName=environment for statistical computing
+Comment=language and environment for statistical computing and graphics
+Exec=R
+Icon=/usr/share/pixmaps/r.png
+DocPath=/usr/lib/R/doc/html/index.html
+StartupNotify=true
+Terminal=true
+Type=Application
+Categories=Education;Science;Math;

Copied: r/repos/testing-i686/r.install (from rev 150250, r/trunk/r.install)
===================================================================
--- testing-i686/r.install	                        (rev 0)
+++ testing-i686/r.install	2012-02-15 21:44:40 UTC (rev 150251)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+

Copied: r/repos/testing-i686/r.png (from rev 150250, r/trunk/r.png)
===================================================================
(Binary files differ)

Copied: r/repos/testing-x86_64/PKGBUILD (from rev 150250, r/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-15 21:44:40 UTC (rev 150251)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=r
+pkgver=2.14.1
+pkgrel=3
+pkgdesc="Language and environment for statistical computing and graphics"
+arch=('i686' 'x86_64')
+license=('GPL')
+url=('http://www.r-project.org/')
+depends=('blas' 'lapack' 'bzip2'  'libpng' 'libjpeg' 'libtiff'
+         'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
+         'tk' 'libxt' 'libxmu' 'pango' 'xz')
+makedepends=('openjdk6' 'gcc-fortran')
+backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories')
+options=('!makeflags')
+source=("http://cran.r-project.org/src/base/R-2/R-${pkgver}.tar.gz"
+	'r.desktop'
+	'r.png')
+install=r.install
+sha1sums=('5803a213480a749e36bccc155aecb13070ade096'
+          '13aa29219bcaa102e575de8c1c8e0833d233e836'
+          'a69a07ec363440efc18ce0a7f2af103375dea978')
+build() {
+   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 \
+		--sysconfdir=/etc/R \
+		--datarootdir=/usr/share \
+		  rsharedir=/usr/share/R/ \
+		  rincludedir=/usr/include/R/ \
+		  rdocdir=/usr/share/doc/R/ \
+                --with-x \
+		--enable-R-shlib \
+                --with-lapack \
+		--with-blas \
+                F77=gfortran \
+		LIBnn=lib
+   make
+}
+
+package() {
+   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"
+   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"
+
+  # move the config directory to /etc and create symlinks
+  install -d "${pkgdir}/etc/R"
+  cd "${pkgdir}/usr/lib/R/etc"
+  for i in *; do
+    mv -f ${i} "${pkgdir}/etc/R"
+    ln -s /etc/R/${i} ${i}
+  done
+}

Copied: r/repos/testing-x86_64/r.desktop (from rev 150250, r/trunk/r.desktop)
===================================================================
--- testing-x86_64/r.desktop	                        (rev 0)
+++ testing-x86_64/r.desktop	2012-02-15 21:44:40 UTC (rev 150251)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=R
+GenericName=environment for statistical computing
+Comment=language and environment for statistical computing and graphics
+Exec=R
+Icon=/usr/share/pixmaps/r.png
+DocPath=/usr/lib/R/doc/html/index.html
+StartupNotify=true
+Terminal=true
+Type=Application
+Categories=Education;Science;Math;

Copied: r/repos/testing-x86_64/r.install (from rev 150250, r/trunk/r.install)
===================================================================
--- testing-x86_64/r.install	                        (rev 0)
+++ testing-x86_64/r.install	2012-02-15 21:44:40 UTC (rev 150251)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+

Copied: r/repos/testing-x86_64/r.png (from rev 150250, r/trunk/r.png)
===================================================================
(Binary files differ)




More information about the arch-commits mailing list