commit:     c10706871b65c6832785d78bb87d4892d19b4bee
Author:     odrling <florianbadie <AT> odrling <DOT> xyz>
AuthorDate: Thu Mar 28 02:59:42 2024 +0000
Commit:     Florian Badie <florianbadie <AT> mailbox <DOT> org>
CommitDate: Thu Mar 28 03:06:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1070687

app-text/typst: use cargo_src_install

works as expected with USE=debug

Closes: https://bugs.gentoo.org/916990
Signed-off-by: odrling <florianbadie <AT> odrling.xyz>

 app-text/typst/typst-0.10.0.ebuild | 2 +-
 app-text/typst/typst-0.9.0.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/typst/typst-0.10.0.ebuild 
b/app-text/typst/typst-0.10.0.ebuild
index 6ea90d4388..4c42fd77bf 100644
--- a/app-text/typst/typst-0.10.0.ebuild
+++ b/app-text/typst/typst-0.10.0.ebuild
@@ -401,7 +401,7 @@ src_compile() {
 
 src_install() {
        local ARTIFACTSDIR='crates/typst-cli/artifacts'
-       dobin "${S}"/target/release/"${PN}"
+       cargo_src_install --path "${S}/crates/typst-cli"
        doman "${ARTIFACTSDIR}/${PN}"*.1
        dozshcomp "${ARTIFACTSDIR}/_${PN}"
        dofishcomp "${ARTIFACTSDIR}/${PN}.fish"

diff --git a/app-text/typst/typst-0.9.0.ebuild 
b/app-text/typst/typst-0.9.0.ebuild
index 8b905f4ed8..07dda3434f 100644
--- a/app-text/typst/typst-0.9.0.ebuild
+++ b/app-text/typst/typst-0.9.0.ebuild
@@ -423,7 +423,7 @@ src_compile() {
 
 src_install() {
        local ARTIFACTSDIR='crates/typst-cli/artifacts'
-       dobin "${S}"/target/release/"${PN}"
+       cargo_src_install --path "${S}/crates/typst-cli"
        doman "${ARTIFACTSDIR}/${PN}"*.1
        dozshcomp "${ARTIFACTSDIR}/_${PN}"
        dofishcomp "${ARTIFACTSDIR}/${PN}.fish"

Reply via email to