path: root/
diff options
authorErich Eckner <>2019-11-19 13:48:54 +0100
committerErich Eckner <>2019-11-19 13:48:59 +0100
commit02fb3bbf216210adf0d777952da4610c267aee2a (patch)
tree7a9ea8440481409081c3db0b7a42aa71f5e26389 /
parenta75a274bd9b68cd8be73968c7f9dce48824ea53c (diff)
downloadpackages-02fb3bbf216210adf0d777952da4610c267aee2a.tar.xz add hints for overwritable variables in the PKGBUILD
Diffstat (limited to '')
1 files changed, 6 insertions, 0 deletions
diff --git a/ b/
index fcf152ad..015834e3 100644
--- a/
+++ b/
@@ -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
+* 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).