[arch-commits] Commit in vulkan-headers/repos (staging-any staging-any/PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Wed Jul 18 15:32:22 UTC 2018


    Date: Wednesday, July 18, 2018 @ 15:32:21
  Author: lcarlier
Revision: 328985

archrelease: copy trunk to staging-any

Added:
  vulkan-headers/repos/staging-any/
  vulkan-headers/repos/staging-any/PKGBUILD
    (from rev 328984, vulkan-headers/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: vulkan-headers/repos/staging-any/PKGBUILD (from rev 328984, vulkan-headers/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-07-18 15:32:21 UTC (rev 328985)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=vulkan-headers
+_pkgname=Vulkan-Headers
+pkgver=1.1.80
+pkgrel=2
+epoch=1
+pkgdesc="Vulkan header files"
+arch=(any)
+url="https://www.khronos.org/vulkan/"
+license=('APACHE')
+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")
+source=("git+https://github.com/KhronosGroup/Vulkan-Headers.git#commit=ec4eff88f79b74c4865f41bef0d6af9a46d53896")
+sha256sums=('SKIP')
+
+build() {
+  cd Vulkan-Headers
+
+  rm -rf build ; mkdir build ; cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    ..
+  make
+}
+
+package() {
+  cd Vulkan-Headers/build
+  
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list