1234567891011121314151617181920212223242526272829303132333435363738 |
- #!/bin/bash
- # fail if any commands fails
- set -e
- # debug log
- #set -x
- cloneRepo() {
- mkdir -p ~/aur
- cd ~/aur || return
- if [ ! -d "$1" ]; then
- git clone https://aur.archlinux.org/"$1".git
- cd "$1" || return
- else
- cd "$1" || return
- git pull
- fi
- }
- cloneRepo slstatus-git
- makepkg -sic --noconfirm --skipinteg
- #cloneRepo surf
- #makepkg -sic --noconfirm --skipinteg
- cloneRepo st
- curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/aur/st/config.def.h"
- makepkg -sic --noconfirm --skipinteg
- #cloneRepo dwm
- #curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/aur/dwm/config.h"
- #makepkg -sic --noconfirm --skipinteg
- cloneRepo cwm
- makepkg -sic --noconfirm --skipinteg
- cd || return
- curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.cwmrc"
|