2022-05-24 13:01:48 +02:00
|
|
|
#!/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
|
2022-09-11 01:12:15 +02:00
|
|
|
pkgver=1.3.227
|
2022-05-24 13:01:48 +02:00
|
|
|
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')
|
|
|
|
|
2022-09-11 01:12:15 +02:00
|
|
|
sha256sums=(5b345a9f0dafc96e4d0cd2d95547702c4451691dc731f6b486ba36fd9bab7bfe) # vulkan-headers-1.3.227.tar.gz
|
2022-07-19 21:56:51 +02:00
|
|
|
|
|
|
|
|