cargo-update: generate lockfile
This commit is contained in:
parent
3c3b8a2e7b
commit
7827cf3c30
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cargo-update'
|
||||
pkgname=cargo-update
|
||||
version=13.0.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config go-md2man"
|
||||
makedepends="libcurl-devel libgit2-devel libssh2-devel openssl-devel"
|
||||
|
@ -18,6 +18,13 @@ if [ "$XBPS_TARGET_MACHINE" == "i686" ]; then
|
|||
make_check_args="-- --skip ops::assert_index_path"
|
||||
fi
|
||||
|
||||
post_patch() {
|
||||
# Upstream does not ship a lockfile and is very vocal about that being
|
||||
# the right way:
|
||||
# https://github.com/nabijaczleweli/cargo-update/issues/50
|
||||
cargo generate-lockfile
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vdoc README.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue