void-packages/srcpkgs/cargo-outdated/template

24 lines
734 B
Bash

# Template file for 'cargo-outdated'
pkgname=cargo-outdated
version=0.8.0
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=6e07552706cdebceaf5b03bcd022082cdafca70e8e095a74ace95c767e39d509
pre_build() {
cargo update --package autocfg --precise 0.1.4
cargo update --package openssl-sys --precise 0.9.46
cargo update --package openssl --precise 0.10.22
}
post_install() {
vlicense LICENSE-MIT
}