[arch-commits] Commit in lib32-vulkan-validation-layers/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Mon Feb 8 09:49:56 UTC 2021
Date: Monday, February 8, 2021 @ 09:49:56
Author: lcarlier
Revision: 848828
upgpkg: lib32-vulkan-validation-layers 1.2.166-1: upstream update 1.2.166
Modified:
lib32-vulkan-validation-layers/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-08 09:43:32 UTC (rev 848827)
+++ PKGBUILD 2021-02-08 09:49:56 UTC (rev 848828)
@@ -1,17 +1,24 @@
# Maintainer: Laurent Carlier <lordheavym at gmail.com>
pkgname=lib32-vulkan-validation-layers
-pkgver=1.2.162
+pkgver=1.2.166
pkgrel=1
arch=(x86_64)
pkgdesc="Vulkan Validation Layers (32-bit)"
url="https://www.khronos.org/vulkan/"
license=('custom')
-depends=(lib32-gcc-libs lib32-vulkan-icd-loader vulkan-headers)
-makedepends=(cmake python lib32-libx11 lib32-libxrandr lib32-wayland git)
-source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz)
-sha256sums=('83619b81a86e733383a71ea54f0f5e64e194bf596ee8ec4e36217bb0b29b8917')
+depends=('lib32-gcc-libs' 'lib32-vulkan-icd-loader' 'vulkan-headers')
+makedepends=('cmake' 'python' 'lib32-libx11' 'lib32-libxrandr' 'lib32-wayland' 'git')
+provides=('libVkLayer_khronos_validation.so')
+source=("https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz")
+sha256sums=('d7b4f96b3a9ecb5935aaa774666bcd6a36a2f5335f24b149b308d6202e4d01c6')
+prepare() {
+ cd "${srcdir}"/Vulkan-ValidationLayers*
+
+ rm -rf build && mkdir build
+}
+
build() {
export ASFLAGS=--32
export CFLAGS=-m32
@@ -18,9 +25,8 @@
export CXXFLAGS=-m32
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
- cd "${srcdir}"/Vulkan-ValidationLayers*
+ cd "${srcdir}"/Vulkan-ValidationLayers*/build
- rm -rf build ; mkdir build ; cd build
../scripts/update_deps.py
cmake -C helper.cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -42,9 +48,8 @@
make DESTDIR="${pkgdir}" install
- rm -r ${pkgdir}/usr/share/vulkan
+ rm -r "${pkgdir}"/usr/share/vulkan
- install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+ install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
}
-
More information about the arch-commits
mailing list