void-packages/srcpkgs/cargo-edit/template

21 lines
772 B
Bash

# Template file for 'cargo-edit'
pkgname=cargo-edit
version=0.12.0
revision=2
archs="x86_64* i686* aarch64* arm*" # uses ring
build_style=cargo
configure_args="--no-default-features -F upgrade,set-version"
hostmakedepends="pkg-config"
makedepends="openssl-devel libgit2-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"
changelog="https://raw.githubusercontent.com/killercup/cargo-edit/master/CHANGELOG.md"
distfiles="https://github.com/killercup/cargo-edit/archive/refs/tags/v${version}.tar.gz"
checksum=a8168ea2320c095f55d2b32f8bede8c814dcdc4290c250df36dc8ce0f6fb2095
post_install() {
vlicense LICENSE
}