Balló György pushed to branch main at Arch Linux / Packaging / Packages / gnome-tour
Commits: c08a9381 by Balló György at 2024-08-31T22:46:36+02:00 Download crates in prepare() - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -32,6 +32,13 @@ export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 # Use debug export CARGO_PROFILE_RELEASE_DEBUG=2 +prepare() { + cd $pkgname + + export CARGO_HOME="$srcdir/build/cargo-home" + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" +} + build() { arch-meson $pkgname build meson compile -C build View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-tour/-/commit/c08a9381eaed1f3e6063f05a45bd6c2cf382455d -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-tour/-/commit/c08a9381eaed1f3e6063f05a45bd6c2cf382455d You're receiving this email because of your account on gitlab.archlinux.org.