Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion srcpkgs/cargo-license/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'cargo-license'
pkgname=cargo-license
version=0.5.1
revision=1
revision=2
build_style=cargo
short_desc="Cargo subcommand to see license of dependencies"
maintainer="classabbyamp <void@placeviolette.net>"
Expand All @@ -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"
checksum=934359118e69dfdf75c0e3b25a1bd154c3568a73e767bd35cb2fa91320016569

post_patch() {
# upstream does not ship a lockfile yet: https://github.com/onur/cargo-license/pull/63
cargo generate-lockfile
}

post_install() {
vlicense LICENSE
}