29 lines
890 B
Bash
29 lines
890 B
Bash
# 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
|
|
}
|