void-packages/srcpkgs/cargo-tree/template
2019-12-05 15:36:38 +01:00

24 lines
717 B
Bash

# Template file for 'cargo-tree'
pkgname=cargo-tree
version=0.27.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Cargo subcommand for visualising dependency trees"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, Apache-2.0"
homepage="https://crates.io/crates/cargo-tree"
distfiles="https://static.crates.io/crates/cargo-tree/cargo-tree-${version}.crate"
checksum=7eb6ae65ac7fe11ee3d85a1b2bd66e1befe813ebe6bf0aa2f6c5b3c4411f0628
post_install() {
vlicense LICENSE-MIT
vlicense LICENSE-APACHE
vdoc README.md
}
pre_build() {
cargo update --package openssl --precise 0.10.26
cargo update --package openssl-sys --precise 0.9.53
}