Dotfiles/setup/modules/optional-Modules/apps/openarena.sh

13 lines
591 B
Bash

#!/bin/bash
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
set -euo pipefail
# Load shared log/warn/skip helpers from the installer library.
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
log "Installing OpenArena (AUR)..."
# OpenArena is a free, open-source FPS based on the Quake III Arena engine.
# It is AUR-only (not in the official repos), so install via the AUR helper —
# `pacman -S openarena` fails with "target not found".
yay -S --answerdiff None --answerclean All --noconfirm --needed openarena
log "OpenArena installed."