diff options
author | Mark Wagie | 2023-05-27 16:43:19 -0600 |
---|---|---|
committer | Mark Wagie | 2023-05-27 16:43:19 -0600 |
commit | 118e3d0cf4d50e9db5b8d614b7c53cd9f6d9d2b4 (patch) | |
tree | 6b8c80dba1fe483799796c910d8eb6c4d732d9c5 /PKGBUILD | |
parent | d0338c7be0ac2621c30bbf8cad7da8a0aa7621a7 (diff) | |
download | aur-118e3d0cf4d50e9db5b8d614b7c53cd9f6d9d2b4.tar.gz |
use local cargo cache
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -46,10 +46,8 @@ prepare() { # Disable building of rpm patch --strip=1 gui/tasks/distribution.js < ../no-rpm.diff + export CARGO_HOME="$srcdir/cargo-home" export RUSTUP_TOOLCHAIN=stable - echo "Removing old Rust build artifacts" - cargo clean - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" pushd wireguard/libwg @@ -67,6 +65,8 @@ prepare() { build() { cd "$srcdir/mullvadvpn-app" + export CARGO_HOME="$srcdir/cargo-home" + export RUSTUP_TOOLCHAIN=stable local RUSTC_VERSION=$(rustc --version) local PRODUCT_VERSION=$(cargo run -q --bin mullvad-version) |