diff options
| -rwxr-xr-x | aur | 47 | ||||
| -rwxr-xr-x | install | 16 |
2 files changed, 59 insertions, 4 deletions
@@ -0,0 +1,47 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Install paru on Arch-based systems, then clean cache. + +if [[ "$(id -u)" -eq 0 ]]; then + echo "Please run this script as a normal user, not root." + exit 1 +fi + +if ! command -v pacman >/dev/null 2>&1; then + echo "This script requires pacman. Are you on Arch or an Arch-based distro?" + exit 1 +fi + +if command -v paru >/dev/null 2>&1; then + echo "paru is already installed." +else + echo "Installing required packages..." + sudo pacman -S --needed --noconfirm base-devel git + + tmpdir="$(mktemp -d)" + trap 'rm -rf "$tmpdir"' EXIT + + echo "Cloning paru into $tmpdir..." + git clone https://aur.archlinux.org/paru.git "$tmpdir/paru" + + cd "$tmpdir/paru" + + echo "Building and installing paru..." + makepkg -si --noconfirm +fi + +echo "Cleaning paru cache..." +paru -Scc --noconfirm || true + +echo "Done." + +packages=( + llama.cpp + ledger-live + orca-slicer + tidal-hifi-bin + dropbox +) + +paru -S --needed "${packages[@]}" @@ -52,7 +52,6 @@ packages=( audacity gimp blender - dropbox-cli flatpak thunar @@ -75,7 +74,7 @@ packages=( zoxide yazi tmux - aria2c + aria2 jq perl-rename lftp @@ -96,6 +95,13 @@ packages=( wl-clipboard cliphist + # Backup Desktop + bspwm + sxhkd + polybar + feh + xorg + # Drivers bluez cups @@ -158,7 +164,7 @@ packages=( ttf-monoid-nerd ttf-mononoki-nerd ttf-mplus-nerd - ttf-nanumgothic_coding + # ttf-nanumgothic_coding ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-mono ttf-noto-nerd @@ -180,7 +186,9 @@ packages=( # Music reaper timidity++ - + mpd + mpc + rmpc ) sudo pacman -S --needed "${packages[@]}" |
