From 095d6332bea6cd44e012927043a89210b1a3f9b3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 12 Sep 2019 15:22:03 +0200 Subject: makepkg: remove makedepends before installing built package 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 Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index ec2de455..756109cc 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -822,6 +822,9 @@ create_srcpackage() { install_package() { (( ! INSTALL )) && return 0 + remove_deps || return $? + RMDEPS=0 + if (( ! SPLITPKG )); then msg "$(gettext "Installing package %s with %s...")" "$pkgname" "$PACMAN -U" else -- cgit v1.2.3-24-g4f1b