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

Laurent Carlier lcarlier at archlinux.org
Tue Jul 17 08:21:34 UTC 2018


    Date: Tuesday, July 17, 2018 @ 08:21:34
  Author: lcarlier
Revision: 328875

upgpkg: vulkan-headers 1:1.1.80-1

upstream update 1.1.80

Modified:
  vulkan-headers/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-17 08:21:21 UTC (rev 328874)
+++ PKGBUILD	2018-07-17 08:21:34 UTC (rev 328875)
@@ -3,7 +3,7 @@
 
 pkgname=vulkan-headers
 _pkgname=Vulkan-Headers
-pkgver=1.1.77.0
+pkgver=1.1.80
 pkgrel=1
 epoch=1
 pkgdesc="Vulkan header files"
@@ -10,14 +10,15 @@
 arch=(any)
 url="https://www.khronos.org/vulkan/"
 license=('APACHE')
-makedepends=(cmake)
-provides=('vulkan-hpp')
+makedepends=(cmake git)
+provides=("vulkan-hpp=${pkgver}")
 groups=(vulkan-devel)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
-sha256sums=('b2f532bfd1d8e7594f131a4aa79358bfe4fd0aa59d3292dbafd484223d56ef16')
+#source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
+source=("git+https://github.com/KhronosGroup/Vulkan-Headers.git#commit=ec4eff88f79b74c4865f41bef0d6af9a46d53896")
+sha256sums=('SKIP')
 
 build() {
-  cd "${_pkgname}-sdk-${pkgver}"
+  cd Vulkan-Headers
 
   rm -rf build ; mkdir build ; cd build
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
@@ -27,7 +28,12 @@
 }
 
 package() {
-  cd "${_pkgname}-sdk-${pkgver}/build"
+  cd Vulkan-Headers/build
   
   make DESTDIR="${pkgdir}" install
+  
+  # in vulkan-validation-layers package
+  rm ${pkgdir}/usr/include/vulkan/vk_{sdk_platform,layer}.h
+  # in vulkan-icd-loader package
+  rm ${pkgdir}/usr/include/vulkan/vk_icd.h
 }



More information about the arch-commits mailing list