maturin: use create_wrksrc
This commit is contained in:
parent
068b6a25a5
commit
5b2f1d5797
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue