void-packages/srcpkgs/cargo-outdated/template

23 lines
686 B
Bash

# Template file for 'cargo-outdated'
pkgname=cargo-outdated
version=0.9.1
revision=3
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=8c3c014d84c2bdcd894e473b1f1b929c2e498fb2b5443fa1d02104e2291497f1
pre_build() {
cargo update --package openssl-sys --precise 0.9.53
cargo update --package openssl --precise 0.10.22
}
post_install() {
vlicense LICENSE-MIT
}