summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-26 17:57:56 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-26 17:59:37 -0800
commita47570d0a2de8ea572b401fe82f703394cb7ce52 (patch)
treee79bee6cb3166c51e9883c2bd28b09e954c08449
parentsys-apps/lsd: keyword 0.16.0 on ~ppc64 (diff)
downloadgentoo-a47570d0a2de8ea572b401fe82f703394cb7ce52.tar.gz
gentoo-a47570d0a2de8ea572b401fe82f703394cb7ce52.tar.bz2
gentoo-a47570d0a2de8ea572b401fe82f703394cb7ce52.zip
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 <gyakovlev@gentoo.org>
-rw-r--r--x11-terms/alacritty/alacritty-0.3.3-r1.ebuild4
-rw-r--r--x11-terms/alacritty/alacritty-0.4.0.ebuild4
-rw-r--r--x11-terms/alacritty/alacritty-9999.ebuild4
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