index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-10-24 08:35:08 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-10-24 08:35:08 +0200 |
commit | 6d731455078de6b379609ca606bde834cc72dee5 (patch) | |
tree | 6681a810f344f28d05cd0d176dae1c6e1b05c4cc /extra/rust/PKGBUILD | |
parent | 90d82c3cd02434e00b76ecf719fdf11b06e7b6be (diff) |
-rw-r--r-- | extra/rust/PKGBUILD | 22 |
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/}) |