Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blacklist/i486/ldc/ldc1
-rw-r--r--blacklist/pentium4/dmd/dmd1
-rw-r--r--blacklist/pentium4/dmd/dscanner1
-rw-r--r--blacklist/pentium4/dmd/dtools1
-rw-r--r--blacklist/pentium4/dmd/dub1
-rw-r--r--blacklist/pentium4/dmd/ldc1
-rw-r--r--blacklist/pentium4/dmd/liblphobos1
-rw-r--r--blacklist/pentium4/dmd/libphobos1
-rw-r--r--blacklist/pentium4/keras/python-keras1
-rw-r--r--blacklist/pentium4/keras/python-keras-applications1
-rw-r--r--blacklist/pentium4/keras/python-keras-preprocessing1
-rw-r--r--blacklist/pentium4/ldc/ldc1
-rw-r--r--blacklist/pentium4/pypy/pypy1
-rw-r--r--blacklist/pentium4/tpm2/ibm-sw-tpm21
-rw-r--r--blacklist/pentium4/tpm2/python-tpm2-pytss1
-rw-r--r--blacklist/pentium4/tpm2/tpm2-abrmd1
-rw-r--r--blacklist/pentium4/tpm2/tpm2-openssl1
-rw-r--r--blacklist/pentium4/tpm2/tpm2-pkcs111
-rw-r--r--blacklist/pentium4/tpm2/tpm2-tools1
-rw-r--r--blacklist/pentium4/tpm2/tpm2-totp1
-rw-r--r--blacklist/pentium4/tpm2/tpm2-tss1
-rw-r--r--blacklist/pentium4/tpm2/tpm2-tss-engine1
-rw-r--r--blacklist/pentium4/usd/usd3
-rw-r--r--build-support/gdmd-git/PKGBUILD27
-rw-r--r--build-support/python-bootstrap/PKGBUILD108
-rw-r--r--core/binutils/PKGBUILD2
-rw-r--r--core/coreutils/PKGBUILD5
-rw-r--r--core/coreutils/coreutils-8.30-uname-i486.patch12
-rw-r--r--core/coreutils/coreutils-9.5-uname-i486.patch12
-rw-r--r--core/curl/PKGBUILD10
-rw-r--r--core/dbus/PKGBUILD11
-rw-r--r--core/filesystem/PKGBUILD2
-rw-r--r--core/glibc/PKGBUILD20
-rw-r--r--core/libtool/PKGBUILD3
-rw-r--r--core/openssl/PKGBUILD4
-rw-r--r--core/pacman/PKGBUILD28
-rw-r--r--core/pacman/makepkg.conf17
-rw-r--r--core/syslinux/PKGBUILD15
-rw-r--r--core/syslinux/syslinux-strip-gnu-property.patch18
-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-cryptography/PKGBUILD8
-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
201 files changed, 722 insertions, 339 deletions
diff --git a/blacklist/i486/ldc/ldc b/blacklist/i486/ldc/ldc
deleted file mode 100644
index d63333b3..00000000
--- a/blacklist/i486/ldc/ldc
+++ /dev/null
@@ -1 +0,0 @@
-ldc needs bootstrapping on i486
diff --git a/blacklist/pentium4/dmd/dmd b/blacklist/pentium4/dmd/dmd
deleted file mode 100644
index e70dbe85..00000000
--- a/blacklist/pentium4/dmd/dmd
+++ /dev/null
@@ -1 +0,0 @@
-various problems building and running on IA-32, bug reporting and mailing lists seem quite inactive
diff --git a/blacklist/pentium4/dmd/dscanner b/blacklist/pentium4/dmd/dscanner
deleted file mode 100644
index e70dbe85..00000000
--- a/blacklist/pentium4/dmd/dscanner
+++ /dev/null
@@ -1 +0,0 @@
-various problems building and running on IA-32, bug reporting and mailing lists seem quite inactive
diff --git a/blacklist/pentium4/dmd/dtools b/blacklist/pentium4/dmd/dtools
deleted file mode 100644
index e70dbe85..00000000
--- a/blacklist/pentium4/dmd/dtools
+++ /dev/null
@@ -1 +0,0 @@
-various problems building and running on IA-32, bug reporting and mailing lists seem quite inactive
diff --git a/blacklist/pentium4/dmd/dub b/blacklist/pentium4/dmd/dub
deleted file mode 100644
index e70dbe85..00000000
--- a/blacklist/pentium4/dmd/dub
+++ /dev/null
@@ -1 +0,0 @@
-various problems building and running on IA-32, bug reporting and mailing lists seem quite inactive
diff --git a/blacklist/pentium4/dmd/ldc b/blacklist/pentium4/dmd/ldc
deleted file mode 100644
index e70dbe85..00000000
--- a/blacklist/pentium4/dmd/ldc
+++ /dev/null
@@ -1 +0,0 @@
-various problems building and running on IA-32, bug reporting and mailing lists seem quite inactive
diff --git a/blacklist/pentium4/dmd/liblphobos b/blacklist/pentium4/dmd/liblphobos
deleted file mode 100644
index e70dbe85..00000000
--- a/blacklist/pentium4/dmd/liblphobos
+++ /dev/null
@@ -1 +0,0 @@
-various problems building and running on IA-32, bug reporting and mailing lists seem quite inactive
diff --git a/blacklist/pentium4/dmd/libphobos b/blacklist/pentium4/dmd/libphobos
deleted file mode 100644
index e70dbe85..00000000
--- a/blacklist/pentium4/dmd/libphobos
+++ /dev/null
@@ -1 +0,0 @@
-various problems building and running on IA-32, bug reporting and mailing lists seem quite inactive
diff --git a/blacklist/pentium4/keras/python-keras b/blacklist/pentium4/keras/python-keras
new file mode 100644
index 00000000..2a6b0836
--- /dev/null
+++ b/blacklist/pentium4/keras/python-keras
@@ -0,0 +1 @@
+This package depends on tensorflow
diff --git a/blacklist/pentium4/keras/python-keras-applications b/blacklist/pentium4/keras/python-keras-applications
new file mode 100644
index 00000000..2a6b0836
--- /dev/null
+++ b/blacklist/pentium4/keras/python-keras-applications
@@ -0,0 +1 @@
+This package depends on tensorflow
diff --git a/blacklist/pentium4/keras/python-keras-preprocessing b/blacklist/pentium4/keras/python-keras-preprocessing
new file mode 100644
index 00000000..2a6b0836
--- /dev/null
+++ b/blacklist/pentium4/keras/python-keras-preprocessing
@@ -0,0 +1 @@
+This package depends on tensorflow
diff --git a/blacklist/pentium4/ldc/ldc b/blacklist/pentium4/ldc/ldc
deleted file mode 100644
index 4b70a23f..00000000
--- a/blacklist/pentium4/ldc/ldc
+++ /dev/null
@@ -1 +0,0 @@
-various issues and not building
diff --git a/blacklist/pentium4/pypy/pypy b/blacklist/pentium4/pypy/pypy
new file mode 100644
index 00000000..8756bb94
--- /dev/null
+++ b/blacklist/pentium4/pypy/pypy
@@ -0,0 +1 @@
+Don't have python2 (or time) to bootstrap it
diff --git a/blacklist/pentium4/tpm2/ibm-sw-tpm2 b/blacklist/pentium4/tpm2/ibm-sw-tpm2
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/ibm-sw-tpm2
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/python-tpm2-pytss b/blacklist/pentium4/tpm2/python-tpm2-pytss
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/python-tpm2-pytss
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/tpm2-abrmd b/blacklist/pentium4/tpm2/tpm2-abrmd
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/tpm2-abrmd
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/tpm2-openssl b/blacklist/pentium4/tpm2/tpm2-openssl
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/tpm2-openssl
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/tpm2-pkcs11 b/blacklist/pentium4/tpm2/tpm2-pkcs11
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/tpm2-pkcs11
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/tpm2-tools b/blacklist/pentium4/tpm2/tpm2-tools
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/tpm2-tools
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/tpm2-totp b/blacklist/pentium4/tpm2/tpm2-totp
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/tpm2-totp
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/tpm2-tss b/blacklist/pentium4/tpm2/tpm2-tss
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/tpm2-tss
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/tpm2/tpm2-tss-engine b/blacklist/pentium4/tpm2/tpm2-tss-engine
new file mode 100644
index 00000000..3cea26a1
--- /dev/null
+++ b/blacklist/pentium4/tpm2/tpm2-tss-engine
@@ -0,0 +1 @@
+TPM2 is only useful on newer hardware
diff --git a/blacklist/pentium4/usd/usd b/blacklist/pentium4/usd/usd
new file mode 100644
index 00000000..029462cf
--- /dev/null
+++ b/blacklist/pentium4/usd/usd
@@ -0,0 +1,3 @@
+CMake Error at CMakeLists.txt:12 (message):
+ Compiler does not support 64-bit builds.
+
diff --git a/build-support/gdmd-git/PKGBUILD b/build-support/gdmd-git/PKGBUILD
new file mode 100644
index 00000000..653ec498
--- /dev/null
+++ b/build-support/gdmd-git/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Vladimir Panteleev <arch-pkg at thecybershadow.net>
+# https://aur.archlinux.org/packages/gdmd-git
+
+pkgname=gdmd-git
+pkgver=r31.1a4bcb2
+pkgrel=1
+pkgdesc="DMD-like wrapper for GDC"
+arch=('any')
+url="https://github.com/D-Programming-GDC/gdmd"
+license=('GPL')
+provides=('gdmd')
+conflicts=('gdmd')
+depends=('perl' 'gcc-d')
+makedepends=('git')
+source=("git+https://github.com/D-Programming-GDC/GDMD.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/GDMD"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/GDMD"
+ mkdir -p "$pkgdir"/usr/{bin,share/man/man1}
+ make install prefix=/usr DESTDIR="$pkgdir"
+}
diff --git a/build-support/python-bootstrap/PKGBUILD b/build-support/python-bootstrap/PKGBUILD
index 056f2f80..77705858 100644
--- a/build-support/python-bootstrap/PKGBUILD
+++ b/build-support/python-bootstrap/PKGBUILD
@@ -1,29 +1,22 @@
# Maintainer
pkgbase=python-bootstrap
-pkgname=(python-build python-installer python-tomli python-pep517 python-setuptools python-flit-core python-wheel python-typing_extensions python-packaging python-setuptools-scm python-jaraco.functools python-calver)
-pkgver=0.5
-pkgrel=2
+pkgname=(python-{build,flit-core,installer,packaging,pyproject-hooks,setuptools,wheel})
+pkgver=1
+pkgrel=1
arch=(any)
license=('custom')
makedepends=(python git)
url="https://gitlab.archlinux.org/archlinux/python-bootstrap"
-# From archlinux-contrib
-# package/parse-submodules https://github.com/jelly/python-bootstrap.git
source=(
- "${pkgbase}::git+https://github.com/tatokis/python-bootstrap.git#branch=3.11"
+ "${pkgbase}::git+https://gitlab.archlinux.org/archlinux/python-bootstrap.git#branch=python-3.12"
"${pkgbase}-build::git+https://github.com/pypa/build.git"
"${pkgbase}-flit::git+https://github.com/takluyver/flit.git"
"${pkgbase}-installer::git+https://github.com/pypa/installer.git"
- "${pkgbase}-pep517::git+https://github.com/pypa/pep517.git"
- "${pkgbase}-setuptools::git+https://github.com/pypa/setuptools.git"
- "${pkgbase}-tomli::git+https://github.com/hukkin/tomli.git"
"${pkgbase}-wheel::git+https://github.com/pypa/wheel.git"
- "${pkgbase}-typing_extensions::git+https://github.com/python/typing_extensions.git"
- "${pkgbase}-packaging::git+https://github.com/pypa/packaging.git"
- "${pkgbase}-setuptools-scm::git+https://github.com/pypa/setuptools_scm.git"
- "${pkgbase}-jaraco.functools::git+https://github.com/jaraco/jaraco.functools.git"
- "${pkgbase}-calver::git+https://github.com/di/calver.git"
+ "${pkgbase}-packaging::git+https://github.com/pypa/packaging"
+ "${pkgbase}-pyproject-hooks::git+https://github.com/pypa/pyproject-hooks"
+ "${pkgbase}-setuptools::git+https://github.com/pypa/setuptools.git"
)
sha256sums=('SKIP'
'SKIP'
@@ -32,11 +25,6 @@ sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
'SKIP')
prepare() {
@@ -46,106 +34,76 @@ prepare() {
git config submodule."external/build".url "${srcdir}/${pkgbase}"-build
git config submodule."external/flit".url "${srcdir}/${pkgbase}"-flit
git config submodule."external/installer".url "${srcdir}/${pkgbase}"-installer
- git config submodule."external/pep517".url "${srcdir}/${pkgbase}"-pep517
- git config submodule."external/setuptools".url "${srcdir}/${pkgbase}"-setuptools
- git config submodule."external/tomli".url "${srcdir}/${pkgbase}"-tomli
git config submodule."external/wheel".url "${srcdir}/${pkgbase}"-wheel
- git config submodule."external/typing_extensions".url "${srcdir}/${pkgbase}"-typing_extensions
git config submodule."external/packaging".url "${srcdir}/${pkgbase}"-packaging
- git config submodule."external/setuptools_scm".url "${srcdir}/${pkgbase}"-setuptools-scm
- git config submodule."external/jaraco.functools".url "${srcdir}/${pkgbase}"-jaraco.functools
- git config submodule."external/calver".url "${srcdir}/${pkgbase}"-calver
+ git config submodule."external/pyproject-hooks".url "${srcdir}/${pkgbase}"-pyproject-hooks
+ git config submodule."external/setuptools".url "${srcdir}/${pkgbase}"-setuptools
git -c protocol.file.allow=always submodule update
git submodule update --init --recursive
}
-
build() {
cd python-bootstrap
python -m bootstrap.build
}
package_python-build() {
- depends=(python-pep517 python python-packaging)
pkgdesc="A simple, correct PEP 517 build frontend"
+ depends=(
+ python
+ python-packaging
+ python-pyproject-hooks
+ )
+
cd python-bootstrap
- python -m bootstrap.install dist/build-*-py3-none-any.whl -d $pkgdir
+ python -m bootstrap.install dist/build-*-py3-none-any.whl -d "$pkgdir"
}
package_python-installer() {
- depends=(python-pep517 python)
pkgdesc="Low-level library for installing a Python package from a wheel distribution"
+ depends=(python)
+
cd python-bootstrap
- python -m bootstrap.install dist/installer-*-py3-none-any.whl -d $pkgdir
+ python -m bootstrap.install dist/installer-*-py3-none-any.whl -d "$pkgdir"
}
package_python-flit-core() {
- depends=(python-pep517 python)
pkgdesc="Simplified packaging of Python modules (core backend)"
- cd python-bootstrap
- python -m bootstrap.install dist/flit_core-*-py3-none-any.whl -d $pkgdir
-}
-
-package_python-pep517() {
- pkgdesc="Wrappers to build Python packages using PEP 517 hooks"
depends=(python)
- cd python-bootstrap
- python -m bootstrap.install dist/pep517-*-py3-none-any.whl -d $pkgdir
-}
-package_python-setuptools() {
- pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
- depends=(python python-jaraco.functools)
- cd python-bootstrap
- python -m bootstrap.install dist/setuptools-*-py3-none-any.whl -d $pkgdir
-}
-
-package_python-tomli() {
- pkgdesc="A lil' TOML parser"
- depends=(python)
cd python-bootstrap
- python -m bootstrap.install dist/tomli-*-py3-none-any.whl -d $pkgdir
+ python -m bootstrap.install dist/flit_core-*-py3-none-any.whl -d "$pkgdir"
}
package_python-wheel() {
pkgdesc="A built-package format for Python"
- depends=(python python-packaging)
- cd python-bootstrap
- python -m bootstrap.install dist/wheel-*-py2.py3-none-any.whl -d $pkgdir
-}
-
-package_python-setuptools-scm() {
- pkgdesc="Handles managing your python package versions in scm metadata"
- depends=(python python-packaging python-setuptools python-typing_extensions)
- cd python-bootstrap
- python -m bootstrap.install dist/setuptools_scm-*-py3-none-any.whl -d $pkgdir
-}
-
-package_python-typing_extensions() {
- pkgdesc="Backported and Experimental Type Hints for Python 3.8+"
depends=(python)
+
cd python-bootstrap
- python -m bootstrap.install dist/typing_extensions-*-py3-none-any.whl -d $pkgdir
+ python -m bootstrap.install dist/wheel-*-py3-none-any.whl -d "$pkgdir"
}
package_python-packaging() {
pkgdesc="Core utilities for Python packages"
depends=(python)
+
cd python-bootstrap
- python -m bootstrap.install dist/packaging-*-py3-none-any.whl -d $pkgdir
+ python -m bootstrap.install dist/packaging-*-py3-none-any.whl -d "$pkgdir"
}
-package_python-jaraco.functools() {
- pkgdesc="Functools like those found in stdlib"
- depends=(python python-more-itertools)
+package_python-pyproject-hooks() {
+ pkgdesc="A low-level library for calling build-backends in pyproject.toml-based project"
+ depends=(python)
+
cd python-bootstrap
- python -m bootstrap.install dist/jaraco.functools-*-py3-none-any.whl -d $pkgdir
+ python -m bootstrap.install dist/pyproject_hooks-*-py3-none-any.whl -d "$pkgdir"
}
-package_python-calver() {
- pkgdesc="Setuptools extension for CalVer package versions"
+package_python-setuptools() {
+ pkgdesc="Setuptools (bootstrapped version)"
depends=(python)
+
cd python-bootstrap
- python -m bootstrap.install dist/calver-*-py3-none-any.whl -d $pkgdir
+ python -m bootstrap.install dist/setuptools-*-py3-none-any.whl -d "$pkgdir"
}
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index f4694854..627e520a 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -49,7 +49,7 @@ if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
- s/--enable-pgo-build=.*/--disable-pgo-build/
+ s/--enable-pgo-build=lto/--disable-pgo-build/
s/--enable-lto/--disable-lto/
s/--enable-gold/--disable-gold/
'
diff --git a/core/coreutils/PKGBUILD b/core/coreutils/PKGBUILD
index f4b69568..5385a852 100644
--- a/core/coreutils/PKGBUILD
+++ b/core/coreutils/PKGBUILD
@@ -1,8 +1,8 @@
# 486-specific
if [ "${CARCH}" = "i486" ]; then
# make uname return i486 instead of i686 when used with setarch
- source+=('coreutils-8.30-uname-i486.patch')
- sha256sums+=('4e3971d7c5f6363d2d2ceeea23958ec6db1d6e5d2c7fc20bc5d6d6bfa7290ad0')
+ source+=('coreutils-9.5-uname-i486.patch')
+ sha256sums+=('9c8b9c88a2f737808ef43dca4c7ea03c638930e33f3c01e7c407ec6f9f67f218')
fi
# FS#66506: temporarily ignore test-login failure
@@ -12,3 +12,4 @@ eval "$(
s/make check/make check || true/
'
)"
+
diff --git a/core/coreutils/coreutils-8.30-uname-i486.patch b/core/coreutils/coreutils-8.30-uname-i486.patch
deleted file mode 100644
index f7872693..00000000
--- a/core/coreutils/coreutils-8.30-uname-i486.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rauN coreutils-8.30/src/uname.c coreutils-8.30-uname-patch-i486/src/uname.c
---- coreutils-8.30/src/uname.c 2018-05-14 06:20:24.000000000 +0200
-+++ coreutils-8.30-uname-patch-i486/src/uname.c 2019-01-28 21:12:09.151041534 +0100
-@@ -285,6 +285,8 @@
-
- if (uname (&name) == -1)
- die (EXIT_FAILURE, errno, _("cannot get system name"));
-+
-+ strcpy(name.machine, "i486");
-
- if (toprint & PRINT_KERNEL_NAME)
- print_element (name.sysname);
diff --git a/core/coreutils/coreutils-9.5-uname-i486.patch b/core/coreutils/coreutils-9.5-uname-i486.patch
new file mode 100644
index 00000000..7250be30
--- /dev/null
+++ b/core/coreutils/coreutils-9.5-uname-i486.patch
@@ -0,0 +1,12 @@
+diff -rauN coreutils-9.5/src/uname.c coreutils-9.5-uname-i486-patch/src/uname.c
+--- coreutils-9.5/src/uname.c 2024-01-01 14:27:23.000000000 +0100
++++ coreutils-9.5-uname-i486-patch/src/uname.c 2024-04-26 08:25:24.914671684 +0200
+@@ -298,6 +298,8 @@
+
+ if (uname (&name) == -1)
+ error (EXIT_FAILURE, errno, _("cannot get system name"));
++
++ strcpy(name.machine, "i486");
+
+ if (toprint & PRINT_KERNEL_NAME)
+ print_element_env (name.sysname, "UNAME_SYSNAME");
diff --git a/core/curl/PKGBUILD b/core/curl/PKGBUILD
index eaaffe13..6d7d6522 100644
--- a/core/curl/PKGBUILD
+++ b/core/curl/PKGBUILD
@@ -1,7 +1,3 @@
-# disable QUIC for now (we have and old openssl library in staging?!)
-eval "$(
- declare -f build | \
- sed '
- /configure/s/--with-openssl-quic//g
- '
-)"
+# Valgrind seems broken for now
+unset check
+unset checkdepends
diff --git a/core/dbus/PKGBUILD b/core/dbus/PKGBUILD
new file mode 100644
index 00000000..4123575d
--- /dev/null
+++ b/core/dbus/PKGBUILD
@@ -0,0 +1,11 @@
+# Disable documentation on i486, it just fails everywhere
+if [ "${CARCH}" = "i486" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-xml-docs/--disable-xml-docs/
+ s/--enable-doxygen-docs/--disable-doxygen-docs/
+ s/--enable-ducktype-docs/--disable-ducktype-docs/
+ '
+ )"
+fi
diff --git a/core/filesystem/PKGBUILD b/core/filesystem/PKGBUILD
index 1190f08c..dca46aa8 100644
--- a/core/filesystem/PKGBUILD
+++ b/core/filesystem/PKGBUILD
@@ -4,7 +4,7 @@
# change checksum of adapted os-release
for i in "${!sha256sums[@]}" ${#sha256sums[@]}; do
- if [ "${sha256sums["${i}"]}" = '46108f7e84f5d5994678133d412d5ec6222c53f28e6bf7ac66cc07788a7ee66d' ]; then
+ if [ "${sha256sums["${i}"]}" = '71ff7a6e248d9a0718344c957ec709cb6f0b18631682fa404d7cff2af3ff341d' ]; then
break
fi
done
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index eb3971c3..c8cb5e40 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -30,16 +30,16 @@ eval "$(
makedepends=(${makedepends[@]//gd/})
makedepends_i686+=('gd')
-if [ "${CARCH}" = "i486" ]; then
-
- # disable testing for now, we run out of memory
- eval "$(
- declare -f check | \
- sed '
- /make -O check/d
- '
- )"
-fi
+# patching fails, tests are disabled lower anyway completely
+#if [ "${CARCH}" = "i486" ]; then
+# # disable testing for now, we run out of memory
+# eval "$(
+# declare -f check | \
+# sed '
+# /make -O check/d
+# '
+# )"
+#fi
# pentium4 specific
diff --git a/core/libtool/PKGBUILD b/core/libtool/PKGBUILD
deleted file mode 100644
index eb241c98..00000000
--- a/core/libtool/PKGBUILD
+++ /dev/null
@@ -1,3 +0,0 @@
-# temporary fix for FS#65995
-source[3]='https://sources.debian.org/data/main/libt/libtool/2.4.6-14/debian/patches/no_hostname.patch'
-sha256sums[3]='693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946'
diff --git a/core/openssl/PKGBUILD b/core/openssl/PKGBUILD
index 03c17f77..0de77e9c 100644
--- a/core/openssl/PKGBUILD
+++ b/core/openssl/PKGBUILD
@@ -13,7 +13,8 @@ if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
- s@enable-ktls@enable-ktls 386 no-threads@
+ s@enable-ktls@enable-ktls 386@
+ s@make@make LDFLAGS='-latomic@'
'
)"
fi
@@ -35,3 +36,4 @@ eval "$(
s/make.*test/make test || true/
'
)"
+
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD
index b8f350ea..e5966c06 100644
--- a/core/pacman/PKGBUILD
+++ b/core/pacman/PKGBUILD
@@ -4,8 +4,8 @@ depends+=(archlinux32-keyring)
# fail if upstream changes makepkg.conf or pacman.conf
for ((i=0; i<${#sha256sums[@]}; i++)); do
- if [ "${sha256sums[${i}]}" = 'f2791b51588104ec6dbaafa389451056f3c61fa6c19510dcce3a9a6cc19cba29' ]; then
- sha256sums[${i}]='d7e2516889c62cd3d0c1f2af5199fe0564c5ef35900d6b6551a8c9ce1c80f95a'
+ if [ "${sha256sums[${i}]}" = '2465d495cb275dce434eb3bfe4d293a223e301b968c14861aea42bc7c60404ef' ]; then
+ sha256sums[${i}]='82e963060a02c9a04cf5296bb4c5e732d3c3d0666d221ddaf2b3367989b9d894'
fi
if [ "${sha256sums[${i}]}" = '656c4d4cb8cb12adbf178fc8cb2fd25f8c285d6572bbdbb24d865d00e0d5a85a' ]; then
sha256sums[${i}]='663cbfe0643ff78c1eeb38d59046707da49bde6ab8226fbc5844457a985cb5bc'
@@ -28,7 +28,7 @@ source+=('replace-i686-by-pentium4-when-architecture-is-auto.patch')
sha256sums+=('6a7906bd28a57cbcff58d856ffefbbb9096a163aaff79913b4fac69d75d0028a')
# not supported on i486 -fcf-protection
-# LTO currently no availavle on i486
+# LTO currently no available on i486
if [ "${CARCH}" = "i486" ]; then
eval "$(
{
@@ -42,20 +42,20 @@ if [ "${CARCH}" = "i486" ]; then
)"
fi
+# If this still applies, it only does for i486:
+if [ "${CARCH}" = "i486" ]; then
# broken Python/asciidoc
-eval "$(
- declare -f build | \
- sed '
- /meson/s/-Ddoc=enabled/-Ddoc=disabled/
- '
-)"
-
-# overload wrong checksums
-sha256sums[11]='468837eed9a4ffd3778f159a7e62f89a38a4244f822a3a5b014daa69e3c65d28'
-sha256sums[13]='d08d4a56dc3a977fdfd4591c30733fa28976710ffba53786541d98717892dc24'
-sha256sums[14]='4a3cdfba490121a20f3648791cd47ba323f3d3d56bf7ced21b9badb1f22d6abc'
+ eval "$(
+ declare -f build | \
+ sed '
+ /meson/s/-Ddoc=enabled/-Ddoc=disabled/
+ '
+ )"
+fi
# gettext is linked against old ICU verison on i486, use ICU 72 stub
if [ "${CARCH}" = "i486" ]; then
makedepends+=(icu72)
fi
+
+sha256sums[0]='SKIP'
diff --git a/core/pacman/makepkg.conf b/core/pacman/makepkg.conf
index d333a442..69c05355 100644
--- a/core/pacman/makepkg.conf
+++ b/core/pacman/makepkg.conf
@@ -41,12 +41,14 @@ CHOST="i686-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
- -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
- -fstack-clash-protection -fcf-protection"
+ -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
+ -fstack-clash-protection -fcf-protection \
+ -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
-LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
+LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
+ -Wl,-z,pack-relative-relocs"
LTOFLAGS="-flto=auto"
-RUSTFLAGS=""
+RUSTFLAGS="-Cforce-frame-pointers=yes"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
@@ -81,7 +83,7 @@ BUILDENV=(!distcc color !ccache check !sign)
# These are default values for the options=() settings
#########################################################################
#
-# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
+# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
@@ -93,8 +95,9 @@ BUILDENV=(!distcc color !ccache check !sign)
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
+#-- autodeps: Automatically add depends/provides
#
-OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)
+OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge debug lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
@@ -112,6 +115,8 @@ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"
+#-- Prefix and directories for library autodeps
+LIB_DIRS=('lib:usr/lib')
#########################################################################
# PACKAGE OUTPUT
diff --git a/core/syslinux/PKGBUILD b/core/syslinux/PKGBUILD
index 253c1507..d88b9185 100644
--- a/core/syslinux/PKGBUILD
+++ b/core/syslinux/PKGBUILD
@@ -2,7 +2,7 @@
# to minor and major
source+=(syslinux-sysmacros.patch)
-sha1sums+=('52c5233da147acd41d542b1673835be966b561e3')
+sha256sums+=('0bc539928c3c044f2f01532b126a33dcb90c689ea698c7669e013ca97f71a4d2')
eval "$(
declare -f prepare | \
@@ -11,18 +11,5 @@ eval "$(
'
)"
-# binutils adds a nore.gnu.proprerty ELF section, this makes the MBR slightly
-# too big to fit on disk (see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414)
-
-source+=(syslinux-strip-gnu-property.patch)
-sha1sums+=('fb8e96b559516038e628ad55e0331e4c668205a8')
-
-eval "$(
- declare -f prepare | \
- sed '
- /patch.*efi_no_kbd/a patch -p1 < ../syslinux-strip-gnu-property.patch
- '
-)"
-
# don't build efi64
_targets='bios efi32'
diff --git a/core/syslinux/syslinux-strip-gnu-property.patch b/core/syslinux/syslinux-strip-gnu-property.patch
deleted file mode 100644
index 363a1ee2..00000000
--- a/core/syslinux/syslinux-strip-gnu-property.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -rauN syslinux/mbr/i386/mbr.ld syslinux-strip-gnu-property-patch/mbr/i386/mbr.ld
---- syslinux/mbr/i386/mbr.ld 2018-10-14 13:54:59.532050409 +0200
-+++ syslinux-strip-gnu-property-patch/mbr/i386/mbr.ld 2018-10-14 14:06:48.788976484 +0200
-@@ -70,4 +70,5 @@
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-+ /DISCARD/ : { *(.note.gnu.property) }
- }
-diff -rauN syslinux/mbr/x86_64/mbr.ld syslinux-strip-gnu-property-patch/mbr/x86_64/mbr.ld
---- syslinux/mbr/x86_64/mbr.ld 2018-10-14 13:54:59.533050375 +0200
-+++ syslinux-strip-gnu-property-patch/mbr/x86_64/mbr.ld 2018-10-14 14:06:40.133269711 +0200
-@@ -69,4 +69,5 @@
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-+ /DISCARD/ : { *(.note.gnu.property) }
- }
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-cryptography/PKGBUILD b/extra/python-cryptography/PKGBUILD
index c42f0881..2b934dbc 100644
--- a/extra/python-cryptography/PKGBUILD
+++ b/extra/python-cryptography/PKGBUILD
@@ -1,3 +1,9 @@
source+=('skip-aead-tests-on-32-bit.patch')
sha512sums+=('SKIP')
-eval "$(declare -f prepare | sed 's@cd cryptography@cd cryptography; patch -p1 -i ../skip-aead-tests-on-32-bit.patch@')"
+eval "$(
+ {
+ declare -f prepare || \
+ printf 'prepare() { cd cryptography\n}\n'
+ } \
+ | sed 's@cd cryptography@cd cryptography; patch -p1 -i ../skip-aead-tests-on-32-bit.patch@'
+)"
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")@')"