aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-05-21 13:36:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-23 11:40:36 +0000
commitf40ed1a244e1da311850edc856a0e74464bdb372 (patch)
treef29a5c2f3ae1ebc251f5ed0732cc1419f2fc1dae /testing
parenta727844cd1f74382dc1b673d86f59769f213a0df (diff)
downloadaports-f40ed1a244e1da311850edc856a0e74464bdb372.tar.bz2
aports-f40ed1a244e1da311850edc856a0e74464bdb372.tar.xz
testing/R: remove variable R_HOME and trailing slashes from paths
According to advice from r-help mailing list, the R_HOME variable should not be set system-wide.
Diffstat (limited to 'testing')
-rw-r--r--testing/R/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/testing/R/APKBUILD b/testing/R/APKBUILD
index 7bbb2fd351..1e6b823177 100644
--- a/testing/R/APKBUILD
+++ b/testing/R/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=R
pkgver=3.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="Language and environment for statistical computing"
url="https://www.r-project.org"
arch="x86_64 x86"
@@ -33,9 +33,9 @@ build() {
--localstatedir=/var \
--mandir=/usr/share/man \
--libdir=/usr/lib \
- rdocdir=/usr/share/doc/R/ \
- rincludedir=/usr/include/R/ \
- rsharedir=/usr/share/R/ \
+ rdocdir=/usr/share/doc/R \
+ rincludedir=/usr/include/R \
+ rsharedir=/usr/share/R \
--enable-R-shlib \
--disable-java \
--disable-nls \
@@ -85,12 +85,6 @@ package() {
mv "$f" "$pkgdir"/etc/R/ && ln -sf /etc/R/$f $f || return 1
done
cd -
-
- # Some R packages needs that...
- mkdir -p "$pkgdir"/etc/profile.d
- cat > "$pkgdir"/etc/profile.d/$pkgname.sh <<-EOF
- export R_HOME="$_rhome"
- EOF
}
mathlib() {