# Template file for 'rust-bindgen'
pkgname=rust-bindgen
version=0.72.1
revision=1
_llvmver=21
build_style="cargo"
configure_args="--bins"
make_install_args="--path bindgen-cli"
depends="libclang${_llvmver}"
checkdepends="libclang${_llvmver}"
short_desc="Tool to generate Rust FFI bindings to C (and some C++) libraries"
maintainer="Erick Vilcica <erick.vilcica@protonmail.com>"
license="BSD-3-Clause"
homepage="https://rust-lang.github.io/rust-bindgen/"
changelog="https://raw.githubusercontent.com/rust-lang/rust-bindgen/master/CHANGELOG.md"
distfiles="https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v${version}.tar.gz"
checksum=4ffb17061b2d71f19c5062d2e17e64107248f484f9775c0b7d30a16a8238dfd1

post_install() {
	vlicense LICENSE
}
