prepare+isolate cargo from home
prepare() {
cd $pkgname
export CARGO_HOME="$srcdir/CARGO_HOME"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
build() {
export CARGO_HOME="$srcdir/CARGO_HOME"
Also, why there's pkgver
section if this is not a -git
package?
Pinned Comments