diff --git a/pkg.info b/pkg.info index 93dbc5d..7d9e3d6 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,16 @@ name: vulkan-headers description: Vulkan header files -version: 1.4.327 +version: 1.4.328 +revision: 1 url: https://www.khronos.org/vulkan/ license: Apache2 or MIT architecture: any -make_depends: ["cmake","ninja"] 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: true + extract_strip_components: 1 + checksum: 3ad56d387179b47dd632432ccf989bbb69773e1d732692b7bbad9c4d36aa1304 diff --git a/source.sh b/source.sh index b77b1c6..0a35578 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v${BPM_PKG_VERSION}/Vulkan-Headers-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {