2023-03-21 20:41:09 +01:00
|
|
|
# Template file for 'cargo-license'
|
|
|
|
pkgname=cargo-license
|
|
|
|
version=0.5.1
|
2023-04-17 08:40:33 +02:00
|
|
|
revision=2
|
2023-03-21 20:41:09 +01:00
|
|
|
build_style=cargo
|
|
|
|
short_desc="Cargo subcommand to see license of dependencies"
|
|
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/onur/cargo-license"
|
|
|
|
distfiles="https://github.com/onur/cargo-license/archive/refs/tags/v${version}.tar.gz"
|
|
|
|
checksum=934359118e69dfdf75c0e3b25a1bd154c3568a73e767bd35cb2fa91320016569
|
|
|
|
|
2023-04-17 08:40:33 +02:00
|
|
|
post_patch() {
|
|
|
|
# upstream does not ship a lockfile yet: https://github.com/onur/cargo-license/pull/63
|
|
|
|
cargo generate-lockfile
|
|
|
|
}
|
|
|
|
|
2023-03-21 20:41:09 +01:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|