62 lines
967 B
Bash
Executable file
62 lines
967 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# NAME: Install AUR packages
|
|
|
|
set -euo pipefail
|
|
|
|
# Source common functions
|
|
source "$(dirname "$0")/../common.sh" || {
|
|
echo "[ERROR] Could not source common.sh" >&2
|
|
exit 1
|
|
}
|
|
|
|
check_requirements() {
|
|
if ! command_exists paru; then
|
|
log_error "paru not found. Install it first"
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
install_aur_packages() {
|
|
local packages=(
|
|
adwaita-dark
|
|
aws-session-manager-plugin
|
|
bottles
|
|
bruno-bin
|
|
davmail
|
|
dmg2img
|
|
ebgaramond-otf
|
|
insomnia-bin
|
|
kubefwd-bin
|
|
mpvpaper
|
|
ngrok
|
|
openvpn3-git
|
|
otf-font-awesome-5
|
|
postman-bin
|
|
rofi-lbonn-wayland-git
|
|
rose-pine-gtk-theme
|
|
slack-desktop
|
|
soapui
|
|
sublime-merge
|
|
swayfx-git
|
|
teams-for-linux-bin
|
|
ttf-font-awesome-5
|
|
ttf-ms-win11-auto
|
|
watchman-bin
|
|
yubico-authenticator-bin
|
|
betterbird-bin
|
|
)
|
|
|
|
log_info "Installing AUR packages"
|
|
paru -S --needed --noconfirm "${packages[@]}"
|
|
}
|
|
|
|
main() {
|
|
init_script
|
|
|
|
check_requirements
|
|
install_aur_packages
|
|
|
|
finish_script 0
|
|
}
|
|
|
|
main "$@"
|