Update package version to 0.29.2

This commit is contained in:
2025-12-12 19:44:47 +02:00
parent 5b950b4f46
commit 2a376505a6
3 changed files with 21 additions and 12 deletions
+2 -7
View File
@@ -2,15 +2,9 @@
# 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/mozilla/cbindgen/archive/v${BPM_PKG_VERSION}/cbindgen-${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
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
# Fetch dependencies
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
@@ -33,5 +27,6 @@ check() {
package() {
install -Dm755 target/release/cbindgen "$BPM_OUTPUT"/usr/bin/cbindgen
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/cbindgen/LICENSE
}