Date: Wednesday, March 31, 2021 @ 08:19:33
  Author: arojas
Revision: 411317

Update to 4.0.5

Modified:
  r/trunk/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-03-31 08:12:15 UTC (rev 411316)
+++ PKGBUILD    2021-03-31 08:19:33 UTC (rev 411317)
@@ -1,9 +1,10 @@
 # Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Maintainer: Antonio Rojas <[email protected]>
 # Contributor: Damir Perisa <[email protected]>
 # Contributor: K. Piche <[email protected]>
 
 pkgname=r
-pkgver=4.0.4
+pkgver=4.0.5
 pkgrel=1
 pkgdesc="Language and environment for statistical computing and graphics"
 arch=('x86_64')
@@ -21,52 +22,52 @@
        'r.desktop'
        'r.png'
        'R.conf')
-sha1sums=('a0bffbdc06d1612ac08942afec4c6443ce43d7a2'
+sha1sums=('c4f20c5d32d47b014ad20cfa4dbd8bbe74c77601'
           'dd214eee232b7aced7366722ad416b6b39be8e1b'
           'a69a07ec363440efc18ce0a7f2af103375dea978'
           '43668da6cfd1b4455a99f23e79e2059294dddac9')
 
 prepare() {
-   cd R-${pkgver}
-   # set texmf dir correctly in makefile
-   sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
+  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
+  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 libRmath.so
-   cd src/nmath/standalone
-   make shared
+  cd src/nmath/standalone
+  make shared
 }
 
 package() {
-   cd R-${pkgver}
-   make DESTDIR="${pkgdir}" install
+  cd R-$pkgver
+  make DESTDIR="$pkgdir" install
 
 # install libRmath.so
-   cd src/nmath/standalone
-   make DESTDIR="${pkgdir}" install
+  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
+  #  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" \

Reply via email to