47 lines
1.4 KiB
Bash
47 lines
1.4 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.264
|
|
pkgrel=02
|
|
epoch=1
|
|
pkgdesc="Vulkan header files"
|
|
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"
|
|
vulkan_hpp_macros.hpp)
|
|
|
|
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
|
|
install -m655 ${srcdir}/vulkan_hpp_macros.hpp ${pkgdir}/usr/include/vulkan/
|
|
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('APACHE')
|
|
|
|
sha256sums=(e5d47599b971d8fe223b034019f7da736a97cdd6c3899b83a5d8873ff23e0e62 # vulkan-headers-1.3.264.tar.gz
|
|
f04edce292c8a6971c058ce98015ceae7d1efc184213a468cb679293900e1fe3) # vulkan_hpp_macros.hpp
|
|
|
|
## e25217856832c0b83ebcb573a49cfdb0de85cc8db8342a221071c4efde95bd1a vulkan-headers-1_1.3.264-02-x86_64.pkg.tar.lz
|