From 1b664d9b19266753eabb21e84aa0da80fb8404ce Mon Sep 17 00:00:00 2001 From: Rodrigo Siqueira Date: Sun, 8 Jan 2023 07:41:47 -0700 Subject: [PATCH] yay: Introduce basic yay config Signed-off-by: Rodrigo Siqueira --- main.sh | 4 ++++ yay/setup.sh | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 yay/setup.sh diff --git a/main.sh b/main.sh index 6ca9dca..dba280a 100644 --- a/main.sh +++ b/main.sh @@ -23,3 +23,7 @@ include 'breeze/setup.sh' include 'neomutt/setup.sh' include 'repositories/setup.sh' + +if [[ "$TARGET_DISTRO" == 'arch' ]]; then + include 'yay/setup.sh' +fi diff --git a/yay/setup.sh b/yay/setup.sh new file mode 100644 index 0000000..219b899 --- /dev/null +++ b/yay/setup.sh @@ -0,0 +1,9 @@ +current_folder="$PWD" + +cd /tmp/ + +git clone https://aur.archlinux.org/yay.git +cd yay +makepkg -si + +cd "$current_folder"