From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/cbindgen/cbindgen.xibuild | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'repo/cbindgen/cbindgen.xibuild') diff --git a/repo/cbindgen/cbindgen.xibuild b/repo/cbindgen/cbindgen.xibuild index ae10722..23887b0 100644 --- a/repo/cbindgen/cbindgen.xibuild +++ b/repo/cbindgen/cbindgen.xibuild @@ -3,16 +3,20 @@ NAME="cbindgen" DESC="Tool to generate C bindings from Rust code" -MAKEDEPS="" -DEPS="gcc " +MAKEDEPS="cargo" -PKG_VER=0.23.0 +PKG_VER=0.24.3 SOURCE="https://crates.io/api/v1/crates/cbindgen/$PKG_VER/download" -build () { - cargo build --release --locked --verbose +prepare() { + cargo fetch --locked } -package () { - install -Dm0755 target/release/cbindgen "$PKG_DEST/usr/bin/cbindgen" +build() { + cargo build --release --frozen } + +package() { + install -Dm0755 target/release/cbindgen -t "$PKG_DEST"/usr/bin +} + -- cgit v1.2.1