Some checks failed
Mark stable commit / test-unit (push) Has been cancelled
Mark stable commit / test-integration (push) Has been cancelled
Mark stable commit / test-env-virtual (push) Has been cancelled
Mark stable commit / test-env-nix (push) Has been cancelled
Mark stable commit / test-e2e (push) Has been cancelled
Mark stable commit / test-virgin-user (push) Has been cancelled
Mark stable commit / test-virgin-root (push) Has been cancelled
Mark stable commit / mark-stable (push) Has been cancelled
32 lines
675 B
Bash
Executable File
32 lines
675 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
echo "[arch/dependencies] Installing Arch build dependencies..."
|
|
|
|
pacman -Syu --noconfirm
|
|
pacman -S --noconfirm --needed \
|
|
base-devel \
|
|
git \
|
|
rsync \
|
|
curl \
|
|
ca-certificates \
|
|
python \
|
|
xz
|
|
|
|
pacman -Scc --noconfirm
|
|
|
|
# Always run AUR builder setup for Arch
|
|
AUR_SETUP="${SCRIPT_DIR}/aur-builder-setup.sh"
|
|
|
|
if [[ ! -x "${AUR_SETUP}" ]]; then
|
|
echo "[arch/dependencies] ERROR: AUR builder setup script not found or not executable: ${AUR_SETUP}"
|
|
exit 1
|
|
fi
|
|
|
|
echo "[arch/dependencies] Running AUR builder setup..."
|
|
bash "${AUR_SETUP}"
|
|
|
|
echo "[arch/dependencies] Done."
|