From c10706871b65c6832785d78bb87d4892d19b4bee Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 28 Mar 2024 03:59:42 +0100 Subject: [PATCH] app-text/typst: use cargo_src_install works as expected with USE=debug Closes: https://bugs.gentoo.org/916990 Signed-off-by: odrling --- 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"