summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ff8a4043072..c7622caa288 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = clblast-git
pkgdesc = Tuned OpenCL BLAS library (works with OpenCL 1.1)
pkgver = 1.3.0.35.g269bddb
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CNugteren/CLBlast
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5f822ab5dd8..5fc164229ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=clblast-git
_gitname=CLBlast
pkgver=1.3.0.35.g269bddb
-pkgrel=1
+pkgrel=2
pkgdesc="Tuned OpenCL BLAS library (works with OpenCL 1.1)"
arch=('i686' 'x86_64')
url="https://github.com/CNugteren/CLBlast"
@@ -41,6 +41,7 @@ package() {
cd ${_gitname}/_build
make install
mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
+ sed -i "/^prefix=/c\prefix=/usr" "${pkgdir}/usr/lib/pkgconfig/clblast.pc"
# mkdir "${pkgdir}/usr/include/${_gitname}/"
# mv -t "${pkgdir}/usr/include/${_gitname}/" "${pkgdir}"/usr/include/*.h
}