app-shells/zoxide: fix pre-stripped files + fix LICENSE

Closes: https://bugs.gentoo.org/856529
Signed-off-by: Leonardo Hernández Hernández <leohdz172@outlook.com>
This commit is contained in:
Leonardo Hernández Hernández
2022-09-21 23:44:12 -05:00
parent 53f88efa24
commit 74d1ad6e9f
2 changed files with 21 additions and 4 deletions

View File

@@ -157,12 +157,22 @@ SRC_URI="
$(cargo_crate_uris)
"
LICENSE="MIT"
LICENSE="BSD CC0-1.0 MIT
|| ( Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT )
|| ( Apache-2.0 BSD-2 MIT )
|| ( Apache-2.0 MIT )
|| ( MIT Unlicense )
"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/zoxide"
src_prepare() {
sed -i 's:strip = true:strip = false:g' Cargo.toml || die
default
}
src_install() {
cargo_src_install

View File

@@ -109,14 +109,21 @@ SRC_URI="
$(cargo_crate_uris)
"
# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 MIT Unicode-DFS-2016 Unlicense"
LICENSE="BSD CC0-1.0 MIT Unicode-DFS-2016
|| ( Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT )
|| ( Apache-2.0 MIT )
|| ( MIT Unlicense )
"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/zoxide"
src_prepare() {
sed -i 's:strip = true:strip = false:g' Cargo.toml || die
default
}
src_install() {
cargo_src_install