From 4bf6840834c33706d3a06488c3e65216f3da6e8e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Apr 2023 22:59:06 +0200 Subject: [PATCH] Add a script for installing yay --- scripts/Arch/Software/yay/install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/Arch/Software/yay/install.sh diff --git a/scripts/Arch/Software/yay/install.sh b/scripts/Arch/Software/yay/install.sh new file mode 100755 index 00000000..7500d744 --- /dev/null +++ b/scripts/Arch/Software/yay/install.sh @@ -0,0 +1,8 @@ +#!/bin/bash +sudo pacman -S --needed git base-devel +contextRoot="$(mktemp -d)"; + +git clone https://aur.archlinux.org/yay.git "$contextRoot"; +pushd "$contextRoot" > /dev/null; +makepkg -si; +popd > /dev/null;