diff options
author | James Le Cuirot <chewi@gentoo.org> | 2024-06-13 22:52:25 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-06-17 10:27:52 +0100 |
commit | a2780ad12203ceb1c4e473c0af848acbe5d9b34c (patch) | |
tree | f274f6f8c523c362681549621e7089201d7edb52 /gui-libs/greetd | |
parent | dev-vcs/mercurial: Use new cargo_target_dir helper (diff) | |
download | gentoo-a2780ad12203ceb1c4e473c0af848acbe5d9b34c.tar.gz gentoo-a2780ad12203ceb1c4e473c0af848acbe5d9b34c.tar.bz2 gentoo-a2780ad12203ceb1c4e473c0af848acbe5d9b34c.zip |
gui-libs/greetd: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'gui-libs/greetd')
-rw-r--r-- | gui-libs/greetd/greetd-0.10.0.ebuild | 5 | ||||
-rw-r--r-- | gui-libs/greetd/greetd-0.9.0.ebuild | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/gui-libs/greetd/greetd-0.10.0.ebuild b/gui-libs/greetd/greetd-0.10.0.ebuild index 5e4a733651a2..1969369022d9 100644 --- a/gui-libs/greetd/greetd-0.10.0.ebuild +++ b/gui-libs/greetd/greetd-0.10.0.ebuild @@ -107,10 +107,7 @@ src_compile() { } src_install() { - # if USE=debug, install binaries from the debug directory; else - # install binaries from the release directory - # https://bugs.gentoo.org/889052 - dobin target/$(usex debug debug release)/{agreety,fakegreet,greetd} + dobin "$(cargo_target_dir)"/{agreety,fakegreet,greetd} insinto /etc/greetd doins config.toml diff --git a/gui-libs/greetd/greetd-0.9.0.ebuild b/gui-libs/greetd/greetd-0.9.0.ebuild index b90a0f18ce5d..e8411fc22c87 100644 --- a/gui-libs/greetd/greetd-0.9.0.ebuild +++ b/gui-libs/greetd/greetd-0.9.0.ebuild @@ -94,10 +94,7 @@ src_compile() { } src_install() { - # if USE=debug, install binaries from the debug directory; else - # install binaries from the release directory - # https://bugs.gentoo.org/889052 - dobin target/$(usex debug debug release)/{agreety,fakegreet,greetd} + dobin "$(cargo_target_dir)"/{agreety,fakegreet,greetd} insinto /etc/greetd doins config.toml |