x11-terms/alacritty: relocate CARGO_INSTALL_PATH definition
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 27 Dec 2019 01:57:56 +0000 (17:57 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 27 Dec 2019 01:59:37 +0000 (17:59 -0800)
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>
x11-terms/alacritty/alacritty-0.3.3-r1.ebuild
x11-terms/alacritty/alacritty-0.4.0.ebuild
x11-terms/alacritty/alacritty-9999.ebuild

index 20c79816962b71cc55664f5284f764ab19e566b6..ab36d23e24842e8cd1a6e618e175419a6860d5c0 100644 (file)
@@ -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
 
index 6fdd26ebf94629e9941199a75e0a4d94b4099b85..73011607da5b792641d05012ff3038f394659a14 100644 (file)
@@ -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
 
index 719e516f5db28cf9a2b46a1637d678882e8ffae6..e77852091721bf9967ad9037f7b1a165c526a388 100644 (file)
@@ -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