diff --git a/modules/pacman/helper_aur.zsh b/modules/pacman/helper_aur.zsh index d051e83..3d88883 100644 --- a/modules/pacman/helper_aur.zsh +++ b/modules/pacman/helper_aur.zsh @@ -4,7 +4,7 @@ # download and build AUR package aurb() { - git clone https://aur.archlinux.org/${1}.git && cd ${1} && makepkg -sci + git clone https://aur.archlinux.org/${1}.git && cd ${1} && makepkg --clean --install --syncdeps } # only download aur package; do not build @@ -16,5 +16,5 @@ aurd() { #NOTE: this is will remove any unstashed/uncommitted changes. # due to how makepkg will update the PKGBUILD, a git pull alone will not suffice. auru() { - git reset HEAD --hard && git pull && rm -f *.pkg.tar.xz || true && makepkg -sci + git reset HEAD --hard && git pull && makepkg --clean --force --install --syncdeps --cleanbuild }