app-text/typst: use cargo_src_install

works as expected with USE=debug

Closes: https://bugs.gentoo.org/916990
Signed-off-by: odrling <florianbadie@odrling.xyz>
This commit is contained in:
odrling
2024-03-28 03:59:42 +01:00
parent dafdddb8c3
commit c10706871b
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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"