Created
March 20, 2020 01:51
-
-
Save oscarcp/4c4fb71fa380015b722172f308d406b1 to your computer and use it in GitHub Desktop.
vulakn-headers 1.2.135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Laurent Carlier <lordheavym@gmail.com> | |
pkgname=vulkan-headers | |
_pkgname=Vulkan-Headers | |
pkgver=1.2.135 | |
pkgrel=1 | |
epoch=1 | |
pkgdesc="Vulkan header files" | |
arch=(any) | |
url="https://www.khronos.org/vulkan/" | |
license=('APACHE') | |
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") | |
#source=("git+https://github.com/KhronosGroup/Vulkan-Headers.git#commit=5f1ceaad4c22d08f4fcac9db3046afbd64358249") | |
sha256sums=('cfca993d0ce6f33c669e78ee015fd49c65d3a998cd14e92e900a89380e41ae28') | |
#pkgver() { | |
# cd Vulkan-Headers* | |
# | |
# echo 1.1.107+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD) | |
#} | |
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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment