jobextra/vulkan-headers/PKGBUILD

46 lines
1.1 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=vulkan-headers
_pkgname=Vulkan-Headers
pkgver=1.3.235
pkgrel=01
epoch=1
pkgdesc="Vulkan header files"
arch=(any)
url="https://www.khronos.org/vulkan/"
makedepends=(cmake git)
provides=("vulkan-hpp=${pkgver}")
groups=(vulkan-devel)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/Vulkan-Headers/archive/v${pkgver}.tar.gz")
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
}
#---- license gpg-key sha256sums ----
license=('APACHE')
sha256sums=(fca90d27e60816b5d72a700c241206c57e7d909e8ab4adfc340f5a5e9a019448) # vulkan-headers-1.3.235.tar.gz