diff options
author | David P <megver83@parabola.nu> | 2018-06-05 10:10:15 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-06-05 10:10:24 -0400 |
commit | b1ba1f1fabdbb1fe2fef1fa2f67aebee4279f2a2 (patch) | |
tree | e5c6f2c144dee213cda21227a40956aa1ed84529 /libre | |
parent | e79e1938c3c80fa205bbb7e065840d4eb2f6e53c (diff) | |
download | abslibre-b1ba1f1fabdbb1fe2fef1fa2f67aebee4279f2a2.tar.gz abslibre-b1ba1f1fabdbb1fe2fef1fa2f67aebee4279f2a2.tar.bz2 abslibre-b1ba1f1fabdbb1fe2fef1fa2f67aebee4279f2a2.zip |
mesa: update _install()
So that it installs the files when they exist
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre')
-rw-r--r-- | libre/mesa/PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libre/mesa/PKGBUILD b/libre/mesa/PKGBUILD index ead5a47b5..f9112f6fa 100644 --- a/libre/mesa/PKGBUILD +++ b/libre/mesa/PKGBUILD @@ -124,8 +124,10 @@ _install() { for src; do f="${src#fakeinstall/}" dir="${pkgdir}/${f%/*}" - install -m755 -d "${dir}" - mv -v "${src}" "${dir}/" + if [ -f "${src}" ]; then + install -m755 -d "${dir}" + mv -v "${src}" "${dir}/" + fi done } @@ -161,13 +163,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 + # in vulkan-headers + rm -rv fakeinstall/usr/include/vulkan + fi if [ "$CARCH" != "i686" ]; then # in wayland |