summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Phinikarides2018-06-04 09:07:22 +0300
committerAlexander Phinikarides2018-06-04 09:10:22 +0300
commit9e82c22e5eebb5bcefcb3cbcb79f2b4c7b9f1974 (patch)
tree093961add9dd13602eaed9e1721cd53235473580
parent98b3eb0f12f5ea59794b72f9b3211d53f22d5b87 (diff)
downloadaur-9e82c22e5eebb5bcefcb3cbcb79f2b4c7b9f1974.tar.gz
update provides and conflicts arrays
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 64da2f9205d4..c0f2913e71a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = r-mkl
pkgdesc = Language and environment for statistical computing and graphics, linked to the Intel(R) MKL.
pkgver = 3.5.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.r-project.org/
install = r-mkl.install
arch = x86_64
@@ -34,8 +34,9 @@ pkgbase = r-mkl
depends = zlib
optdepends = texlive-bin: LaTeX sty files
optdepends = tk: tcl-tk interface
- provides = r=3.5.0,r-mkl=3.5.0
+ provides = r=3.5.0
conflicts = r
+ conflicts = microsoft-r-open
options = !makeflags
options = !emptydirs
backup = etc/R/Makeconf
diff --git a/PKGBUILD b/PKGBUILD
index 1b8f03f4a8b4..f130932fc47a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@
pkgname=r-mkl
pkgver=3.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="Language and environment for statistical computing and graphics, linked to the Intel(R) MKL."
arch=('x86_64')
license=('GPL')
url='http://www.r-project.org/'
-provides=("r=${pkgver}","r-mkl=${pkgver}")
-conflicts=('r')
+provides=("r=${pkgver}")
+conflicts=('r' 'microsoft-r-open')
depends=('intel-mkl'
'intel-compiler-base'
'intel-fortran-compiler'
@@ -88,7 +88,7 @@ build() {
# Set up the environment for MKL
source /opt/intel/mkl/bin/mklvars.sh ${_intel_arch}
- if [ $_CC = "icc" ]; then
+ if [[ $_CC = "icc" ]]; then
source ${MKLROOT}/../bin/compilervars.sh ${_intel_arch}
source ${MKLROOT}/../tbb/bin/tbbvars.sh ${_intel_arch}
_intel_cc_opt=" -O3 -ipo -qno-openmp -xHost -fPIC -m64 -march=native -fp-model precise -fp-model source"