diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-10-31 23:25:31 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-10-31 23:31:06 -0300 |
commit | 26335e1a01616f064192233024d9b17e8c5cbf39 (patch) | |
tree | ba7bcebbe6c2901cd56191133a9a9a094b80075f /libre/mesa-libcl/PKGBUILD | |
parent | b60ae8f9cec75824047cf30a3d259319f18e32e4 (diff) | |
download | abslibre-26335e1a01616f064192233024d9b17e8c5cbf39.tar.gz abslibre-26335e1a01616f064192233024d9b17e8c5cbf39.tar.bz2 abslibre-26335e1a01616f064192233024d9b17e8c5cbf39.zip |
mesa-libcl: minor fix
Diffstat (limited to 'libre/mesa-libcl/PKGBUILD')
-rw-r--r-- | libre/mesa-libcl/PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD index 351e8e511..ae7c3d34e 100644 --- a/libre/mesa-libcl/PKGBUILD +++ b/libre/mesa-libcl/PKGBUILD @@ -17,7 +17,7 @@ makedepends=('python2-mako' 'dri2proto' 'dri3proto' 'glproto' 'presentproto' 'py provides=("$_pkgname" 'opencl-icd-loader') conflicts=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx' 'ocl-icd') replaces=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx') -source=(ftp://ftp.freedesktop.org/pub/$pkgbase/$pkgver/$pkgbase-13.0.0-rc2.tar.xz{,.sig} +source=(ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%rc2}/$pkgbase-${pkgver//r/-r}.tar.xz{,.sig} remove-libpthread-stubs.patch) sha256sums=('ef26031a79b915e1643b0ffe5354f8ae774cd445f12b342abac63438f9735a43' 'SKIP' @@ -25,7 +25,7 @@ sha256sums=('ef26031a79b915e1643b0ffe5354f8ae774cd445f12b342abac63438f9735a43' validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov@gmail.com> prepare() { - cd $srcdir/$pkgbase-$pkgver + cd $srcdir/$pkgbase-${pkgver//r/-r} # Fix detection of libLLVM when builds with CMake sed -i 's/LLVM_SO_NAME=.*/LLVM_SO_NAME=LLVM/' configure @@ -37,7 +37,7 @@ prepare() { } build() { - cd $srcdir/$pkgbase-$pkgver + cd $srcdir/$pkgbase-${pkgver//r/-r} ./configure --prefix=/usr \ --sysconfdir=/etc \ @@ -57,7 +57,7 @@ build() { } package() { - cd $srcdir/$pkgbase-$pkgver + cd $srcdir/$pkgbase-${pkgver//r/-r} install -vm755 -d $pkgdir/usr/lib/ cp -rv $srcdir/fakeinstall/usr/lib/libOpenCL* $pkgdir/usr/lib/ |