diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-01 02:15:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-01 02:15:55 -0300 |
commit | d8970eb7cb8498551de68da6b0818ad7121fe456 (patch) | |
tree | c4cc9c04c675b2fceefb8bb99a4408aabc7f082c /libre-multilib/lib32-opencl-mesa/PKGBUILD | |
parent | 13c69fddd9140ddcef6c84e2531816c36bad054d (diff) | |
download | abslibre-d8970eb7cb8498551de68da6b0818ad7121fe456.tar.gz abslibre-d8970eb7cb8498551de68da6b0818ad7121fe456.tar.bz2 abslibre-d8970eb7cb8498551de68da6b0818ad7121fe456.zip |
lib32-opencl-mesa: minor fix
Diffstat (limited to 'libre-multilib/lib32-opencl-mesa/PKGBUILD')
-rw-r--r-- | libre-multilib/lib32-opencl-mesa/PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libre-multilib/lib32-opencl-mesa/PKGBUILD b/libre-multilib/lib32-opencl-mesa/PKGBUILD index 8057c2295..1bfb4e3fb 100644 --- a/libre-multilib/lib32-opencl-mesa/PKGBUILD +++ b/libre-multilib/lib32-opencl-mesa/PKGBUILD @@ -14,7 +14,7 @@ optdepends=('opencl-headers: headers necessary for OpenCL development') # please use libretools, install "multilib-devel" on chroot and add # "CHROOTEXTRAPKG=(multilib-devel)" on "/etc/libretools.d/chroot.conf" file. makedepends=('python2-mako' 'dri2proto' 'dri3proto' 'glproto' 'presentproto' 'python2' 'llvm') -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' @@ -22,7 +22,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 @@ -34,7 +34,7 @@ prepare() { } build() { - cd $srcdir/$pkgbase-$pkgver + cd $srcdir/$pkgbase-${pkgver//r/-r} export CC='gcc -m32' export CXX='g++ -m32' @@ -68,7 +68,7 @@ build() { } package() { - cd $srcdir/$pkgbase-$pkgver + cd $srcdir/$pkgbase-${pkgver//r/-r} install -vm755 -d $pkgdir/usr/lib32/ cp -rv $srcdir/fakeinstall/usr/lib32/lib*OpenCL* $pkgdir/usr/lib32/ |