On Sat, May 18, 2019 at 1:54 PM Allan McRae <allan@archlinux.org> wrote:
On 18/5/19 9:34 pm, Jouke Witteveen wrote:
Compression is a waste of time when building a package for local installation. It could already be suppressed easily, but not yet via an argument to makepkg.
As it could already be suppressed easily (makepkg.conf and with an environmental variable), we don't need an option.
makepkg.conf is of course unsuitable for one-off package building without compression. The environmental variable has different ergonomics and discoverability. With the proposed patch, the semantics are simplified: Use --nocompress if you want no compression, versus remembering to use PKGEXT and what value to set it too. The patch pulls this logic inside makepkg and adds it to the documentation (manpage, bash-completion, and --help). I'd say there is some definite value in the few extra lines this adds. Anyway, thanks for your quick response! - Jouke