Orhun Parmaksız pushed to branch main at Arch Linux / Packaging / Packages / 
mastodon-twitter-sync


Commits:
ba682f36 by Acid Xeon at 2025-02-10T08:54:11+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 @@ options=('!lto')
 
 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/mastodon-twitter-sync/-/commit/ba682f36416854e59a3c6a7e23dd1dddf83d9d42

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mastodon-twitter-sync/-/commit/ba682f36416854e59a3c6a7e23dd1dddf83d9d42
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to