Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/rust/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD
index ac7f0b37..5473a68c 100644
--- a/extra/rust/PKGBUILD
+++ b/extra/rust/PKGBUILD
@@ -36,6 +36,14 @@ fi
# Don't move lib32 support into rust32-lib, we are on 32-bit in the end
# and don't draw a symlink to 64-bit libraries (but to 32-bit instead)
+
+pkgname=(
+ $(
+ printf '%s\n' "${pkgname[@]}" | \
+ grep -v '^lib32-rust-libs'
+ )
+)
+
eval "$(
declare -f package_rust | \
sed '
@@ -50,6 +58,20 @@ eval "$(
source+=('watcher.sh')
sha256sums+=('a37ef742e079c7f7e80297bdb97115808b48f77fd92571468853de5cbd7ee800')
+if [ "${CARCH}" = "i686" ]; then
+ eval "$(
+ declare -f package_rust | \
+ sed '
+ /.\/x.py/ i \
+ "$srcdir/watcher.sh" "$srcdir" & \
+ _kill_pid=$! \
+ sleep 10
+ /.\/x.py/ a \
+ kill $_kill_pid
+ '
+ )"
+fi
+
# Enable on demand, if your previous rust is broken, see also build-support and AUR
# for rust-bin.
#makedepends=(${makedepends[@]//rust/})