23 lines
756 B
Bash
23 lines
756 B
Bash
# Template file for 'corrosion'
|
|
pkgname=corrosion
|
|
version=0.6.1
|
|
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=e9e95b1ee2bad52681f347993fb1a5af5cce458c5ce8a2636c9e476e4babf8e3
|
|
|
|
do_check() {
|
|
cd build
|
|
# Require and uses rustup
|
|
ctest -E '(rustup_proxy_build|parse_target_triple_build|custom_target_build|custom_target_run_test-exe|custom_target_run_rust-bin|install_lib_build|install_lib_run_main-static|install_lib_run_main-shared)'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|