


























Please consider adding cosign and/or slsa-verifier integrity checks. You can refer to openfga-bin for an example implementation. Also, adding pkgrel to source names might not be necessary.
Thank you for maintaining this package.
It looks like the current PKGBUILD assumes that the ${_pkgname} binary is already available in $PATH during the build() phase.
This works for users who already have the binary installed system-wide (e.g., when upgrading), because their $PATH contains the previously installed version. However, for clean builds in a minimal environment, this results in a "command not found" error.
To fix this and ensure the correct binary is used, it is necessary to invoke the locally built binary directly via ./${_pkgname}. Otherwise, the build will fail on systems without the binary already installed.
Here's a patch to fix this issue:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,7 +33,7 @@
build() {
gzip "man/man.1"
mkdir -p completions
- "${_pkgname}" completion bash > "completions/fish"
- "${_pkgname}" completion bash > "completions/bash"
- "${_pkgname}" completion bash > "completions/zsh"
+ "./${_pkgname}" completion fish > "completions/fish"
+ "./${_pkgname}" completion bash > "completions/bash"
+ "./${_pkgname}" completion zsh > "completions/zsh"
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@vitaliikuzhdin: I added the checksums to the verify! I tried a little to implement the signature verification, but it fails here! I'll add you as co-maintainer, so you can added this verification to the source files if you really think it's important! Thanks