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 <git@eckner.net> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
8e7d425627
commit
095d6332be
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue