[arch-commits] Commit in vulkan-validation-layers/trunk (PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Mon Feb 8 09:23:50 UTC 2021


    Date: Monday, February 8, 2021 @ 09:23:50
  Author: lcarlier
Revision: 407637

upgpkg: vulkan-validation-layers 1.2.166-1: upstream update 1.2.166

Modified:
  vulkan-validation-layers/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-08 09:03:49 UTC (rev 407636)
+++ PKGBUILD	2021-02-08 09:23:50 UTC (rev 407637)
@@ -1,18 +1,20 @@
 # Maintainer: Laurent Carlier <lordheavym at gmail.com>
 
 pkgname=vulkan-validation-layers
-pkgver=1.2.162
-pkgrel=2
+pkgver=1.2.166
+pkgrel=1
 pkgdesc="Vulkan Validation Layers"
 arch=(x86_64)
 url="https://www.khronos.org/vulkan/"
 license=('custom')
-depends=(gcc-libs vulkan-icd-loader vulkan-headers libx11)
-makedepends=(cmake python-lxml libx11 libxrandr wayland git)
+groups=('vulkan-devel')
+depends=('gcc-libs' 'vulkan-icd-loader' 'vulkan-headers' 'libx11')
+makedepends=('cmake' 'python-lxml' 'libxrandr' 'wayland' 'git')
+provides=('libVkLayer_khronos_validation.so')
 options=(!strip)
-source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz)
+source=("https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz")
 #source=("git+https://github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=35d091dad71304dab79758fdae4bda12f692d735")
-sha256sums=('83619b81a86e733383a71ea54f0f5e64e194bf596ee8ec4e36217bb0b29b8917')
+sha256sums=('d7b4f96b3a9ecb5935aaa774666bcd6a36a2f5335f24b149b308d6202e4d01c6')
 
 #pkgver() {
 #  cd "${srcdir}/Vulkan-ValidationLayers"
@@ -20,10 +22,15 @@
 #  echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
 #}
 
-build() {
+prepare() {
   cd "${srcdir}"/Vulkan-ValidationLayers*
 
-  rm -rf build ; mkdir build ; cd build
+  rm -rf build && mkdir build
+}
+
+build() {
+  cd "${srcdir}"/Vulkan-ValidationLayers*/build
+
   ../scripts/update_deps.py
   cmake -C helper.cmake \
     -DCMAKE_INSTALL_PREFIX=/usr \
@@ -43,7 +50,6 @@
 }
 
 package() {
-  groups=('vulkan-devel')
   cd "${srcdir}"/Vulkan-ValidationLayers*/build
   
   make DESTDIR="${pkgdir}" install


More information about the arch-commits mailing list