[arch-commits] Commit in (4 files)

Laurent Carlier lcarlier at archlinux.org
Mon Jul 2 20:20:53 UTC 2018


    Date: Monday, July 2, 2018 @ 20:20:53
  Author: lcarlier
Revision: 327920

prepare the split of the vulkan-doc package

Added:
  vulkan-headers/
  vulkan-headers/repos/
  vulkan-headers/trunk/
  vulkan-headers/trunk/PKGBUILD

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

Added: vulkan-headers/trunk/PKGBUILD
===================================================================
--- vulkan-headers/trunk/PKGBUILD	                        (rev 0)
+++ vulkan-headers/trunk/PKGBUILD	2018-07-02 20:20:53 UTC (rev 327920)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=vulkan-headers
+_pkgname=Vulkan-Headers
+pkgver=1.1.77.0
+pkgrel=1
+epoch=1
+pkgdesc="Vulkan header files"
+arch=(any)
+url="https://www.khronos.org/vulkan/"
+license=('APACHE')
+makedepends=(cmake)
+provides=('vulkan-hpp')
+groups=(vulkan-devel)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
+sha256sums=('b2f532bfd1d8e7594f131a4aa79358bfe4fd0aa59d3292dbafd484223d56ef16')
+
+build() {
+  cd "${_pkgname}-sdk-${pkgver}"
+
+  rm -rf build ; mkdir build ; cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    ..
+  make
+}
+
+package() {
+  cd "${_pkgname}-sdk-${pkgver}/build"
+  
+  make DESTDIR="${pkgdir}" install
+}


Property changes on: vulkan-headers/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list