Commit c47d9f23 authored by Jeff Huang's avatar Jeff Huang 🤔

cbindgen: update to 0.11.0

parent ab0147bd
Pipeline #5009 canceled with stages
in 32 seconds
# Contributions from Arch:
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=cbindgen
pkgver=0.9.1
pkgver=0.11.0
pkgrel=1
pkgdesc="A tool for generating C bindings to Rust code"
url="https://github.com/eqrion/cbindgen"
arch=(x86_64)
license=(MPL2)
depends=(gcc-libs)
makedepends=(rust git llvm-libs)
_commit=8e4db4c17fbdc0cfa9b98cfe9d47ca6263858def # tags/v0.9.1^0
makedepends=(rust git)
_commit=0355c3c0315e22cd91e7ef35913247347bc7b73b # tags/v0.11.0^0
source=("git+https://github.com/eqrion/cbindgen#commit=$_commit")
sha512sums=('SKIP')
......@@ -18,14 +19,19 @@ pkgver() {
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd $pkgname
cargo fetch --locked
}
build() {
cd $pkgname
cargo build --release
cargo build --release --frozen
}
check() {
cd $pkgname
cargo test --release || :
cargo test --release --frozen || :
}
package() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment