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

Laurent Carlier lcarlier at archlinux.org
Mon Feb 8 09:03:44 UTC 2021


    Date: Monday, February 8, 2021 @ 09:03:44
  Author: lcarlier
Revision: 407635

upgpkg: vulkan-tools 1.2.166-1: upstream update 1.2.166

Modified:
  vulkan-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-08 08:56:54 UTC (rev 407634)
+++ PKGBUILD	2021-02-08 09:03:44 UTC (rev 407635)
@@ -1,7 +1,7 @@
 # Maintainer: Laurent Carlier <lordheavym at gmail.com>
 
 pkgname=vulkan-tools
-pkgver=1.2.162
+pkgver=1.2.166
 pkgrel=1
 arch=(x86_64)
 url="https://www.khronos.org/vulkan/"
@@ -10,12 +10,17 @@
 depends=(gcc-libs libxcb vulkan-icd-loader)
 makedepends=(git cmake python vulkan-headers libx11 wayland glslang spirv-tools)
 source=("https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz")
-sha256sums=('98a3a00471da65df833b4ffeb1ab29ec1d169d5feab54270cf4cd8f50f82e682')
+sha256sums=('700058b72f9f48321bc0dc1e597bec6528af5c9c7158623459da79c96997cd7b')
 
-build() {
+prepare() {
   cd "${srcdir}"/Vulkan-Tools*
 
-  rm -rf build ; mkdir build ; cd build
+  rm -rf build && mkdir build
+}
+
+build() {
+  cd "${srcdir}"/Vulkan-Tools*/build
+
   cmake \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_SYSCONFDIR=/etc \
@@ -40,6 +45,6 @@
   
   make DESTDIR="${pkgdir}" install
 
-  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