void-packages/srcpkgs/rust-bindgen/template

20 lines
676 B
Bash

# Template file for 'rust-bindgen'
pkgname=rust-bindgen
version=0.60.1
revision=1
build_style="cargo"
make_check_args="--bins"
depends="libclang"
checkdepends="libclang"
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="b521c18af2230d748b1f7eea8f3aab9381a08a07024fc52a6350fee286fae4ec"
post_install() {
vlicense LICENSE
}