Cleanup arch.sh

This commit is contained in:
har0ke 2022-11-11 02:29:00 +01:00
parent 9f3fefed9f
commit c88be2a9f7

120
arch.sh
View File

@ -8,50 +8,80 @@ cleanup () {
rm -rf "$SCRIPT_DIR/pikaur" rm -rf "$SCRIPT_DIR/pikaur"
} }
sudo pacman -Sy --needed \ declare -ar base_system=(
audacity \ alsa-utils
autoconf \ ethtool
automake \ htop
chromium \ llvm
cmake \ lshw
dmenu \ make
ethtool \ networkmanager
gdb \ perf
gimp \ pulseaudio
git \ pv
gparted \ sshfs
i3-gaps \ tcpdump
i3status-rust \ tmux
i3lock \ tree
keepassxc \ vim
llvm \ wget
lshw \
make \
meld \
ninja \
perf \
playerctl \
pv \
sshfs \
tcpdump \
thunderbird \
tmux \
tree \
vim \
vlc \
wget \
wireshark-cli \
wireshark-qt \
wmctrl \
xterm \
xorg-server \
xorg-xinit \
xorg-xrandr \
zsh zsh
)
declare -ar base_dev=(
autoconf
automake
cmake
gdb
git
ninja
)
declare -ar i3_environment=(
acpilight
dmenu
i3-gaps
i3status-rust
i3lock
playerctl
ttf-font-awesome
wmctrl
xterm
xorg-server
xorg-xinit
xorg-xrandr
network-manager-applet
)
declare -ar apps_core=(
chromium
firefox
keepassxc
nextcloud-client
pavucontrol
thunderbird
protonmail-bridge-bin
)
declare -ar apps_dev=(
meld
tk # git gui
visual-studio-code-bin
)
declare -ar apps_extra=(
audacity
darktable
gimp
spotify
vlc
)
if ! pacman -Qqe | grep pikaur > /dev/null; then if ! pacman -Qqe | grep pikaur > /dev/null; then
sudo pacman -Sy --needed pyalpm sudo pacman -Sy --needed git pyalm python-markdown-it-py asp \
python-defusedxml python-pysocks
git clone https://aur.archlinux.org/pikaur.git "$SCRIPT_DIR/pikaur" || true git clone https://aur.archlinux.org/pikaur.git "$SCRIPT_DIR/pikaur" || true
cd "$SCRIPT_DIR/pikaur" cd "$SCRIPT_DIR/pikaur"
git pull git pull
@ -59,6 +89,10 @@ if ! pacman -Qqe | grep pikaur > /dev/null; then
fi fi
pikaur -S --needed \ sudo pikaur -Sy --needed \
spotify \ "${base_system[@]}" \
visual-studio-code-bin \ "${base_dev[@]}" \
"${i3_environment[@]}" \
"${apps_core[@]}" \
"${apps_dev[@]}" \
"${apps_extra[@]}"