Orhun Parmaksız pushed to branch main at Arch Linux / Packaging / Packages / macchina
Commits: c4720101 by Acid Xeon at 2024-10-07T13:50:05+00:00 Get target architecture for fetching sources more generically >From https://wiki.archlinux.org/title/Rust_package_guidelines#Prepare This allows other architectures to fetch sources with cargo without a patch. - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -16,7 +16,7 @@ sha256sums=('87a38bde067fadd96615899d6a8b9efdb238a4bd3859008be47b3e4c2a02c607') prepare() { cd "$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/macchina/-/commit/c47201019e21de800e226fedf3c1ddf64442e034 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/macchina/-/commit/c47201019e21de800e226fedf3c1ddf64442e034 You're receiving this email because of your account on gitlab.archlinux.org.
