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

Laurent Carlier lcarlier at archlinux.org
Wed Mar 16 06:52:01 UTC 2016


    Date: Wednesday, March 16, 2016 @ 07:52:01
  Author: lcarlier
Revision: 261832

upgpkg: vulkan-loader-layers 1.0.5.0-1

upstream update 1.0.5.0

Modified:
  vulkan-loader-layers/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-16 05:08:12 UTC (rev 261831)
+++ PKGBUILD	2016-03-16 06:52:01 UTC (rev 261832)
@@ -4,16 +4,16 @@
 pkgbase=vulkan-loader-layers
 pkgname=(vulkan-icd-loader vulkan-validation-layers)
 _pkgname=Vulkan-LoaderAndValidationLayers
-pkgver=1.0.3.0
-pkgrel=4
+pkgver=1.0.5.0
+pkgrel=1
 arch=(i686 x86_64)
 url="https://www.khronos.org/vulkan/"
 license=('custom')
 depends=()
-makedepends=(git cmake python-lxml libxcb)
-source=('git://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git#commit=62210e0'
+makedepends=(git cmake python-lxml libx11)
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz"
         'git://github.com/KhronosGroup/glslang.git#commit=f2d8a5c')
-sha256sums=('SKIP'
+sha256sums=('27bd9d56b0430821e068dec455278db7bc2abd20d932a99bd33923a1a1c7d95c'
             'SKIP')
 
 build() {
@@ -30,7 +30,7 @@
   popd
   
   
-  cd "${srcdir}/${_pkgname}"
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
   rm -rf build ; mkdir build ; cd build
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_SYSCONFDIR=/etc \
@@ -48,15 +48,15 @@
 package_vulkan-icd-loader() {
   pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
   depends=(glibc)
-  cd "${_pkgname}"
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
   
   install -dm755 ${pkgdir}/usr/{lib,include/vulkan}
   install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
   install -dm755 ${pkgdir}/etc/vulkan/icd.d/
   
-  install -m644 build/loader/libvulkan.so.1.0.3 ${pkgdir}/usr/lib
-  ln -s libvulkan.so.1.0.3 ${pkgdir}/usr/lib/libvulkan.so.1
-  ln -s libvulkan.so.1.0.3 ${pkgdir}/usr/lib/libvulkan.so
+  install -m644 build/loader/libvulkan.so.1.0.5 ${pkgdir}/usr/lib
+  ln -s libvulkan.so.1.0.5 ${pkgdir}/usr/lib/libvulkan.so.1
+  ln -s libvulkan.so.1.0.5 ${pkgdir}/usr/lib/libvulkan.so
 
   install -m644 include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
   
@@ -69,7 +69,7 @@
   conflicts=('vulkan-sdk')
   replaces=('vulkan-sdk')
   groups=('vulkan-devel')
-  cd "${_pkgname}"
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
   
   install -dm755 ${pkgdir}/usr/{bin,lib,include/vulkan}
   install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}



More information about the arch-commits mailing list