diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template index 8270694bc1b..79aa1f62d9b 100644 --- a/srcpkgs/maturin/template +++ b/srcpkgs/maturin/template @@ -2,6 +2,7 @@ pkgname=maturin version=0.13.6 revision=1 +create_wrksrc=yes build_style=python3-module build_helper="qemu rust" hostmakedepends="python3-setuptools-rust python3-tomli python3-wheel cargo" @@ -31,7 +32,8 @@ case "$XBPS_TARGET_MACHINE" in esac post_extract() { - mv ../target-lexicon* target-lexicon + mv maturin-${version}/* . + mv target-lexicon-* target-lexicon echo "[patch.crates-io]" >> Cargo.toml echo "target-lexicon = { path = './target-lexicon' }" >> Cargo.toml }