Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/auth-tarball-from-git
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-05-06 02:44:21 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-05-06 02:44:21 +0300
commit997340363a31436c3b5eee23b14278ffa81c0f49 (patch)
treee75b1d3f56e19d4afbaf8ad345c309f9e233cb33 /extra/auth-tarball-from-git
parent921761a0f67613dccce0fee4cb060cb6183aebd7 (diff)
extra/*: Fix for rust-related packages
Diffstat (limited to 'extra/auth-tarball-from-git')
-rw-r--r--extra/auth-tarball-from-git/PKGBUILD9
1 files changed, 1 insertions, 8 deletions
diff --git a/extra/auth-tarball-from-git/PKGBUILD b/extra/auth-tarball-from-git/PKGBUILD
index 4898d5c6..6883ef75 100644
--- a/extra/auth-tarball-from-git/PKGBUILD
+++ b/extra/auth-tarball-from-git/PKGBUILD
@@ -1,8 +1 @@
-# patch architecture for fetching the right rust modules
-eval "$(
- declare -f prepare | \
- sed '
- s|$CARCH|i686|g
- '
-)"
-
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"