updated arch build requirements
This commit is contained in:
15
setup/os-dependencies/arch.zsh
Normal file
15
setup/os-dependencies/arch.zsh
Normal file
@@ -0,0 +1,15 @@
|
||||
YAY__SOURCE_TARGET='https://aur.archlinux.org/yay.git'
|
||||
YAY__LOCAL_PATH="$HOME/.packages/yay"
|
||||
|
||||
YAY__INSTALL_FROM_SOURCE() {
|
||||
[ -d $YAY__LOCAL_PATH ] && return 0
|
||||
|
||||
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; }
|
||||
}
|
Reference in New Issue
Block a user