summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreolianoe2016-02-07 11:49:53 +0100
committereolianoe2016-02-07 11:49:53 +0100
commitfa9fc57cecebd9470949b5124449a04200393a40 (patch)
treedf0011fdae68705cfc31f89a09a61ac3623794d4
parenta8f20baa701261d2b86d7947ead0bc03a4a18edd (diff)
downloadaur-fa9fc57cecebd9470949b5124449a04200393a40.tar.gz
Add the version of lapack
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4e28b8bb83..abd0539ade4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Feb 7 10:36:23 UTC 2016
+# Sun Feb 7 10:49:27 UTC 2016
pkgbase = openblas-lapack
pkgdesc = Optimized BLAS library based on GotoBLAS2 1.13 BSD (providing blas, lapack, and cblas)
pkgver = 0.2.15
- pkgrel = 3
+ pkgrel = 4
url = http://xianyi.github.com/OpenBLAS/
arch = i686
arch = x86_64
@@ -12,10 +12,10 @@ pkgbase = openblas-lapack
makedepends = gcc-fortran
depends = gcc-libs
provides = openblas
- provides = blas=3.6.0
- provides = lapack=3.6.0
- provides = cblas
- provides = lapacke
+ provides = blas=3.5.0
+ provides = lapack=3.5.0
+ provides = cblas=3.5.0
+ provides = lapacke=3.5.0
conflicts = openblas
conflicts = blas
conflicts = lapack
diff --git a/PKGBUILD b/PKGBUILD
index 83336f36991..de02ecba925 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,15 @@ pkgname=openblas-lapack
_PkgName=OpenBLAS
_pkgname=openblas
pkgver=0.2.15
-pkgrel=3
+_lapackver=3.5.0
+pkgrel=4
pkgdesc="Optimized BLAS library based on GotoBLAS2 1.13 BSD (providing blas, lapack, and cblas)"
arch=('i686' 'x86_64')
url="http://xianyi.github.com/OpenBLAS/"
license=('BSD')
depends=('gcc-libs')
makedepends=('perl' 'gcc-fortran')
-provides=('openblas' 'blas=3.6.0' 'lapack=3.6.0' 'cblas' 'lapacke')
+provides=('openblas' "blas=${_lapackver}" "lapack=${_lapackver}" "cblas=${_lapackver}" "lapacke=${_lapackver}")
conflicts=('openblas' 'blas' 'lapack' 'cblas' 'lapacke')
options=(!emptydirs)
source=(${_PkgName}-${pkgver}.tar.gz::https://github.com/xianyi/${_PkgName}/archive/v${pkgver}.tar.gz)
@@ -44,14 +45,14 @@ package(){
cd "${pkgdir}/usr/lib/"
# BLAS
ln -sf libopenblas.so libblas.so
- ln -sf libopenblas.so libblas.so.3
- ln -sf libopenblas.so libblas.so.3.5.0
+ ln -sf libopenblas.so libblas.so.${_lapackver:0:1}
+ ln -sf libopenblas.so libblas.so.${_lapackver}
# CBLAS
ln -sf libopenblas.so libcblas.so
# LAPACK
ln -sf libopenblas.so liblapack.so
- ln -sf libopenblas.so liblapack.so.3
- ln -sf libopenblas.so liblapack.so.3.5.0
+ ln -sf libopenblas.so liblapack.so.${_lapackver:0:1}
+ ln -sf libopenblas.so liblapack.so.${_lapackver}
# LAPACKE
ln -sf libopenblas.so liblapacke.so
}