aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-04-11 09:43:35 +0200
committerPolesznyák Márk <contact@pml68.dev>2026-04-11 09:43:35 +0200
commit7b2ece89a64dbc3e8b51b387113028a80a65fe15 (patch)
tree68f4b01c890bfb9e07d555d90dda389ca3880807
parentchore: bump version (diff)
downloadaur-7b2ece89a64dbc3e8b51b387113028a80a65fe15.tar.gz
feat: build packages in clean chroot
-rwxr-xr-xaur8
1 files changed, 4 insertions, 4 deletions
diff --git a/aur b/aur
index 4301aeb..19e54fb 100755
--- a/aur
+++ b/aur
@@ -38,10 +38,10 @@
git diff "@{1}.."
read -p "Proceed with installation? [Y/n] " proceed
if [[ -z "$proceed" ]] || [[ "$proceed" == "Y" ]] || [[ "$proceed" == "y" ]]; then
- makepkg -si ; _clean
+ multilib-build && makepkg -i ; _clean
fi
elif [[ "${1-}" == "-f" ]] || [[ "$dir" == *-git && "${1-}" == "-g" ]]; then
- makepkg -si ; _clean
+ multilib-build && makepkg -i ; _clean
fi
done
}
@@ -62,7 +62,7 @@
fi
if [[ -z "$proceed" ]] || [[ "$proceed" == "Y" ]] || [[ "$proceed" == "y" ]]; then
- makepkg -si ; _clean
+ multilib-build && makepkg -i ; _clean
fi
else
git clone "https://aur.archlinux.org/$package" ~/.aur/"$package"
@@ -70,7 +70,7 @@
${EDITOR:-nvim} PKGBUILD
read -p "Proceed with installation? [Y/n] " proceed
if [[ -z "$proceed" ]] || [[ "$proceed" == "Y" ]] || [[ "$proceed" == "y" ]]; then
- makepkg -si ; _clean
+ multilib-build && makepkg -i ; _clean
fi
fi
done