summaryrefslogtreecommitdiff
path: root/arch/required
blob: ad8c2b8fefd22addae9165e63a8d073c0e5d7b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# run as root
pacman -S --needed - < mainline

useradd -m tom

mkdir /home/tom/yay
git clone https://aur.archlinux.org/yay-bin.git /home/tom/yay

chown tom:tom -R /home/tom

cd /home/tom/yay && sudo -u tom makepkg -si --noconfirm

sudo -u tom yay -Syu --noconfirm

sudo -u tom yay -S --needed - < aur