From 3cc9daa02e28aea302c399e536d6343b3ed181e7 Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Wed, 8 May 2024 17:57:58 +0200 Subject: [PATCH] gui-apps/eww: add missing crate licenses remove redundant phase function and simplify src_install Signed-off-by: Lucio Sauer --- gui-apps/eww/eww-0.5.0-r4.ebuild | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gui-apps/eww/eww-0.5.0-r4.ebuild b/gui-apps/eww/eww-0.5.0-r4.ebuild index 7db131a5ef..c7cdf486bc 100644 --- a/gui-apps/eww/eww-0.5.0-r4.ebuild +++ b/gui-apps/eww/eww-0.5.0-r4.ebuild @@ -311,8 +311,11 @@ else KEYWORDS="~amd64" fi -LICENSE=" - MIT +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC + Unicode-DFS-2016 " SLOT="0" IUSE="X wayland" @@ -354,15 +357,9 @@ src_configure() { cargo_src_configure --no-default-features } -src_compile() { - cargo_gen_config - cargo_src_compile -} - src_install() { dodoc README.md CHANGELOG.md - cd target/release || die - dobin eww + cargo_src_install --path crates/eww elog "Eww wont run without a config file (usually in ~/.config/eww)." elog "For example configs visit https://github.com/elkowar/eww#examples" }