void-packages/srcpkgs/corrosion/template

23 lines
608 B
Bash

# Template file for 'corrosion'
pkgname=corrosion
version=0.4.4
revision=1
build_style=cmake
hostmakedepends="cargo"
short_desc="Tool for integrating Rust into an existing CMake project"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://github.com/corrosion-rs/corrosion"
distfiles="https://github.com/corrosion-rs/corrosion/archive/refs/tags/v${version}.tar.gz"
checksum=bf3981d0e066f2c877949ec59d9ed6cb193ae4ff615b73f20c64a5de68fc06ab
do_check() {
cd build
# Require and uses rustup
ctest -E '(rustup_proxy_build|parse_target_triple_build)'
}
post_install() {
vlicense LICENSE
}