Add .chezmoiscripts/00-aur.sh

This commit is contained in:
punkfairie 2024-04-20 13:52:19 -07:00
parent b21a473bea
commit a6a6aca827
No known key found for this signature in database
GPG key ID: 284B78B49C058673

View file

@ -0,0 +1,12 @@
{{ if (and (eq .chezmoi.osRelease.id "arch") (not lookPath "yay")) -}}
#!/usr/bin/env bash
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
cd ..
rm -rf yay-bin
yay -Syu
{{- end -}}