void-packages/srcpkgs/cargo-outdated/template

26 lines
778 B
Bash

# Template file for 'cargo-outdated'
pkgname=cargo-outdated
version=0.9.9
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel libressl-devel"
short_desc="Cargo subcommand for displaying when dependencies are out of date"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://github.com/kbknapp/cargo-outdated"
distfiles="https://github.com/kbknapp/cargo-outdated/archive/v${version}.tar.gz"
checksum=f23bb266d0f31316817e6350b4a02a91cbb6b02baa280092bbd9719ebfee31b4
# remove with dependency update to cargo 0.44 or newer
export LIBGIT2_SYS_USE_PKG_CONFIG=1
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
cargo update --package openssl --precise 0.10.30
}
post_install() {
vlicense LICENSE-MIT
}