27 May
2019
27 May
'19
6:28 p.m.
On 23/5/19 12:44 am, Eli Schwartz wrote:
When scripting/automating around makepkg, it is sometimes desirable to know how makepkg will be configured to operate. One example is the archlinux devtools, which must forward select makepkg.conf variables into a build chroot (for example PACKAGER) or use those variables itself (for example {SRC,PKG,LOG}DEST).
The configuration file can be in up to 3 places, and should be capable of being overridden via environment variables. It is sufficiently complex to represent distinct functionality, and sufficiently useful to merit easy accessibility in other scripts, therefore, let us move it into a publicly exposed utility library.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> ---
Good. A