Big move about + cleanup

This commit is contained in:
yage
2022-02-06 00:15:14 -07:00
parent 220fa678c5
commit a7bf48df9e
134 changed files with 682 additions and 3185 deletions

17
setup/yay.setup.zsh Normal file
View File

@@ -0,0 +1,17 @@
YAY__SOURCE_TARGET='https://aur.archlinux.org/yay.git'
YAY__LOCAL_PATH="$HOME/.packages/yay"
YAY__INSTALL_FROM_SOURCE() {
CHECK 'verifying yay install'
[ -d $YAY__LOCAL_PATH ] \
&& { OK; return 0; } || WARN
CHECK 'downloading yay'
git clone $ARCH__YAY_TARGET $YAY__LOCAL_PATH >>$LOG 2>&1\
&& OK || { WARN; return 1; }
cd $YAY__LOCAL_PATH
CHECK 'installing yay'
yes | makepkg -si >>$LOG 2>&1 \
&& OK || { WARN; return 1; }
}