Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/zsh_completion.in
diff options
context:
space:
mode:
authorFelix Yan <felixonmars@archlinux.org>2021-07-27 19:22:19 +0800
committerLevente Polyak <anthraxx@archlinux.org>2022-01-22 01:12:32 +0100
commitfa5afbc30b68912eb7f16d434a27faf787c3da9c (patch)
tree47b2146d91d1d2ec378b37b300a1b1abe7e516b0 /zsh_completion.in
parent412d032c265e2f5193e41cdad2e739b1501b9ca5 (diff)
checkpkg: set makepkg vars from build root to support none host archs
When building for an architecture different from the host, the correct old package was downloaded as "$copydir"'s pacman was configured with the target CARCH, but checkpkg doesn't know this and tries to search the cache for host CARCH instead, producing the following error: `==> ERROR: tarball not found for package: xxx` This change fixes this by passing the appropriate makepkg config explicitly, so that checkpkg behaves consistently. Co-Authored-by: Levente Polyak <anthraxx@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'zsh_completion.in')
-rw-r--r--zsh_completion.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh_completion.in b/zsh_completion.in
index 7a3516a..f640086 100644
--- a/zsh_completion.in
+++ b/zsh_completion.in
@@ -77,6 +77,7 @@ _rebuildpkgs_args=(
_checkpkg_args=(
'(-r --rmdir)'{-r,--rmdir}'[Remove the temporary directory]'
'(-w --warn)'{-w,--warn}'[Print a warning in case of differences]'
+ '(-M --makepkg-config)'{-M,--makepkg-config}'[Location of a makepkg config file]:makepkg_config:_files -g "*.conf(.)"'
'(-h --help)'{-h,--help}'[Display usage]'
)