From a47570d0a2de8ea572b401fe82f703394cb7ce52 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 26 Dec 2019 17:57:56 -0800 Subject: [PATCH] x11-terms/alacritty: relocate CARGO_INSTALL_PATH definition it's better in src_install() for visibility Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- x11-terms/alacritty/alacritty-0.3.3-r1.ebuild | 4 +--- x11-terms/alacritty/alacritty-0.4.0.ebuild | 4 +--- x11-terms/alacritty/alacritty-9999.ebuild | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/x11-terms/alacritty/alacritty-0.3.3-r1.ebuild b/x11-terms/alacritty/alacritty-0.3.3-r1.ebuild index 20c79816962b..ab36d23e2484 100644 --- a/x11-terms/alacritty/alacritty-0.3.3-r1.ebuild +++ b/x11-terms/alacritty/alacritty-0.3.3-r1.ebuild @@ -320,10 +320,8 @@ QA_FLAGS_IGNORED="usr/bin/alacritty" S="${WORKDIR}/${PN}-${MY_PV}" -CARGO_INSTALL_PATH="alacritty" - src_install() { - cargo_src_install + CARGO_INSTALL_PATH="alacritty" cargo_src_install newbashcomp extra/completions/alacritty.bash alacritty diff --git a/x11-terms/alacritty/alacritty-0.4.0.ebuild b/x11-terms/alacritty/alacritty-0.4.0.ebuild index 6fdd26ebf946..73011607da5b 100644 --- a/x11-terms/alacritty/alacritty-0.4.0.ebuild +++ b/x11-terms/alacritty/alacritty-0.4.0.ebuild @@ -335,8 +335,6 @@ QA_FLAGS_IGNORED="usr/bin/alacritty" S="${WORKDIR}/${PN}-${MY_PV}" -CARGO_INSTALL_PATH="alacritty" - src_unpack() { if [[ "${PV}" == *9999* ]]; then git-r3_src_unpack @@ -352,7 +350,7 @@ src_prepare() { } src_install() { - cargo_src_install --offline + CARGO_INSTALL_PATH="alacritty" cargo_src_install --offline newbashcomp extra/completions/alacritty.bash alacritty diff --git a/x11-terms/alacritty/alacritty-9999.ebuild b/x11-terms/alacritty/alacritty-9999.ebuild index 719e516f5db2..e77852091721 100644 --- a/x11-terms/alacritty/alacritty-9999.ebuild +++ b/x11-terms/alacritty/alacritty-9999.ebuild @@ -50,8 +50,6 @@ QA_FLAGS_IGNORED="usr/bin/alacritty" S="${WORKDIR}/${PN}-${MY_PV}" -CARGO_INSTALL_PATH="alacritty" - src_unpack() { if [[ "${PV}" == *9999* ]]; then git-r3_src_unpack @@ -62,7 +60,7 @@ src_unpack() { } src_install() { - cargo_src_install --offline + CARGO_INSTALL_PATH="alacritty" cargo_src_install --offline newbashcomp extra/completions/alacritty.bash alacritty -- 2.26.2