Update package version to 1.4.329

This commit is contained in:
2025-10-10 18:33:48 +03:00
parent 763faafe2c
commit c4c74c253e
2 changed files with 6 additions and 10 deletions
+2 -3
View File
@@ -1,6 +1,6 @@
name: vulkan-headers
description: Vulkan header files
version: 1.4.328
version: 1.4.329
revision: 1
url: https://www.khronos.org/vulkan/
license: Apache2 or MIT
@@ -9,9 +9,8 @@ output_architecture: any
type: source
make_depends:
- cmake
- ninja
downloads:
- url: https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v${BPM_PKG_VERSION}/Vulkan-Headers-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 3ad56d387179b47dd632432ccf989bbb69773e1d732692b7bbad9c4d36aa1304
checksum: 7ea67aabccdecc6ef616b4c243f563ac9bca945a63d4f4cca21f1bbcd828b18e
+4 -7
View File
@@ -5,18 +5,15 @@
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
ninja
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
cd build
DESTDIR="$BPM_OUTPUT" ninja install
DESTDIR="$BPM_OUTPUT" cmake --install build
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSES/MIT.txt "$BPM_OUTPUT"/usr/share/licenses/vulkan-headers/MIT.txt
}