[arch-commits] Commit in r/repos/community-x86_64 (8 files)
Antonio Rojas
arojas at gemini.archlinux.org
Mon May 2 17:25:30 UTC 2022
Date: Monday, May 2, 2022 @ 17:25:30
Author: arojas
Revision: 1192291
archrelease: copy trunk to community-x86_64
Added:
r/repos/community-x86_64/PKGBUILD
(from rev 1192290, r/trunk/PKGBUILD)
r/repos/community-x86_64/R.conf
(from rev 1192290, r/trunk/R.conf)
r/repos/community-x86_64/r.desktop
(from rev 1192290, r/trunk/r.desktop)
r/repos/community-x86_64/r.png
(from rev 1192290, r/trunk/r.png)
Deleted:
r/repos/community-x86_64/PKGBUILD
r/repos/community-x86_64/R.conf
r/repos/community-x86_64/r.desktop
r/repos/community-x86_64/r.png
-----------+
PKGBUILD | 173 ++++++++++++++++++++++++++++++------------------------------
R.conf | 4 -
r.desktop | 22 +++----
3 files changed, 100 insertions(+), 99 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-02 17:25:12 UTC (rev 1192290)
+++ PKGBUILD 2022-05-02 17:25:30 UTC (rev 1192291)
@@ -1,86 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
-# Contributor: K. Piche <kpiche at rogers.com>
-
-pkgname=r
-pkgver=4.2.0
-pkgrel=1
-pkgdesc='Language and environment for statistical computing and graphics'
-arch=(x86_64)
-license=(GPL)
-url='https://www.r-project.org/'
-depends=(lapack libtiff pcre2 perl libxmu pango zip unzip curl icu which)
-makedepends=(jdk-openjdk gcc-fortran tk texlive-core)
-optdepends=('tk: tcl/tk interface'
- 'texlive-bin: latex sty files'
- 'gcc-fortran: needed to compile some CRAN packages'
- 'openblas: faster linear algebra')
-backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories' 'etc/R/javaconf')
-options=(!emptydirs)
-source=(https://cran.r-project.org/src/base/R-${pkgver%%.*}/R-$pkgver.tar.gz
- r.desktop
- r.png
- R.conf)
-sha256sums=('38eab7719b7ad095388f06aa090c5a2b202791945de60d3e2bb0eab1f5097488'
- '25b01ea93fa704884b65ba002d44d4e99725bd826997e8c73b6467df9f23c798'
- '1580d06a737951f4f3c903cbd514247d9071fc6868eb9c2de94bb999cc195cb1'
- 'b7833166041b06f716b6a79095d27d4abd83549816dc53193213827139eae6ef')
-
-prepare() {
- cd R-$pkgver
- # set texmf dir correctly in makefile
- sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
-}
-
-build() {
- cd R-$pkgver
- ./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
- make pdf info
-
- cd src/nmath/standalone
- make shared
-}
-
-package() {
- cd R-$pkgver
- make DESTDIR="$pkgdir" install install-pdf install-info
-
-# install libRmath.so
- cd src/nmath/standalone
- make 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 -t "$pkgdir"/usr/share/applications
- install -Dm644 "$srcdir"/r.png -t "$pkgdir"/usr/share/pixmaps
-
-# 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
-
-# Install ld.so.conf.d file to ensure other applications access the shared lib
- install -Dm644 "$srcdir"/R.conf -t "$pkgdir"/etc/ld.so.conf.d
-}
Copied: r/repos/community-x86_64/PKGBUILD (from rev 1192290, r/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-02 17:25:30 UTC (rev 1192291)
@@ -0,0 +1,87 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=r
+pkgver=4.2.0
+pkgrel=2
+pkgdesc='Language and environment for statistical computing and graphics'
+arch=(x86_64)
+license=(GPL)
+url='https://www.r-project.org/'
+depends=(lapack libtiff pcre2 perl libxmu pango zip unzip curl icu which)
+makedepends=(jdk-openjdk gcc-fortran tk texlive-core)
+optdepends=('tk: tcl/tk interface'
+ 'texlive-bin: latex sty files'
+ 'gcc-fortran: needed to compile some CRAN packages'
+ 'openblas: faster linear algebra')
+backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories' 'etc/R/javaconf')
+options=(!emptydirs)
+source=(https://cran.r-project.org/src/base/R-${pkgver%%.*}/R-$pkgver.tar.gz
+ r.desktop
+ r.png
+ R.conf)
+sha256sums=('38eab7719b7ad095388f06aa090c5a2b202791945de60d3e2bb0eab1f5097488'
+ '25b01ea93fa704884b65ba002d44d4e99725bd826997e8c73b6467df9f23c798'
+ '1580d06a737951f4f3c903cbd514247d9071fc6868eb9c2de94bb999cc195cb1'
+ 'b7833166041b06f716b6a79095d27d4abd83549816dc53193213827139eae6ef')
+
+prepare() {
+ cd R-$pkgver
+ # set texmf dir correctly in makefile
+ sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
+}
+
+build() {
+ cd R-$pkgver
+ CFLAGS+=" -ffat-lto-objects" \
+ ./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
+ make pdf info
+
+ cd src/nmath/standalone
+ make shared
+}
+
+package() {
+ cd R-$pkgver
+ make DESTDIR="$pkgdir" install install-pdf install-info
+
+# install libRmath.so
+ cd src/nmath/standalone
+ make 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 -t "$pkgdir"/usr/share/applications
+ install -Dm644 "$srcdir"/r.png -t "$pkgdir"/usr/share/pixmaps
+
+# 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
+
+# Install ld.so.conf.d file to ensure other applications access the shared lib
+ install -Dm644 "$srcdir"/R.conf -t "$pkgdir"/etc/ld.so.conf.d
+}
Deleted: R.conf
===================================================================
--- R.conf 2022-05-02 17:25:12 UTC (rev 1192290)
+++ R.conf 2022-05-02 17:25:30 UTC (rev 1192291)
@@ -1,2 +0,0 @@
-/usr/lib/R/lib
-
Copied: r/repos/community-x86_64/R.conf (from rev 1192290, r/trunk/R.conf)
===================================================================
--- R.conf (rev 0)
+++ R.conf 2022-05-02 17:25:30 UTC (rev 1192291)
@@ -0,0 +1,2 @@
+/usr/lib/R/lib
+
Deleted: r.desktop
===================================================================
--- r.desktop 2022-05-02 17:25:12 UTC (rev 1192290)
+++ r.desktop 2022-05-02 17:25:30 UTC (rev 1192291)
@@ -1,11 +0,0 @@
-[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=Math;Science;Education
Copied: r/repos/community-x86_64/r.desktop (from rev 1192290, r/trunk/r.desktop)
===================================================================
--- r.desktop (rev 0)
+++ r.desktop 2022-05-02 17:25:30 UTC (rev 1192291)
@@ -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=Math;Science;Education
Deleted: r.png
===================================================================
(Binary files differ)
Copied: r/repos/community-x86_64/r.png (from rev 1192290, r/trunk/r.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list