From 275e5f18800ec4d1581c5436f55e8689208203da Mon Sep 17 00:00:00 2001 From: Erick Vilcica Date: Sun, 18 Sep 2022 19:36:54 +0100 Subject: [PATCH] New package: bindgen-0.60.1 --- srcpkgs/bindgen/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/bindgen/template diff --git a/srcpkgs/bindgen/template b/srcpkgs/bindgen/template new file mode 100644 index 000000000000..4cd680170625 --- /dev/null +++ b/srcpkgs/bindgen/template @@ -0,0 +1,19 @@ +# Template file for 'bindgen' +pkgname=bindgen +version=0.60.1 +revision=1 +build_style="cargo" +build_helper="rust" +short_desc="Tool to generate Rust FFI bindings to C (and some C++) libraries" +maintainer="Erick Vilcica " +license="BSD-3-Clause" +homepage="https://rust-lang.github.io/rust-bindgen/" +depends="libclang>=12.0.1" +shlib_requires="libclang.so.12" +wrksrc="rust-${pkgname}-${version}" +distfiles="https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v${version}.tar.gz" +checksum="b521c18af2230d748b1f7eea8f3aab9381a08a07024fc52a6350fee286fae4ec" + +post_install() { + vlicense LICENSE +}