void-packages/srcpkgs/cargo-edit/template

21 lines
772 B
Bash

# Template file for 'cargo-edit'
pkgname=cargo-edit
version=0.12.2
revision=1
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=10c86ca7585852ce288a44608ef87c827f4b733a94eb847ab15735b823b30560
post_install() {
vlicense LICENSE
}