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"