Skip to content
Snippets Groups Projects
Commit 1dda7ac2 authored by Leo's avatar Leo
Browse files

community/R: upgrade to 3.6.1

parent f37358f2
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz> # Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=R pkgname=R
pkgver=3.6.0 pkgver=3.6.1
pkgrel=1 pkgrel=0
pkgdesc="Language and environment for statistical computing" pkgdesc="Language and environment for statistical computing"
url="https://www.r-project.org" url="https://www.r-project.org"
arch="all" arch="all"
license="GPL-2.0 GPL-3 LGPL-2.1" license="(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later"
depends="$pkgname-mathlib" depends="$pkgname-mathlib"
depends_dev="gcc gfortran icu-dev libjpeg-turbo libpng-dev make openblas-dev>=0.3.0 depends_dev="gcc gfortran icu-dev libjpeg-turbo libpng-dev make openblas-dev>=0.3.0
pcre-dev>=8.10 readline-dev xz-dev zlib-dev bzip2-dev curl-dev>=7.28 pcre-dev>=8.10 readline-dev xz-dev zlib-dev bzip2-dev curl-dev>=7.28
...@@ -18,14 +18,11 @@ makedepends="$depends_dev cairo-dev libxmu-dev openjdk8-jre-base pango-dev ...@@ -18,14 +18,11 @@ makedepends="$depends_dev cairo-dev libxmu-dev openjdk8-jre-base pango-dev
install="$pkgname.post-install" install="$pkgname.post-install"
subpackages="$pkgname-mathlib $pkgname-dev $pkgname-doc" subpackages="$pkgname-mathlib $pkgname-dev $pkgname-doc"
source="https://cran.r-project.org/src/base/R-${pkgver%%.*}/$pkgname-$pkgver.tar.gz" source="https://cran.r-project.org/src/base/R-${pkgver%%.*}/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
_rhome="usr/lib/R" _rhome="usr/lib/R"
ldpath="/$_rhome/lib" ldpath="/$_rhome/lib"
build() { build() {
cd "$builddir"
# CXXFLAGS is propagated to /etc/R/Makeconf that is read when building # CXXFLAGS is propagated to /etc/R/Makeconf that is read when building
# additional R modules. -D__MUSL__ is needed for some modules like Rcpp. # additional R modules. -D__MUSL__ is needed for some modules like Rcpp.
# htps://github.com/RcppCore/Rcpp/issues/448 # htps://github.com/RcppCore/Rcpp/issues/448
...@@ -58,8 +55,6 @@ build() { ...@@ -58,8 +55,6 @@ build() {
# TODO: Run provided test suite. # TODO: Run provided test suite.
check() { check() {
cd "$builddir"
./bin/R --version ./bin/R --version
./bin/R --slave --vanilla -e 'print("Hello, world!")' ./bin/R --slave --vanilla -e 'print("Hello, world!")'
} }
...@@ -67,8 +62,6 @@ check() { ...@@ -67,8 +62,6 @@ check() {
package() { package() {
local destdir="$pkgdir/$_rhome" local destdir="$pkgdir/$_rhome"
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# Install libRmath.so. # Install libRmath.so.
...@@ -102,4 +95,4 @@ mathlib() { ...@@ -102,4 +95,4 @@ mathlib() {
mv "$pkgdir"/usr/lib/libRmath.so* "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libRmath.so* "$subpkgdir"/usr/lib
} }
sha512sums="b2e17b909b6387abb964492e2e9370f913295ca7ac99bab0e965c43ed3c4635e27468c326fb2bca3c529b03c731b0170d9e777a194ad4d6c5a983c050223d8c8 R-3.6.0.tar.gz" sha512sums="fae7d114437c4b5d10fcb2a4265acd707ad2a4810eeb7c11e25caca1d85093a1495c2e13457b4894c1508830ec1b2be95379b7d54007cf3e574c2a9eea28ef80 R-3.6.1.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment