mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cargo-license: generate missing lockfile
This commit is contained in:
parent
cd045158c3
commit
1f26538e75
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cargo-license'
|
# Template file for 'cargo-license'
|
||||||
pkgname=cargo-license
|
pkgname=cargo-license
|
||||||
version=0.5.1
|
version=0.5.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
short_desc="Cargo subcommand to see license of dependencies"
|
short_desc="Cargo subcommand to see license of dependencies"
|
||||||
maintainer="classabbyamp <void@placeviolette.net>"
|
maintainer="classabbyamp <void@placeviolette.net>"
|
||||||
|
@ -10,6 +10,11 @@ homepage="https://github.com/onur/cargo-license"
|
||||||
distfiles="https://github.com/onur/cargo-license/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/onur/cargo-license/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=934359118e69dfdf75c0e3b25a1bd154c3568a73e767bd35cb2fa91320016569
|
checksum=934359118e69dfdf75c0e3b25a1bd154c3568a73e767bd35cb2fa91320016569
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# upstream does not ship a lockfile yet: https://github.com/onur/cargo-license/pull/63
|
||||||
|
cargo generate-lockfile
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue