From: Erich Eckner
Variables from the config make no difference with `--printsrcinfo`, also
the directory permissions ($SRCDEST, $PKGDEST, $SRCPKGDEST, $BUILDDIR)
do not matter in that case.
This relieves one from customizing /etc/makepkg.conf on a system, where
only ever `makepkg
Since the update to pacman 5.2.0, `makepkg --printsrcinfo` may emmit
warnings about invalid packager format. However, all config variables in
/etc/makepkg.conf, as well as directory permissions are not relevant if
`--printsrcinfo` is given. So we simply skip the lint_conf and directory
From: Erich Eckner
When running `makepkg -i` it may be necessary to first remove make- and
checkdepends before installing the built package - for example if they
conflict each other. This is the case for wireguard-arch which
makedepends and conflicts wireguard-dkms.
Signed-off-by: Erich Eckner
From: Erich Eckner
When makepkg fails to install makedepends=() or checkdepends=(), it
should still remove installed depends=() packages iff RMDEPS is set. To
correctly do this, it needs to remember the installed packages after
successfully installing depends=().
Signed-off-by: Erich Eckner
From: Erich Eckner
Signed-off-by: Erich Eckner
---
scripts/makepkg.sh.in | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index e9080a70..625b89a2 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@