PortValhalla/scripts/Arch/Software/yay/install.sh

13 lines
300 B
Bash
Raw Normal View History

2023-04-03 20:59:06 +00:00
#!/bin/bash
2023-04-04 15:18:53 +00:00
if ! command -v yay > /dev/null 2>&1
then
sudo pacman --noconfirm -S --needed git base-devel
2023-04-04 15:18:53 +00:00
contextRoot="$(mktemp -d)";
git clone https://aur.archlinux.org/yay.git "$contextRoot";
pushd "$contextRoot" > /dev/null;
makepkg --noconfirm -si;
popd > /dev/null;
fi;
2023-04-03 20:59:06 +00:00