void-packages/srcpkgs/rust-bindgen/template

21 lines
712 B
Bash

# Template file for 'rust-bindgen'
pkgname=rust-bindgen
version=0.69.4
revision=1
build_style="cargo"
configure_args="--bins"
make_install_args="--path bindgen-cli"
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=c02ce18b95c4e5021b95b8b461e5dbe6178edffc52a5f555cbca35b910559b5e
post_install() {
vlicense LICENSE
}