Simply adding `--sign` to the `makepkg` flags doesn't work because it would require setting up GPG within the chroot environment (of `makechrootpkg`). When debugging it is anyways annoying that `makepkg` sends the `gpg` output to `/dev/null`. This way the logs are preserved.
5 lines
100 B
Bash
Executable File
5 lines
100 B
Bash
Executable File
#!/bin/bash
|
|
echo "fake gpg: $@"
|
|
echo "fake signature with GPG key ${@: -2}" > "${@: -1}.sig"
|
|
exit 0
|