Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/acme-redirect/PKGBUILD1
-rw-r--r--extra/amdvlk/PKGBUILD3
-rw-r--r--extra/anewer/PKGBUILD1
-rw-r--r--extra/angle-grinder/PKGBUILD1
-rw-r--r--extra/arti/PKGBUILD1
-rw-r--r--extra/at51/PKGBUILD1
-rw-r--r--extra/auth-tarball-from-git/PKGBUILD9
-rw-r--r--extra/autotiling-rs/PKGBUILD1
-rw-r--r--extra/bacon/PKGBUILD1
-rw-r--r--extra/bingrep/PKGBUILD1
-rw-r--r--extra/binocle/PKGBUILD1
-rw-r--r--extra/bore/PKGBUILD1
-rw-r--r--extra/bottom/PKGBUILD1
-rw-r--r--extra/bupstash/PKGBUILD1
-rw-r--r--extra/cargo-binstall/PKGBUILD1
-rw-r--r--extra/cargo-edit/PKGBUILD1
-rw-r--r--extra/cargo-pgrx/PKGBUILD1
-rw-r--r--extra/cargo-sort/PKGBUILD1
-rw-r--r--extra/cargo-supply-chain/PKGBUILD1
-rw-r--r--extra/cargo-tarpaulin/PKGBUILD1
-rw-r--r--extra/cargo2junit/PKGBUILD1
-rw-r--r--extra/catch2/PKGBUILD3
-rw-r--r--extra/choose/PKGBUILD1
-rw-r--r--extra/clipcat/PKGBUILD1
-rw-r--r--extra/cmake/PKGBUILD77
-rw-r--r--extra/cocogitto/PKGBUILD1
-rw-r--r--extra/committed/PKGBUILD1
-rw-r--r--extra/cxxbridge/PKGBUILD1
-rw-r--r--extra/cython/PKGBUILD26
-rw-r--r--extra/diesel-cli/PKGBUILD1
-rw-r--r--extra/diskonaut/PKGBUILD1
-rw-r--r--extra/dmd/PKGBUILD3
-rw-r--r--extra/docbook-xml/PKGBUILD0
-rw-r--r--extra/dog/PKGBUILD1
-rw-r--r--extra/dscanner/PKGBUILD1
-rw-r--r--extra/dysk/PKGBUILD1
-rw-r--r--extra/elf2nucleus/PKGBUILD1
-rw-r--r--extra/erdtree/PKGBUILD1
-rw-r--r--extra/eva/PKGBUILD1
-rw-r--r--extra/firecracker/PKGBUILD1
-rw-r--r--extra/flip-link/PKGBUILD1
-rw-r--r--extra/gcc13/PKGBUILD125
-rw-r--r--extra/giflib/PKGBUILD8
-rw-r--r--extra/git-delta/PKGBUILD3
-rw-r--r--extra/git-grab/PKGBUILD1
-rw-r--r--extra/gitlab-exporter/PKGBUILD1
-rw-r--r--extra/gitoxide/PKGBUILD1
-rw-r--r--extra/gitu/PKGBUILD2
-rw-r--r--extra/grcov/PKGBUILD1
-rw-r--r--extra/greetd-regreet/PKGBUILD1
-rw-r--r--extra/greetd-tuigreet/PKGBUILD1
-rw-r--r--extra/greetd/PKGBUILD1
-rw-r--r--extra/halp/PKGBUILD1
-rw-r--r--extra/hck/PKGBUILD1
-rw-r--r--extra/htmlq/PKGBUILD1
-rw-r--r--extra/hyperfine/PKGBUILD1
-rw-r--r--extra/igrep/PKGBUILD1
-rw-r--r--extra/itstool/PKGBUILD1
-rw-r--r--extra/jless/PKGBUILD1
-rw-r--r--extra/jwt-cli/PKGBUILD1
-rw-r--r--extra/ldc/PKGBUILD4
-rw-r--r--extra/ldproxy/PKGBUILD1
-rw-r--r--extra/libetebase/PKGBUILD3
-rw-r--r--extra/librdkafka/PKGBUILD2
-rw-r--r--extra/libredefender/PKGBUILD1
-rw-r--r--extra/lurk/PKGBUILD1
-rw-r--r--extra/mastodon-twitter-sync/PKGBUILD1
-rw-r--r--extra/maturin/PKGBUILD1
-rw-r--r--extra/mdbook-linkcheck/PKGBUILD1
-rw-r--r--extra/mdcat/PKGBUILD1
-rw-r--r--extra/menyoki/PKGBUILD1
-rw-r--r--extra/meson-python/PKGBUILD2
-rw-r--r--extra/nanobind/PKGBUILD4
-rw-r--r--extra/nautilus/PKGBUILD3
-rw-r--r--extra/ncspot/PKGBUILD1
-rw-r--r--extra/netavark/PKGBUILD1
-rw-r--r--extra/nickel/PKGBUILD1
-rw-r--r--extra/openblas/PKGBUILD3
-rw-r--r--extra/ot-cryptid/PKGBUILD1
-rw-r--r--extra/ot-urchin/PKGBUILD1
-rw-r--r--extra/paccat/PKGBUILD1
-rw-r--r--extra/pacman-bintrans/PKGBUILD1
-rw-r--r--extra/pastel/PKGBUILD1
-rw-r--r--extra/pngquant/PKGBUILD1
-rw-r--r--extra/progpick/PKGBUILD1
-rw-r--r--extra/prometheus-wireguard-exporter/PKGBUILD1
-rw-r--r--extra/pyflow/PKGBUILD1
-rw-r--r--extra/python-aiohttp/PKGBUILD5
-rw-r--r--extra/python-ansible-compat/PKGBUILD2
-rw-r--r--extra/python-astropy/PKGBUILD7
-rw-r--r--extra/python-cachy/PKGBUILD1
-rw-r--r--extra/python-cmsis-pack-manager/PKGBUILD1
-rw-r--r--extra/python-django-allauth/PKGBUILD2
-rw-r--r--extra/python-gevent/PKGBUILD6
-rw-r--r--extra/python-hglib/PKGBUILD13
-rw-r--r--extra/python-httpx-ws/PKGBUILD4
-rw-r--r--extra/python-jaraco.envs/PKGBUILD14
-rw-r--r--extra/python-jaraco.itertools/PKGBUILD14
-rw-r--r--extra/python-jaraco.text/PKGBUILD14
-rw-r--r--extra/python-lupa/PKGBUILD2
-rw-r--r--extra/python-markupsafe/PKGBUILD2
-rw-r--r--extra/python-nose/PKGBUILD6
-rw-r--r--extra/python-numpy/PKGBUILD9
-rw-r--r--extra/python-pendulum/PKGBUILD53
-rw-r--r--extra/python-pluggy/PKGBUILD3
-rw-r--r--extra/python-qdldl/PKGBUILD7
-rw-r--r--extra/python-rpds-py/PKGBUILD1
-rw-r--r--extra/python-scikit-learn/PKGBUILD7
-rw-r--r--extra/python-setuptools/PKGBUILD12
-rw-r--r--extra/python-shapely/PKGBUILD16
-rw-r--r--extra/python-snappy/PKGBUILD1
-rw-r--r--extra/python-tomli-w/PKGBUILD5
-rw-r--r--extra/python-tqdm/PKGBUILD4
-rw-r--r--extra/python-validate-pyproject/PKGBUILD4
-rw-r--r--extra/python-virtualenv/PKGBUILD15
-rw-r--r--extra/python-xcffib/PKGBUILD5
-rwxr-xr-xextra/python-xcffib/xcffibgen-custom33
-rw-r--r--extra/python-xmlsec/PKGBUILD7
-rw-r--r--extra/rapidfuzz-cpp/PKGBUILD7
-rw-r--r--extra/rathole/PKGBUILD1
-rw-r--r--extra/rebuilderd/PKGBUILD1
-rw-r--r--extra/repro-env/PKGBUILD1
-rw-r--r--extra/rhit/PKGBUILD1
-rw-r--r--extra/riff/PKGBUILD1
-rw-r--r--extra/rosenpass/PKGBUILD1
-rw-r--r--extra/rpg-cli/PKGBUILD1
-rw-r--r--extra/rq/PKGBUILD1
-rw-r--r--extra/ruby/PKGBUILD3
-rw-r--r--extra/rust-analyzer/PKGBUILD1
-rw-r--r--extra/rust-script/PKGBUILD1
-rw-r--r--extra/rust/PKGBUILD10
-rw-r--r--extra/rust/config.toml.patch26
-rw-r--r--extra/rustic/PKGBUILD2
-rw-r--r--extra/samba/PKGBUILD9
-rw-r--r--extra/sequoia-sop/PKGBUILD1
-rw-r--r--extra/sheldon/PKGBUILD1
-rw-r--r--extra/skim/PKGBUILD1
-rw-r--r--extra/sn0int/PKGBUILD1
-rw-r--r--extra/sniffglue/PKGBUILD1
-rw-r--r--extra/sonic/PKGBUILD1
-rw-r--r--extra/spicy-launcher/PKGBUILD1
-rw-r--r--extra/spotify-launcher/PKGBUILD1
-rw-r--r--extra/spotifyd/PKGBUILD1
-rw-r--r--extra/spytrap-adb/PKGBUILD1
-rw-r--r--extra/sssd/PKGBUILD3
-rw-r--r--extra/systeroid/PKGBUILD1
-rw-r--r--extra/taskwarrior-tui/PKGBUILD1
-rw-r--r--extra/tealdeer/PKGBUILD1
-rw-r--r--extra/tere/PKGBUILD1
-rw-r--r--extra/tickrs/PKGBUILD1
-rw-r--r--extra/typst/PKGBUILD13
-rw-r--r--extra/updlockfiles/PKGBUILD1
-rw-r--r--extra/uwsgi/PKGBUILD3
-rw-r--r--extra/viu/PKGBUILD1
-rw-r--r--extra/wasm-pack/PKGBUILD1
-rw-r--r--extra/wiki-tui/PKGBUILD1
-rw-r--r--extra/wpewebkit/PKGBUILD1
-rw-r--r--extra/yabridge/PKGBUILD1
-rw-r--r--extra/zbus_xmlgen/PKGBUILD1
-rw-r--r--extra/zenith/PKGBUILD1
-rw-r--r--extra/zola/PKGBUILD1
161 files changed, 569 insertions, 165 deletions
diff --git a/extra/acme-redirect/PKGBUILD b/extra/acme-redirect/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/acme-redirect/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/amdvlk/PKGBUILD b/extra/amdvlk/PKGBUILD
index 8c10a1e1..77bed939 100644
--- a/extra/amdvlk/PKGBUILD
+++ b/extra/amdvlk/PKGBUILD
@@ -1,3 +1,6 @@
+# Prevent OOM
+options=(!debug)
+
eval "$(
declare -f build \
| sed '
diff --git a/extra/anewer/PKGBUILD b/extra/anewer/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/anewer/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/angle-grinder/PKGBUILD b/extra/angle-grinder/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/angle-grinder/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/arti/PKGBUILD b/extra/arti/PKGBUILD
new file mode 100644
index 00000000..94d20857
--- /dev/null
+++ b/extra/arti/PKGBUILD
@@ -0,0 +1 @@
+options+=(!debug)
diff --git a/extra/at51/PKGBUILD b/extra/at51/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/at51/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
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")@')"
diff --git a/extra/autotiling-rs/PKGBUILD b/extra/autotiling-rs/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/autotiling-rs/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/bacon/PKGBUILD b/extra/bacon/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/bacon/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/bingrep/PKGBUILD b/extra/bingrep/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/bingrep/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/binocle/PKGBUILD b/extra/binocle/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/binocle/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/bore/PKGBUILD b/extra/bore/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/bore/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/bottom/PKGBUILD b/extra/bottom/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/bottom/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/bupstash/PKGBUILD b/extra/bupstash/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/bupstash/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cargo-binstall/PKGBUILD b/extra/cargo-binstall/PKGBUILD
new file mode 100644
index 00000000..94d20857
--- /dev/null
+++ b/extra/cargo-binstall/PKGBUILD
@@ -0,0 +1 @@
+options+=(!debug)
diff --git a/extra/cargo-edit/PKGBUILD b/extra/cargo-edit/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cargo-edit/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cargo-pgrx/PKGBUILD b/extra/cargo-pgrx/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cargo-pgrx/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cargo-sort/PKGBUILD b/extra/cargo-sort/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cargo-sort/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cargo-supply-chain/PKGBUILD b/extra/cargo-supply-chain/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cargo-supply-chain/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cargo-tarpaulin/PKGBUILD b/extra/cargo-tarpaulin/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cargo-tarpaulin/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cargo2junit/PKGBUILD b/extra/cargo2junit/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cargo2junit/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/catch2/PKGBUILD b/extra/catch2/PKGBUILD
new file mode 100644
index 00000000..b28b04f6
--- /dev/null
+++ b/extra/catch2/PKGBUILD
@@ -0,0 +1,3 @@
+
+
+
diff --git a/extra/choose/PKGBUILD b/extra/choose/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/choose/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/clipcat/PKGBUILD b/extra/clipcat/PKGBUILD
new file mode 100644
index 00000000..94d20857
--- /dev/null
+++ b/extra/clipcat/PKGBUILD
@@ -0,0 +1 @@
+options+=(!debug)
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
index 18217d41..d394180e 100644
--- a/extra/cmake/PKGBUILD
+++ b/extra/cmake/PKGBUILD
@@ -1,39 +1,44 @@
-# do not build in parallel on build slaves
-eval "$(
- declare -f build | \
- sed '
- s/--parallel=.*/--parallel=1/
- '
-)"
+# cmake requires expat but upstream don't seem to include it
+depends+=('expat')
-# ignore gui (for now, needs Qt6, which needs atomics)
-makedepends=(${makedepends[@]//qt6-base/})
-eval "$(
- declare -f build | \
- sed '
- s/--qt-gui//
- '
-)"
+if [[ $CARCH = 'i486' ]]; then
+ # do not build in parallel on build slaves
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--parallel=.*/--parallel=1/
+ '
+ )"
-# disable documentation (python is somewhat broken currently)
-makedepends=(${makedepends[@]//python-sphinx/})
-eval "$(
- declare -f build | \
- sed '
- s/--sphinx-man//
- s/--sphinx-html//
- '
- declare -f package | \
- sed '
- /html\/_sources/d
- '
-)"
+ # ignore gui (for now, needs Qt6, which needs atomics)
+ makedepends=(${makedepends[@]//qt6-base/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--qt-gui//
+ '
+ )"
-# emacs is broken currently
-makedepends=(${makedepends[@]//emacs/})
-eval "$(
- declare -f package | \
- sed '
- /emacs/d
- '
-)"
+ # disable documentation (python is somewhat broken currently)
+ makedepends=(${makedepends[@]//python-sphinx/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--sphinx-man//
+ s/--sphinx-html//
+ '
+ declare -f package | \
+ sed '
+ /html\/_sources/d
+ '
+ )"
+
+ # emacs is broken currently
+ makedepends=(${makedepends[@]//emacs/})
+ eval "$(
+ declare -f package | \
+ sed '
+ /emacs/d
+ '
+ )"
+fi
diff --git a/extra/cocogitto/PKGBUILD b/extra/cocogitto/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cocogitto/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/committed/PKGBUILD b/extra/committed/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/committed/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cxxbridge/PKGBUILD b/extra/cxxbridge/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/cxxbridge/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/cython/PKGBUILD b/extra/cython/PKGBUILD
new file mode 100644
index 00000000..602c300e
--- /dev/null
+++ b/extra/cython/PKGBUILD
@@ -0,0 +1,26 @@
+# Suspect rounding errors
+#======================================================================
+#FAIL: cast_test (cpp_stl_any)
+#Doctest: cpp_stl_any.cast_test
+#----------------------------------------------------------------------
+#Traceback (most recent call last):
+# File "/usr/lib/python3.12/doctest.py", line 2249, in runTest
+# raise self.failureException(self.format_failure(new.getvalue()))
+#AssertionError: Failed doctest test for cpp_stl_any.cast_test
+# File "/build/cython/src/cython/TEST_TMP/35/run/cpp/cpp_stl_any/cpp_stl_any.cpython-312-i386-linux-gnu.so", line unknown line number, in cast_test
+#----------------------------------------------------------------------
+#File "/build/cython/src/cython/TEST_TMP/35/run/cpp/cpp_stl_any/cpp_stl_any.cpython-312-i386-linux-gnu.so", line ?, in cpp_stl_any.cast_test
+#Failed example:
+# cast_test()
+#Exception raised:
+# Traceback (most recent call last):
+# File "/usr/lib/python3.12/doctest.py", line 1361, in __run
+# exec(compile(example.source, filename, "single",
+# File "<doctest cpp_stl_any.cast_test[0]>", line 1, in <module>
+# cast_test()
+# File "tests/run/cpp_stl_any.pyx", line 44, in cpp_stl_any.cast_test (cpp_stl_any.cpp:2901)
+# assert any_cast[double](a) == 3.14
+# AssertionError
+
+unset check
+unset checkdepends
diff --git a/extra/diesel-cli/PKGBUILD b/extra/diesel-cli/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/diesel-cli/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/diskonaut/PKGBUILD b/extra/diskonaut/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/diskonaut/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/dmd/PKGBUILD b/extra/dmd/PKGBUILD
index 890baa0d..8b137891 100644
--- a/extra/dmd/PKGBUILD
+++ b/extra/dmd/PKGBUILD
@@ -1,2 +1 @@
-# llvm10 for now
-makedepends+=("llvm10")
+
diff --git a/extra/docbook-xml/PKGBUILD b/extra/docbook-xml/PKGBUILD
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/extra/docbook-xml/PKGBUILD
diff --git a/extra/dog/PKGBUILD b/extra/dog/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/dog/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/dscanner/PKGBUILD b/extra/dscanner/PKGBUILD
new file mode 100644
index 00000000..5b480531
--- /dev/null
+++ b/extra/dscanner/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed '3iexport LDFLAGS="${LDFLAGS/-Wl,--sort-common/}"; export LDFLAGS="${LDFLAGS/-Wl,--as-needed/}"')"
diff --git a/extra/dysk/PKGBUILD b/extra/dysk/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/dysk/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/elf2nucleus/PKGBUILD b/extra/elf2nucleus/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/elf2nucleus/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/erdtree/PKGBUILD b/extra/erdtree/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/erdtree/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/eva/PKGBUILD b/extra/eva/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/eva/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/firecracker/PKGBUILD b/extra/firecracker/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/firecracker/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/flip-link/PKGBUILD b/extra/flip-link/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/flip-link/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/gcc13/PKGBUILD b/extra/gcc13/PKGBUILD
new file mode 100644
index 00000000..ca003988
--- /dev/null
+++ b/extra/gcc13/PKGBUILD
@@ -0,0 +1,125 @@
+# remove tsan (thread sanitizer) plugin, not available for i686
+pkgname=(
+ $(
+ printf '%s\n' "${pkgname[@]}" | \
+ grep -vFx 'lib32-gcc-libs'
+ )
+)
+unset -f 'package_lib32-gcc-libs'
+eval "$(
+ declare -f prepare | \
+ sed '
+ \,/s/lib64/lib/, d
+ '
+ declare -f build | \
+ sed '
+ /configure/ s/--enable-multilib/--disable-multilib/
+ /configure/ s,--with-bugurl=https://bugs\.archlinux\.org/,--with-bugurl=https://bugs.archlinux32.org/,
+ /configure/ s/;$/ --build=$CHOST;/
+ '
+ declare -f package_gcc-libs | \
+ sed '
+ s/\$pkgname-multilib//
+ s@libsanitizer/{a,l,ub,t}san@libsanitizer/{a,l,ub}san@
+ /provides=/s/libtsan.so//
+ \@/usr/lib32/@ d
+ '
+ declare -f package_gcc | \
+ sed '
+ s/"lib32-gcc-libs[^"]*"//g
+ s@make.*tsan.*install@#\0@
+ '
+ declare -f package_gcc-ada | \
+ sed '
+ \,cd .*/32/libada,{
+ N
+ d
+ }
+ '
+)"
+eval "$(
+ for name in "${pkgname[@]}"; do
+ declare -f package_${name} | \
+ sed '
+ s/$pkgname-multilib//
+ s/{,32}//
+ \,/lib32/,d
+ \,/32/,d
+ '
+ done
+)"
+
+# i486-specific
+
+# no ADA
+makedepends=(${makedepends[@]//gcc-ada/})
+makedepends_i686+=('gcc-ada')
+makedepends_pentium4+=('gcc-ada')
+
+if [ "${CARCH}" = "i486" ]; then
+ package_gcc-ada() {
+ touch "$pkgdir/this-is-a-dummy-package"
+ }
+
+ eval "$(
+ declare -f build | \
+ sed '
+ /enable-languages/ s/ada,//
+ '
+ )"
+
+ eval "$(
+ declare -f package_gcc | \
+ sed '
+ s/,gnat-style,gnat_rm,gnat_ugn//
+ '
+ )"
+
+ # building toolchain (gcc): again, lobtool problems
+ # /usr/lib/gcc/i486-pc-linux-gnu/7.3.0/ld: cannot find -lquadmath
+ # collect2: error: ld returned 1 exit status
+ # libtool: install: error: relink `libgfortran.la' with the above command before installing it
+ # make: Leaving directory '/build/gcc/src/gcc-build/i486-pc-linux-gnu/libgfortran'
+ # => wrong link order: libgfortran requires libquadmath
+ eval "$(
+ declare -f package_gcc-libs | \
+ sed '
+ /for lib in / s/libgfortran/libquadmath libgfortran/
+ '
+ )"
+
+fi
+
+makedepends=(${makedepends[@]//lib32-glibc/})
+makedepends=(${makedepends[@]//lib32-gcc-libs/})
+
+# i486-specific: disable PGO/LTO build, uses too much resources,
+# also disabling LTO for now
+if [ "${CARCH}" = "i486" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-pgo-build=.*/--disable-pgo-build/
+ s/--enable-lto/--disable-lto/
+ s/--with-build-config=bootstrap-lto//
+ '
+ declare -f package_gcc | \
+ sed '
+ /make.*lto-plugin.*install/d
+ /ln.*liblto_plugin.so/d
+ '
+ )"
+fi
+
+# testing on 486 VMs takes too long and runs in virtual memory exhaustion
+if [ "${CARCH}" = "i486" ]; then
+ unset check
+fi
+
+# disable CET on all subarchitectures (Control Flow instructions endbr32/enbr64)
+eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-cet=auto/--disable-cet/
+ '
+)"
diff --git a/extra/giflib/PKGBUILD b/extra/giflib/PKGBUILD
new file mode 100644
index 00000000..eee0df51
--- /dev/null
+++ b/extra/giflib/PKGBUILD
@@ -0,0 +1,8 @@
+# failing tests
+eval "$(
+ declare -f check | \
+ sed '
+ s/make check/make check || true/
+ '
+)"
+
diff --git a/extra/git-delta/PKGBUILD b/extra/git-delta/PKGBUILD
new file mode 100644
index 00000000..774cb0b9
--- /dev/null
+++ b/extra/git-delta/PKGBUILD
@@ -0,0 +1,3 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
+unset check
+unset checkdepends
diff --git a/extra/git-grab/PKGBUILD b/extra/git-grab/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/git-grab/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/gitlab-exporter/PKGBUILD b/extra/gitlab-exporter/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/gitlab-exporter/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/gitoxide/PKGBUILD b/extra/gitoxide/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/gitoxide/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/gitu/PKGBUILD b/extra/gitu/PKGBUILD
new file mode 100644
index 00000000..6403c888
--- /dev/null
+++ b/extra/gitu/PKGBUILD
@@ -0,0 +1,2 @@
+unset check
+unset checkdepends
diff --git a/extra/grcov/PKGBUILD b/extra/grcov/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/grcov/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/greetd-regreet/PKGBUILD b/extra/greetd-regreet/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/greetd-regreet/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/greetd-tuigreet/PKGBUILD b/extra/greetd-tuigreet/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/greetd-tuigreet/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/greetd/PKGBUILD b/extra/greetd/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/greetd/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/halp/PKGBUILD b/extra/halp/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/halp/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/hck/PKGBUILD b/extra/hck/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/hck/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/htmlq/PKGBUILD b/extra/htmlq/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/htmlq/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/hyperfine/PKGBUILD b/extra/hyperfine/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/hyperfine/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/igrep/PKGBUILD b/extra/igrep/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/igrep/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/itstool/PKGBUILD b/extra/itstool/PKGBUILD
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/extra/itstool/PKGBUILD
@@ -0,0 +1 @@
+
diff --git a/extra/jless/PKGBUILD b/extra/jless/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/jless/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/jwt-cli/PKGBUILD b/extra/jwt-cli/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/jwt-cli/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/ldc/PKGBUILD b/extra/ldc/PKGBUILD
index a14218b2..0c8571cd 100644
--- a/extra/ldc/PKGBUILD
+++ b/extra/ldc/PKGBUILD
@@ -1,2 +1,2 @@
-# temporary workaround for building next version
-makedepends+=(llvm10-libs)
+makedepends=("${makedepends[@]/ldc/gdmd}")
+eval "$(declare -f build | sed 's@-DD_COMPILER_FLAGS=@-DIGNOREME=@;s@-DADDITIONAL_DEFAULT_LDC_SWITCHES=@-DIGNOREME=@')"
diff --git a/extra/ldproxy/PKGBUILD b/extra/ldproxy/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/ldproxy/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/libetebase/PKGBUILD b/extra/libetebase/PKGBUILD
index b6a28306..6883ef75 100644
--- a/extra/libetebase/PKGBUILD
+++ b/extra/libetebase/PKGBUILD
@@ -1,2 +1 @@
-# cargo/rust is still lined against openssl 1.1
-makedepends+=(openssl-1.1)
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/librdkafka/PKGBUILD b/extra/librdkafka/PKGBUILD
new file mode 100644
index 00000000..76d1fc9d
--- /dev/null
+++ b/extra/librdkafka/PKGBUILD
@@ -0,0 +1,2 @@
+# Fails to build with LTO
+options+=(!lto)
diff --git a/extra/libredefender/PKGBUILD b/extra/libredefender/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/libredefender/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/lurk/PKGBUILD b/extra/lurk/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/lurk/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/mastodon-twitter-sync/PKGBUILD b/extra/mastodon-twitter-sync/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/mastodon-twitter-sync/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/maturin/PKGBUILD b/extra/maturin/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/maturin/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/mdbook-linkcheck/PKGBUILD b/extra/mdbook-linkcheck/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/mdbook-linkcheck/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/mdcat/PKGBUILD b/extra/mdcat/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/mdcat/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/menyoki/PKGBUILD b/extra/menyoki/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/menyoki/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/meson-python/PKGBUILD b/extra/meson-python/PKGBUILD
new file mode 100644
index 00000000..6403c888
--- /dev/null
+++ b/extra/meson-python/PKGBUILD
@@ -0,0 +1,2 @@
+unset check
+unset checkdepends
diff --git a/extra/nanobind/PKGBUILD b/extra/nanobind/PKGBUILD
new file mode 100644
index 00000000..9c49573b
--- /dev/null
+++ b/extra/nanobind/PKGBUILD
@@ -0,0 +1,4 @@
+# We do not build these
+checkdepends=(${checkdepends[@]//python-pytorch/})
+checkdepends=(${checkdepends[@]//python-tensorflow/})
+
diff --git a/extra/nautilus/PKGBUILD b/extra/nautilus/PKGBUILD
new file mode 100644
index 00000000..29f1e285
--- /dev/null
+++ b/extra/nautilus/PKGBUILD
@@ -0,0 +1,3 @@
+# Tests hang...
+unset check
+unset checkdepends
diff --git a/extra/ncspot/PKGBUILD b/extra/ncspot/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/ncspot/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/netavark/PKGBUILD b/extra/netavark/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/netavark/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/nickel/PKGBUILD b/extra/nickel/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/nickel/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/openblas/PKGBUILD b/extra/openblas/PKGBUILD
new file mode 100644
index 00000000..769c1efa
--- /dev/null
+++ b/extra/openblas/PKGBUILD
@@ -0,0 +1,3 @@
+# build64 avx tests fail
+unset check
+unset checkdepends
diff --git a/extra/ot-cryptid/PKGBUILD b/extra/ot-cryptid/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/ot-cryptid/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/ot-urchin/PKGBUILD b/extra/ot-urchin/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/ot-urchin/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/paccat/PKGBUILD b/extra/paccat/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/paccat/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/pacman-bintrans/PKGBUILD b/extra/pacman-bintrans/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/pacman-bintrans/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/pastel/PKGBUILD b/extra/pastel/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/pastel/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/pngquant/PKGBUILD b/extra/pngquant/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/pngquant/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/progpick/PKGBUILD b/extra/progpick/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/progpick/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/prometheus-wireguard-exporter/PKGBUILD b/extra/prometheus-wireguard-exporter/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/prometheus-wireguard-exporter/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/pyflow/PKGBUILD b/extra/pyflow/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/pyflow/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/python-aiohttp/PKGBUILD b/extra/python-aiohttp/PKGBUILD
new file mode 100644
index 00000000..ffd0add2
--- /dev/null
+++ b/extra/python-aiohttp/PKGBUILD
@@ -0,0 +1,5 @@
+makedepends=(${makedepends[@]//npm/})
+eval "$(declare -f build | sed 's@make .*@export AIOHTTP_NO_EXTENSIONS=1@')"
+# check needs rewriting to work without cython
+unset check
+unset checkdepends
diff --git a/extra/python-ansible-compat/PKGBUILD b/extra/python-ansible-compat/PKGBUILD
new file mode 100644
index 00000000..94d4da61
--- /dev/null
+++ b/extra/python-ansible-compat/PKGBUILD
@@ -0,0 +1,2 @@
+unset sha256sums
+b2sums=(SKIP)
diff --git a/extra/python-astropy/PKGBUILD b/extra/python-astropy/PKGBUILD
new file mode 100644
index 00000000..c6ea8ecb
--- /dev/null
+++ b/extra/python-astropy/PKGBUILD
@@ -0,0 +1,7 @@
+# Temporary hack for gcc14
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i CFLAGS="-Wno-incompatible-pointer-types $CFLAGS"
+ '
+)"
diff --git a/extra/python-cachy/PKGBUILD b/extra/python-cachy/PKGBUILD
new file mode 100644
index 00000000..d16da0df
--- /dev/null
+++ b/extra/python-cachy/PKGBUILD
@@ -0,0 +1 @@
+makedepends+=(python-setuptools)
diff --git a/extra/python-cmsis-pack-manager/PKGBUILD b/extra/python-cmsis-pack-manager/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/python-cmsis-pack-manager/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/python-django-allauth/PKGBUILD b/extra/python-django-allauth/PKGBUILD
new file mode 100644
index 00000000..76ea37b6
--- /dev/null
+++ b/extra/python-django-allauth/PKGBUILD
@@ -0,0 +1,2 @@
+b2sums=(SKIP)
+unset sha512sums
diff --git a/extra/python-gevent/PKGBUILD b/extra/python-gevent/PKGBUILD
new file mode 100644
index 00000000..9a367660
--- /dev/null
+++ b/extra/python-gevent/PKGBUILD
@@ -0,0 +1,6 @@
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i CFLAGS="-Wno-incompatible-pointer-types $CFLAGS"
+ '
+)"
diff --git a/extra/python-hglib/PKGBUILD b/extra/python-hglib/PKGBUILD
index 2064f1d3..c50a43a1 100644
--- a/extra/python-hglib/PKGBUILD
+++ b/extra/python-hglib/PKGBUILD
@@ -1,11 +1,2 @@
-#Traceback (most recent call last):
-# File "/build/python-hglib/src/python-hglib-2.6.2/test.py", line 3, in <module>
-# import nose
-# File "/usr/lib/python3.10/site-packages/nose/__init__.py", line 1, in <module>
-# from nose.core import collector, main, run, run_exit, runmodule
-# File "/usr/lib/python3.10/site-packages/nose/core.py", line 153
-# print "%s version %s" % (os.path.basename(sys.argv[0]), __version__)
-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-#SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
-unset check
-unset checkdepends
+# setuptools won't be installed if we don't use checkdepends, so add it manually
+depends+=('python-setuptools')
diff --git a/extra/python-httpx-ws/PKGBUILD b/extra/python-httpx-ws/PKGBUILD
new file mode 100644
index 00000000..67c43304
--- /dev/null
+++ b/extra/python-httpx-ws/PKGBUILD
@@ -0,0 +1,4 @@
+# Tests hang at:
+# tests/test_api.py::TestSend::test_send[asyncio-websockets]
+unset check
+unset checkdepends
diff --git a/extra/python-jaraco.envs/PKGBUILD b/extra/python-jaraco.envs/PKGBUILD
index 5e723f0a..6403c888 100644
--- a/extra/python-jaraco.envs/PKGBUILD
+++ b/extra/python-jaraco.envs/PKGBUILD
@@ -1,14 +1,2 @@
-# This works around
-#File "/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py", line 284, in __setitem__
-# current_value = getattr(target_obj, option_name)
-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-#AttributeError: 'MinimalDistribution' object has no attribute 'entry_points'
-
-eval "$(
- declare -f build | \
- sed '
- s/--no-isolation//
- '
-)"
-
unset check
+unset checkdepends
diff --git a/extra/python-jaraco.itertools/PKGBUILD b/extra/python-jaraco.itertools/PKGBUILD
index 5e723f0a..6403c888 100644
--- a/extra/python-jaraco.itertools/PKGBUILD
+++ b/extra/python-jaraco.itertools/PKGBUILD
@@ -1,14 +1,2 @@
-# This works around
-#File "/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py", line 284, in __setitem__
-# current_value = getattr(target_obj, option_name)
-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-#AttributeError: 'MinimalDistribution' object has no attribute 'entry_points'
-
-eval "$(
- declare -f build | \
- sed '
- s/--no-isolation//
- '
-)"
-
unset check
+unset checkdepends
diff --git a/extra/python-jaraco.text/PKGBUILD b/extra/python-jaraco.text/PKGBUILD
index 5e723f0a..6403c888 100644
--- a/extra/python-jaraco.text/PKGBUILD
+++ b/extra/python-jaraco.text/PKGBUILD
@@ -1,14 +1,2 @@
-# This works around
-#File "/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py", line 284, in __setitem__
-# current_value = getattr(target_obj, option_name)
-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-#AttributeError: 'MinimalDistribution' object has no attribute 'entry_points'
-
-eval "$(
- declare -f build | \
- sed '
- s/--no-isolation//
- '
-)"
-
unset check
+unset checkdepends
diff --git a/extra/python-lupa/PKGBUILD b/extra/python-lupa/PKGBUILD
new file mode 100644
index 00000000..f93a0a4c
--- /dev/null
+++ b/extra/python-lupa/PKGBUILD
@@ -0,0 +1,2 @@
+eval "$(declare -f build | sed 's@\$CARCH@i686@')"
+eval "$(declare -f check | sed 's@\$CARCH@i686@')"
diff --git a/extra/python-markupsafe/PKGBUILD b/extra/python-markupsafe/PKGBUILD
deleted file mode 100644
index 46d0cae8..00000000
--- a/extra/python-markupsafe/PKGBUILD
+++ /dev/null
@@ -1,2 +0,0 @@
-# For now, git+https and sources.archlinux32.org somehow broken!?
-sha512sums[0]='SKIP'
diff --git a/extra/python-nose/PKGBUILD b/extra/python-nose/PKGBUILD
new file mode 100644
index 00000000..aeadc948
--- /dev/null
+++ b/extra/python-nose/PKGBUILD
@@ -0,0 +1,6 @@
+if [[ ${source[1]} == *.asc ]]; then
+ unset 'source[1]'
+ unset 'sha512sums[1]'
+ source=(${source[@]})
+ sha512sums=(${sha512sums[@]})
+fi
diff --git a/extra/python-numpy/PKGBUILD b/extra/python-numpy/PKGBUILD
index 6e15ddae..b760a5ae 100644
--- a/extra/python-numpy/PKGBUILD
+++ b/extra/python-numpy/PKGBUILD
@@ -3,15 +3,20 @@ if [ "${CARCH}" = "i486" -o "${CARCH}" = "i686" ]; then
eval "$(
declare -f build | \
sed '
- s|python setup.py build|python setup.py build --cpu-baseline=NONE --cpu-dispatch=NONE|
+ s|python -m build|python -m build -Csetup-args=-Dcpu-baseline=NONE -Csetup-args=-Dcpu-dispatch=NONE|
'
)"
fi
+
if [ "${CARCH}" = "pentium4" ]; then
eval "$(
declare -f build | \
sed '
- s|python setup.py build|python setup.py build --cpu-baseline=NONE --cpu-dispatch=SSE,SSE2|
+ s|python -m build|python -m build -Csetup-args=-Dcpu-baseline=NONE -Csetup-args=-Dcpu-dispatch=SSE,SSE2|
'
)"
fi
+
+prepare() {
+ sed -i 's@meson-python>=0.15.0,<0.16.0@meson-python>=0.15.0@' numpy-$pkgver/pyproject.toml || true
+}
diff --git a/extra/python-pendulum/PKGBUILD b/extra/python-pendulum/PKGBUILD
new file mode 100644
index 00000000..91b2edb8
--- /dev/null
+++ b/extra/python-pendulum/PKGBUILD
@@ -0,0 +1,53 @@
+# pendulum 3 doesn't build under 32 bit for now, so force 2.1.2
+# Maintainer: David Runge <dvzrv@archlinux.org>
+
+_name=pendulum
+pkgname=python-pendulum
+pkgver_real=2.1.2
+#pkgrel=$((8+$pkgrel))
+pkgver=3.0.0
+pkgrel=2
+pkgdesc="Python datetimes made easy"
+arch=(x86_64)
+url="https://pendulum.eustace.io/"
+license=(MIT)
+depends=(
+ python
+ python-dateutil
+ python-pytzdata
+)
+makedepends=(
+ python-build
+ python-installer
+ python-poetry-core
+ python-wheel
+ python-setuptools
+)
+checkdepends=(
+ python-babel
+ python-freezegun
+ python-pytest
+ python-pytz
+)
+source=($pkgname-$pkgver_real.tar.gz::https://github.com/sdispater/$_name/archive/$pkgver_real.tar.gz)
+sha512sums=('c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2')
+b2sums=('c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738')
+
+build() {
+ cd $_name-$pkgver_real
+ # NOTE: calling pyproject-build as we otherwise call the project's build.py script:
+ # https://github.com/sdispater/pendulum/issues/665
+ pyproject-build --wheel --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver_real
+ pytest -vv
+}
+
+package() {
+ cd $_name-$pkgver_real
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {CHANGELOG.md,README.rst} -t "$pkgdir/usr/share/doc/$pkgname/"
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
diff --git a/extra/python-pluggy/PKGBUILD b/extra/python-pluggy/PKGBUILD
index 918fa25a..5906d9c8 100644
--- a/extra/python-pluggy/PKGBUILD
+++ b/extra/python-pluggy/PKGBUILD
@@ -5,6 +5,3 @@
# or: setup.py cmd --help
unset checkdepends
unset check
-
-makedepends+=(python-setuptools python-pip python-wheel)
-
diff --git a/extra/python-qdldl/PKGBUILD b/extra/python-qdldl/PKGBUILD
new file mode 100644
index 00000000..c6ea8ecb
--- /dev/null
+++ b/extra/python-qdldl/PKGBUILD
@@ -0,0 +1,7 @@
+# Temporary hack for gcc14
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i CFLAGS="-Wno-incompatible-pointer-types $CFLAGS"
+ '
+)"
diff --git a/extra/python-rpds-py/PKGBUILD b/extra/python-rpds-py/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/python-rpds-py/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/python-scikit-learn/PKGBUILD b/extra/python-scikit-learn/PKGBUILD
new file mode 100644
index 00000000..c6ea8ecb
--- /dev/null
+++ b/extra/python-scikit-learn/PKGBUILD
@@ -0,0 +1,7 @@
+# Temporary hack for gcc14
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i CFLAGS="-Wno-incompatible-pointer-types $CFLAGS"
+ '
+)"
diff --git a/extra/python-setuptools/PKGBUILD b/extra/python-setuptools/PKGBUILD
index 63552ad5..3b048d6c 100644
--- a/extra/python-setuptools/PKGBUILD
+++ b/extra/python-setuptools/PKGBUILD
@@ -28,13 +28,13 @@ eval "$(
declare -f package | \
sed -r 's/cd setuptools;?$/cd setuptools-$pkgver/'
)"
+eval "$(
+ declare -f check | \
+ sed -r 's/cd setuptools;?$/cd setuptools-$pkgver/'
+)"
-# Skip the last two patches.
+# Skip the last patch as it doesn't apply
eval "$(
declare -f prepare | \
- sed '/add-dependency.patch/d' | sed '/build-no-isolation.patch/d'
+ sed '/add-dependency.patch/d'
)"
-
-# Don't bother with the tests.
-unset check
-unset checkdepends
diff --git a/extra/python-shapely/PKGBUILD b/extra/python-shapely/PKGBUILD
index 14ce07a9..c45e9935 100644
--- a/extra/python-shapely/PKGBUILD
+++ b/extra/python-shapely/PKGBUILD
@@ -1,16 +1,8 @@
-# temporary fix for:
-# - https://github.com/Toblerity/Shapely/pull/762
-#
-# which caused:
-# - https://community.ultimaker.com/topic/29721-archlinux32-cura-341/?_fromLogin=1#replyForm
-#
-source+=(load_dll_c.patch)
-sha512sums+=('6dee4823b76d5057beaed09e9ed529d03a9f76141598a4038f3c51cbca828b1f3e9203a25dab91ee1ff31fee2bf2781d6171dc662f5aa1715c9d5296f8607c60')
-
+# Temporary hack for gcc14
eval "$(
- declare -f prepare | \
+ declare -f build | \
sed '
- $ i cd Shapely-$pkgver && patch -p1 -i "$srcdir/load_dll_c.patch"
+ 3 i CFLAGS="-Wno-incompatible-pointer-types $CFLAGS"
'
)"
@@ -18,6 +10,6 @@ eval "$(
eval "$(
declare -f check | \
sed '
- /.*py.test/s/\$CARCH/i686/
+ s/x86_64/i686/
'
)"
diff --git a/extra/python-snappy/PKGBUILD b/extra/python-snappy/PKGBUILD
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/extra/python-snappy/PKGBUILD
@@ -0,0 +1 @@
+
diff --git a/extra/python-tomli-w/PKGBUILD b/extra/python-tomli-w/PKGBUILD
index 5f84d4e8..8b137891 100644
--- a/extra/python-tomli-w/PKGBUILD
+++ b/extra/python-tomli-w/PKGBUILD
@@ -1,6 +1 @@
-# boostrapping python modules
-# no testing no test or optional dependencies
-unset check
-unset checkdepends
-unset optdepends
diff --git a/extra/python-tqdm/PKGBUILD b/extra/python-tqdm/PKGBUILD
index b7329924..d02a290a 100644
--- a/extra/python-tqdm/PKGBUILD
+++ b/extra/python-tqdm/PKGBUILD
@@ -9,3 +9,7 @@ eval "$(
/cp/ i pushd ${srcdir}/tqdm-$pkgver && patch -Np1 -i "${srcdir}"/tqdm-4.22.0-sleep-test-workaround.patch && popd
'
)"
+
+# Check depends on python-keras which depends on tensorflow
+unset check
+unset checkdepends
diff --git a/extra/python-validate-pyproject/PKGBUILD b/extra/python-validate-pyproject/PKGBUILD
new file mode 100644
index 00000000..7d66985c
--- /dev/null
+++ b/extra/python-validate-pyproject/PKGBUILD
@@ -0,0 +1,4 @@
+# Doesn't validate
+if [[ $pkgver == 0.16 && $pkgrel == 1 ]]; then
+ sha512sums=(SKIP)
+fi
diff --git a/extra/python-virtualenv/PKGBUILD b/extra/python-virtualenv/PKGBUILD
index 2b54ed99..8b137891 100644
--- a/extra/python-virtualenv/PKGBUILD
+++ b/extra/python-virtualenv/PKGBUILD
@@ -1,14 +1 @@
-# breaking the cycle with python-spinx
-makedepends=(${makedepends[@]/python-sphinx_rtd_theme})
-makedepends=(${makedepends[@]/python-sphinx-argparse})
-makedepends=(${makedepends[@]/python-sphinx})
-eval "$(
- declare -f build | \
- sed '
- s/sphinx-build/true/
- '
- declare -f package | \
- sed '
- /virtualenv\.1/d
- '
-)"
+
diff --git a/extra/python-xcffib/PKGBUILD b/extra/python-xcffib/PKGBUILD
new file mode 100644
index 00000000..a27ac98c
--- /dev/null
+++ b/extra/python-xcffib/PKGBUILD
@@ -0,0 +1,5 @@
+source+=('xcffibgen-custom')
+sha512sums+=('9743d6edbd878a9d8896fb693c6847fedfcbc4324a575e4df4e833db09282791e362b51d4b07621674920a43b14c59d193409ab3d3e759cf48f5fa59fa871410')
+makedepends=(${makedepends[@]//haskell-xcffib/})
+makedepends+=('archlinux-keyring' 'pacman')
+eval "$(declare -f build | sed 's@GEN=xcffibgen@GEN="../xcffibgen-custom $pkgver-$pkgrel"@')"
diff --git a/extra/python-xcffib/xcffibgen-custom b/extra/python-xcffib/xcffibgen-custom
new file mode 100755
index 00000000..9e23f120
--- /dev/null
+++ b/extra/python-xcffib/xcffibgen-custom
@@ -0,0 +1,33 @@
+#!/usr/bin/env -S bash -x
+mirror='http://ftp.otenet.gr/linux/archlinux'
+
+# Strip arch32 specific part of the version string
+version="${1%.*}"
+shift
+
+while [[ $# -gt 0 ]]; do
+ if [[ $1 == '--output' ]]; then
+ output="$2"
+ shift
+ shift
+ elif [[ $1 == '--input' ]]; then
+ input="$2"
+ shift
+ shift
+ fi
+done
+
+curl --fail -O "${mirror}/extra/os/x86_64/python-xcffib-${version}-any.pkg.tar.zst"
+curl --fail -O "${mirror}/extra/os/x86_64/python-xcffib-${version}-any.pkg.tar.zst.sig"
+
+if pacman-key -v "python-xcffib-${version}-any.pkg.tar.zst.sig" "python-xcffib-${version}-any.pkg.tar.zst"; then
+ tar -xf "python-xcffib-${version}-any.pkg.tar.zst"
+
+ pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+ tarpath="usr/lib/python${pyver}/site-packages/xcffib/"
+
+ mapfile -t files < <(find "$input" -type f -name '*.xml' -printf "${tarpath}%f\n" | sed 's/xml$/py/')
+
+ mkdir -p "$output"
+ cp "${files[@]}" "$output" || true
+fi
diff --git a/extra/python-xmlsec/PKGBUILD b/extra/python-xmlsec/PKGBUILD
new file mode 100644
index 00000000..c6ea8ecb
--- /dev/null
+++ b/extra/python-xmlsec/PKGBUILD
@@ -0,0 +1,7 @@
+# Temporary hack for gcc14
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i CFLAGS="-Wno-incompatible-pointer-types $CFLAGS"
+ '
+)"
diff --git a/extra/rapidfuzz-cpp/PKGBUILD b/extra/rapidfuzz-cpp/PKGBUILD
new file mode 100644
index 00000000..fd726d49
--- /dev/null
+++ b/extra/rapidfuzz-cpp/PKGBUILD
@@ -0,0 +1,7 @@
+# Temporary hack for gcc14
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i CXXFLAGS="$CXXFLAGS -Wno-error=conversion -Wno-error=sign-conversion -Wno-error=overflow"
+ '
+)"
diff --git a/extra/rathole/PKGBUILD b/extra/rathole/PKGBUILD
index 82610227..86ebb12b 100644
--- a/extra/rathole/PKGBUILD
+++ b/extra/rathole/PKGBUILD
@@ -1,3 +1,4 @@
# stalls build slaves with:
# "May 01 21:45:56.117 ERROR rathole::server: Failed to do transport handshake: error:0A000415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1605:SSL alert number 45: error:0A000415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1605:SSL alert number 45"
unset check
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/rebuilderd/PKGBUILD b/extra/rebuilderd/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/rebuilderd/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/repro-env/PKGBUILD b/extra/repro-env/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/repro-env/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/rhit/PKGBUILD b/extra/rhit/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/rhit/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/riff/PKGBUILD b/extra/riff/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/riff/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/rosenpass/PKGBUILD b/extra/rosenpass/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/rosenpass/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/rpg-cli/PKGBUILD b/extra/rpg-cli/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/rpg-cli/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/rq/PKGBUILD b/extra/rq/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/rq/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD
index 2ee10842..b03abc17 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -1,3 +1,6 @@
+# Hack
+eval "$(declare -f build | sed 's@./configure@./configure --with-search-path=/usr/lib/ruby/${pkgver:0:3}.0/x86-linux@')"
+
# patch architecture in helper shared libs
if [ "${CARCH}" = "pentium4" -o "${CARCH}" = "i686" ]; then
eval "$(
diff --git a/extra/rust-analyzer/PKGBUILD b/extra/rust-analyzer/PKGBUILD
new file mode 100644
index 00000000..94d20857
--- /dev/null
+++ b/extra/rust-analyzer/PKGBUILD
@@ -0,0 +1 @@
+options+=(!debug)
diff --git a/extra/rust-script/PKGBUILD b/extra/rust-script/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/rust-script/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD
index 14ddf770..7066b7eb 100644
--- a/extra/rust/PKGBUILD
+++ b/extra/rust/PKGBUILD
@@ -6,12 +6,12 @@
# see https://github.com/rust-lang/rust/issues/60294
source+=(config.toml.patch)
-b2sums+=('916e62176ff8f943428532c28ec31632c153db5a9e906ae7a45df88cac72d437d23a56eb05e915ea2b2f524ac96d0b9ff8c106ed82572f7ed3324ded3fcf5a74')
+b2sums+=('b438042bad72f2952b135a46ca7353b0f333f58b7e5658e0f08fed75eba5095407aca479cbd6911fbaf2aa26482dce047293cf7114ace537b15acc8f10223551')
eval "$(
declare -f prepare | \
sed '
- $ i patch -p1 -i "$srcdir/config.toml.patch"
+ $ i patch -p0 -i "$srcdir/config.toml.patch"
'
)"
@@ -68,6 +68,7 @@ pkgname=(
)
)
makedepends=(${makedepends[@]//lib32-gcc-libs/})
+makedepends=(${makedepends[@]//lib32-glibc/})
# Enable on demand, if your previous rust is broken use previous version
# from build-support (this is preferable to using rust-bin below, but
@@ -77,8 +78,9 @@ makedepends=(${makedepends[@]//lib32-gcc-libs/})
# Enable on demand, if your previous rust is broken use previous version
# from build-support
-makedepends=(${makedepends[@]//rust/})
-makedepends+=('rust176-bin')
+#makedepends=(${makedepends[@]//rust/})
+#makedepends+=('rust176-bin')
# Do not run out of memory linking LLVM
options+=(!debug)
+
diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch
index 20b8e24b..c002cff6 100644
--- a/extra/rust/config.toml.patch
+++ b/extra/rust/config.toml.patch
@@ -1,11 +1,6 @@
---- a/config.toml 2024-03-12 15:14:24.314876558 +0000
-+++ b/config.toml 2024-03-20 14:09:23.793371221 +0000
-@@ -3,14 +3,15 @@
-
- [llvm]
- link-shared = true
-+link-jobs = 1
-+use-linker = "bfd"
+--- config.toml.orig 2024-05-06 00:02:38.463811257 +0000
++++ config.toml 2024-05-06 00:57:21.364799544 +0000
+@@ -6,9 +6,8 @@
[build]
target = [
@@ -14,21 +9,18 @@
- "x86_64-unknown-linux-musl",
+ "i686-unknown-linux-musl",
"wasm32-unknown-unknown",
-- "wasm32-wasi",
-+ "wasm32-wasi"
+ "wasm32-wasi",
]
- cargo = "/usr/bin/cargo"
- rustc = "/usr/bin/rustc"
-@@ -37,7 +38,7 @@
- prefix = "/usr"
-
+@@ -39,7 +38,7 @@
[rust]
+ codegen-units-std = 1
+ debuginfo-level = 1
-debuginfo-level-std = 2
-+debuginfo-level-std = 0
++debuginfo-level-std = 1
channel = "stable"
description = "Arch Linux :-"
rpath = false
-@@ -74,7 +75,7 @@
+@@ -65,7 +64,7 @@
ar = "/usr/bin/gcc-ar"
ranlib = "/usr/bin/gcc-ranlib"
diff --git a/extra/rustic/PKGBUILD b/extra/rustic/PKGBUILD
new file mode 100644
index 00000000..bc018d83
--- /dev/null
+++ b/extra/rustic/PKGBUILD
@@ -0,0 +1,2 @@
+options+=(!debug)
+eval "$(declare -f build | sed 's@CARGO_PROFILE_RELEASE_DEBUG=[0-9]@CARGO_PROFILE_RELEASE_DEBUG=0@;s@CARGO_PROFILE_RELEASE_STRIP=false@CARGO_PROFILE_RELEASE_STRIP=true@')"
diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD
index d288fca1..131948ae 100644
--- a/extra/samba/PKGBUILD
+++ b/extra/samba/PKGBUILD
@@ -15,3 +15,12 @@ eval "$(
s|./configure|./configure --disable-cephfs|
'
)"
+
+if test "$CARCH" == "i486"; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s|./configure|LDFLAGS=-latomic ./configure|
+ '
+ )"
+fi
diff --git a/extra/sequoia-sop/PKGBUILD b/extra/sequoia-sop/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/sequoia-sop/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/sheldon/PKGBUILD b/extra/sheldon/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/sheldon/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/skim/PKGBUILD b/extra/skim/PKGBUILD
index 2f1d05f4..ec2783a6 100644
--- a/extra/skim/PKGBUILD
+++ b/extra/skim/PKGBUILD
@@ -9,3 +9,4 @@ eval "$(
2 a sed -i "s/8589934592\(.*\)8589934592/12345\112345/" "skim-$pkgver/src/util.rs"
'
)"
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/sn0int/PKGBUILD b/extra/sn0int/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/sn0int/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/sniffglue/PKGBUILD b/extra/sniffglue/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/sniffglue/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/sonic/PKGBUILD b/extra/sonic/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/sonic/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/spicy-launcher/PKGBUILD b/extra/spicy-launcher/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/spicy-launcher/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/spotify-launcher/PKGBUILD b/extra/spotify-launcher/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/spotify-launcher/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/spotifyd/PKGBUILD b/extra/spotifyd/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/spotifyd/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/spytrap-adb/PKGBUILD b/extra/spytrap-adb/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/spytrap-adb/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/sssd/PKGBUILD b/extra/sssd/PKGBUILD
new file mode 100644
index 00000000..e5d521d4
--- /dev/null
+++ b/extra/sssd/PKGBUILD
@@ -0,0 +1,3 @@
+# Tests pass but are flaky, especially if the builder is under high load
+unset check
+unset checkdepends
diff --git a/extra/systeroid/PKGBUILD b/extra/systeroid/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/systeroid/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/taskwarrior-tui/PKGBUILD b/extra/taskwarrior-tui/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/taskwarrior-tui/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/tealdeer/PKGBUILD b/extra/tealdeer/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/tealdeer/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/tere/PKGBUILD b/extra/tere/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/tere/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/tickrs/PKGBUILD b/extra/tickrs/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/tickrs/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/typst/PKGBUILD b/extra/typst/PKGBUILD
new file mode 100644
index 00000000..06d408d8
--- /dev/null
+++ b/extra/typst/PKGBUILD
@@ -0,0 +1,13 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
+# layout/grid-positioning.typ ❌
+# Subtest 13 does not match expected errors.
+# Not annotated // Error: 213:16-213:35 number too large
+# Not emitted // Error: 213:3-213:39 cell position too large
+# Subtest 14 does not match expected errors.
+# Not annotated // Error: 222:23-222:42 number too large
+# Not emitted // Error: 222:3-222:46 cell position too large Subtest 15 does not match expected errors.
+# Not annotated // Error: 230:22-230:41 number too large
+# Not emitted // Hint: 230:3-230:45 try reducing the cell's rowspan or colspan
+# Not emitted // Error: 230:3-230:45 cell would span an exceedingly large position
+unset check
+unset checkdepends
diff --git a/extra/updlockfiles/PKGBUILD b/extra/updlockfiles/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/updlockfiles/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/uwsgi/PKGBUILD b/extra/uwsgi/PKGBUILD
new file mode 100644
index 00000000..9e09c011
--- /dev/null
+++ b/extra/uwsgi/PKGBUILD
@@ -0,0 +1,3 @@
+pkgname=(${pkgname[@]//uwsgi-plugin-pypy/})
+pkgname=(${pkgname[@]//uwsgi-plugin-php-legacy/})
+makedepends=(${makedepends[@]//pypy/})
diff --git a/extra/viu/PKGBUILD b/extra/viu/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/viu/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/wasm-pack/PKGBUILD b/extra/wasm-pack/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/wasm-pack/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/wiki-tui/PKGBUILD b/extra/wiki-tui/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/wiki-tui/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/wpewebkit/PKGBUILD b/extra/wpewebkit/PKGBUILD
index 8b1e84de..7c9653bd 100644
--- a/extra/wpewebkit/PKGBUILD
+++ b/extra/wpewebkit/PKGBUILD
@@ -1,4 +1,5 @@
# linker runs out of memory on 32-bit
+options+=(!debug)
eval "$(
declare -f build | \
sed '
diff --git a/extra/yabridge/PKGBUILD b/extra/yabridge/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/yabridge/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/zbus_xmlgen/PKGBUILD b/extra/zbus_xmlgen/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/zbus_xmlgen/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/zenith/PKGBUILD b/extra/zenith/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/zenith/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"
diff --git a/extra/zola/PKGBUILD b/extra/zola/PKGBUILD
new file mode 100644
index 00000000..6883ef75
--- /dev/null
+++ b/extra/zola/PKGBUILD
@@ -0,0 +1 @@
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"