Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index fcf152ad..015834e3 100644
--- a/README.md
+++ b/README.md
@@ -12,3 +12,9 @@ Additional to the abovementioned changes to the package sources, the following c
* append architectures to `arch` array
* append our sub_pkgrel
* remove `lib32-` prefixes if present
+
+Hints:
+* Using `CARCH` outside of the default functions in the `PKGBUILD` will not work, as the `PKGBUILD` is parsed once **on an x86_64 host**.
+Use `$variable_$arch` instead as documented upstream.
+* For the same reason, patching `pkgname` on a per-`CARCH` basis is not possible.
+Instead of removing an item from the `pkgname` array for a certain architecture, one can make the respective `package_...` function's body empty (one should **not** undefine the whole function).