summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/mesa/PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/libre/mesa/PKGBUILD b/libre/mesa/PKGBUILD
index f9112f6fa..a3fc4c627 100644
--- a/libre/mesa/PKGBUILD
+++ b/libre/mesa/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=mesa
pkgname=("${pkgbase}")
pkgdesc="A free implementation of the OpenGL specification, without nonfree software recommendations in drirc"
pkgver=18.0.4
-pkgrel=1.parabola1
+pkgrel=1.parabola2
arch=('i686' 'x86_64' 'armv7h')
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto'
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols'
@@ -124,10 +124,8 @@ _install() {
for src; do
f="${src#fakeinstall/}"
dir="${pkgdir}/${f%/*}"
- if [ -f "${src}" ]; then
- install -m755 -d "${dir}"
- mv -v "${src}" "${dir}/"
- fi
+ install -m755 -d "${dir}"
+ mv -v "${src}" "${dir}/"
done
}
@@ -163,13 +161,13 @@ package_mesa() {
if [ "$CARCH" != "armv7h" ]; then
_install fakeinstall/usr/lib/libxatracker.so*
_install fakeinstall/usr/lib/libswrAVX*.so*
+ fi
- # in libglvnd
- rm -v fakeinstall/usr/lib/libGLESv{1_CM,2}.so*
+ # in libglvnd
+ rm -v fakeinstall/usr/lib/libGLESv{1_CM,2}.so*
- # in vulkan-headers
- rm -rv fakeinstall/usr/include/vulkan
- fi
+ # in vulkan-headers
+ rm -rfv fakeinstall/usr/include/vulkan
if [ "$CARCH" != "i686" ]; then
# in wayland