commit:     60ae44717796b7f4c7e300f598b6be4b66adf141
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 15 01:42:34 2023 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 01:42:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60ae4471

app-i18n/yaskkserv2: fix install with USE=debug

Closes: https://bugs.gentoo.org/889542
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-i18n/yaskkserv2/yaskkserv2-0.1.5.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-i18n/yaskkserv2/yaskkserv2-0.1.5.ebuild 
b/app-i18n/yaskkserv2/yaskkserv2-0.1.5.ebuild
index c2d45d4ab4e7..1889daa533d5 100644
--- a/app-i18n/yaskkserv2/yaskkserv2-0.1.5.ebuild
+++ b/app-i18n/yaskkserv2/yaskkserv2-0.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -200,8 +200,10 @@ src_test() {
 }
 
 src_install() {
-       dosbin target/release/${PN}
-       dobin  target/release/${PN}_make_dictionary
+       cargo_src_install
+       dodir /usr/sbin
+       mv "${ED}"/usr/{,s}bin/${PN}    || die
+       rm "${ED}"/usr/bin/test_wrapper || die
        einstalldocs
 
        keepdir /usr/lib/${PN}

Reply via email to