Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/pkghash.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-07-25 14:01:48 -0400
committerAllan McRae <allan@archlinux.org>2014-08-08 13:44:25 +1000
commit2b556d89de0d3f10466b4db4d8915a3ffb1163de (patch)
tree94487f5689c4a15e4d589abf3e6058624c8bd53a /lib/libalpm/pkghash.h
parentcbd6c300b5bdf61b7df80f42cf06c69a6e4fde60 (diff)
PKGBUILD: handle arch specific attributes
This introduces support for architecture-specific conflicts, depends, optdepends, makedepends, replaces, and conflicts by appending "_$CARCH" to the array name. For example, in the global section: arch=('i686' 'x86_64') depends=('foo') depends_x86_64=('bar') This will generate depends of 'foo' and 'bar' on x86_64, but only 'foo' on i686. Moreover, this is supported in the package functions with the same heuristics as the generic names, e.g. ... arch=('i686' 'x86_64') depends=('foo') ... package_somepkg() { depends_x86_64=('bar') ... } Again, will cause x86_64 to have depends of 'foo' and 'bar', but only 'foo' for i686.
Diffstat (limited to 'lib/libalpm/pkghash.h')
0 files changed, 0 insertions, 0 deletions