PKGBUILDs/vulkan-headers/static-compat/PKGBUILD

32 lines
782 B
Bash

# Contributor: Laurent Carlier <lordheavym@gmail.com>
pkgname=static-compat-vulkan-headers
_pkgname=Vulkan-Headers
pkgver=1.3.221
pkgrel=1
epoch=1
pkgdesc="Vulkan header files"
arch=(any)
url="https://www.khronos.org/vulkan/"
license=('APACHE')
makedepends=(static-compat-cmake git)
provides=("static-compat-vulkan-hpp=${pkgver}")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/Vulkan-Headers/archive/v${pkgver}.tar.gz")
sha256sums=('75057d8231bb7a3f6ac091f1b08f50604f07a7e9b4424fd12c035f01787ebf0c')
build() {
source static-compat-environment
cd Vulkan-Headers*
rm -rf build ; mkdir build ; cd build
static-compat-cmake ..
make
}
package() {
source static-compat-environment
cd Vulkan-Headers*/build
make DESTDIR="${pkgdir}" install
}