summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/mesa-libcl/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD
index 232565e20..ad6565c2a 100644
--- a/libre/mesa-libcl/PKGBUILD
+++ b/libre/mesa-libcl/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=libcl
pkgname=$pkgbase-$_pkgname
_pkgflag=libre
pkgver=10.2.2
-pkgrel=1
+pkgrel=2
pkgdesc='Mesa 3-D OpenCL library'
url=http://${pkgbase}3d.sourceforge.net
license=(
@@ -79,6 +79,9 @@ build() {
package() {
cd $srcdir/${pkgbase^}-$pkgver
make -C src/gallium/targets/opencl DESTDIR=$pkgdir install
+ ln -sv libMesaOpenCL.so.1.0.0 $pkgdir/usr/lib/libOpenCL.so
+ ln -sv libMesaOpenCL.so.1.0.0 $pkgdir/usr/lib/libOpenCL.so.1
+ ln -sv libMesaOpenCL.so.1.0.0 $pkgdir/usr/lib/libOpenCL.so.1.0.0
install -vdm755 $pkgdir/usr/share/licenses/$pkgname
install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname
install -vm644 docs/license.html $pkgdir/usr/share/licenses/$pkgname/LICENSE