Fix error: could not find Cargo.toml in ~/.cache/yay/aarty/src or any parent directory

This commit is contained in:
Anas Elgarhy 2022-10-04 12:26:45 +02:00
parent 85961578c2
commit 358b5a1b8f

View file

@ -17,6 +17,7 @@ source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgn
noextract=()
prepare() {
cd "$pkgname-$pkgver"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}