extra/vulkan-tools to 1.1.101-1

This commit is contained in:
Kevin Mihelich 2019-02-25 19:32:31 +00:00
parent b94f3aaa47
commit 7f13d82e80

View file

@ -4,7 +4,7 @@
# - cmake with -DBUILD_CUBE=OFF
pkgname=vulkan-tools
pkgver=1.1.97.0+6891+534747d7
pkgver=1.1.101
pkgrel=1
arch=(x86_64)
url="https://www.khronos.org/vulkan/"
@ -12,17 +12,18 @@ pkgdesc="Vulkan Utilities and Tools"
license=('custom')
depends=(gcc-libs libxcb vulkan-icd-loader)
makedepends=(git cmake python vulkan-headers libx11 wayland)
source=("git+https://github.com/KhronosGroup/Vulkan-Tools.git#commit=534747d770a84a18a20949430679aa1b7bf0f398")
sha256sums=('SKIP')
source=("https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz")
#source=("git+https://github.com/KhronosGroup/Vulkan-Tools.git#commit=534747d770a84a18a20949430679aa1b7bf0f398")
sha256sums=('592fd3596587e522fd22a616c16a38675c55596f651ee628177be5325be36d4f')
pkgver() {
cd "${srcdir}/Vulkan-Tools"
echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
}
#pkgver() {
# cd "${srcdir}"/Vulkan-Tools*
#
# echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
#}
build() {
cd "${srcdir}/Vulkan-Tools"
cd "${srcdir}"/Vulkan-Tools*
rm -rf build ; mkdir build ; cd build
cmake \
@ -44,7 +45,7 @@ build() {
package() {
groups=('vulkan-devel')
cd "${srcdir}/Vulkan-Tools/build"
cd "${srcdir}"/Vulkan-Tools*/build
make DESTDIR="${pkgdir}" install