void-packages/srcpkgs/cargo-edit/template

21 lines
621 B
Bash

# Template file for 'cargo-edit'
pkgname=cargo-edit
version=0.6.0
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Utility for managing cargo dependencies from the command line"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/killercup/cargo-edit"
distfiles="https://github.com/killercup/cargo-edit/archive/v${version}.tar.gz"
checksum=b91161dcb14d86bc605778cc7fb4d6f6333305fc6cbe84fc6717f1e682678200
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
}
post_install() {
vlicense LICENSE
}