New package: cargo-crev-0.17.0

This commit is contained in:
Jan Christian Grünhage 2020-07-09 00:14:10 +02:00 committed by Piraty
parent 9824f4f46a
commit a1f454a333

View file

@ -0,0 +1,28 @@
# Template file for 'cargo-crev'
pkgname=cargo-crev
version=0.17.0
revision=1
build_style=cargo
make_install_args="--path ./cargo-crev"
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Cryptographically verifiable code review system for cargo"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MPL-2.0, MIT, Apache-2.0"
homepage="https://github.com/crev-dev/cargo-crev"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=340efb023985c3950e9cf1eafe386248aecd3b8000d97563d274b38fa63633cc
pre_build() {
# Versions in lockfile are incompatible with current libressl
cargo update --package openssl-sys:0.9.55 --precise 0.9.58
cargo update --package openssl:0.10.26 --precise 0.10.30
}
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT
vlicense LICENSE-MPL2
vdoc README.md
vdoc cargo-crev/src/doc/getting_started.md
}