cbindgen: 0.24.3 -> 0.24.5

adopted port
This commit is contained in:
John McQuah 2023-07-11 08:25:32 -04:00
parent e8e64d03e6
commit 9945fb3678
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35gK/SeYG/wp4ZsD34Pz9OswN42kXfomz5ffzC4uNat1MWxKHv1mBaNHL1wFpUtJedf2IiHkPaVJ5ca3X65mGws=
SHA256 (Pkgfile) = c4b0fc4263f20c58c8591e7bec1cc30ecc5253c938272f21d306ba94ad507821
RWSagIOpLGJF33qS42/pTqD2V/Sq1gK6+e9xysRszBxjptRQdcHIC3Dd6FKvlG/LnRoCKSQevqy+RnRCVPIPF0Xd27UZ3zj/DAg=
SHA256 (Pkgfile) = 88ef30e56e8c45971843e057f6821646711cb78fb2c0bd31c79d0b13b976e76c
SHA256 (.footprint) = fd60992957bd0010460d49684c69464200651af797acdb98547f4847fc9f3f3c
SHA256 (cbindgen-v0.24.3.tar.gz) = 5d693ab54acc085b9f2dbafbcf0a1f089737f7e0cb1686fa338c2aaa05dc7705
SHA256 (cbindgen-v0.24.5.tar.gz) = 0ae34b7b4fb7186407ad3eed9783a48135a7ca3f8f9e3c2966483df44815e0ac

View File

@ -1,22 +1,22 @@
# Description: Generate C bindings from rust code
# URL: https://github.com/eqrion/cbindgen
# Maintainer: unmaintained
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: rust
# Optional: sccache
name=cbindgen
version=0.24.3
version=0.24.5
release=1
source=(https://github.com/eqrion/cbindgen/archive/v$version/$name-v$version.tar.gz)
source=(https://github.com/mozilla/$name/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir "$PKGMK_SOURCE_DIR/rust" || true
mkdir -p "$PKGMK_SOURCE_DIR/rust"
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
cargo fetch --locked --target x86_64-unknown-linux-gnu
cargo build --release --frozen --all-targets
cargo fetch --target x86_64-unknown-linux-gnu
cargo build --release --frozen --bins
install -Dt $PKG/usr/bin target/release/cbindgen
}