Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
arch-pkg-repo-updater


Commits:
a750132f by Acid Xeon at 2025-08-06T00:20:55+02:00
Get target architecture for fetching sources more generically

This allows other architectures to fetch sources with cargo without a patch.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -33,7 +33,7 @@ validpgpkeys=(
 
 prepare() {
   cd buildbtw/${pkgname}
-  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/arch-pkg-repo-updater/-/commit/a750132f9fa1dfcf072f16547c05c00dbdd38723

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/arch-pkg-repo-updater/-/commit/a750132f9fa1dfcf072f16547c05c00dbdd38723
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to