summaryrefslogtreecommitdiff
path: root/yay.sh
diff options
context:
space:
mode:
authorShipwreckt <shipwreckt@mailfence.com>2025-02-22 07:10:10 +0000
committerShipwreckt <shipwreckt@mailfence.com>2025-02-22 07:10:10 +0000
commit971bbb74a02f83650c8cd0550fb91886c4d460fe (patch)
treed0d56e38ba28ddf37866ceb6b275ff5de48a0e40 /yay.sh
parent749b69e71e0475bcf1f4d7067414f55f830c9e8d (diff)
2nd initial commit
Diffstat (limited to 'yay.sh')
-rwxr-xr-xyay.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/yay.sh b/yay.sh
new file mode 100755
index 0000000..4554c0b
--- /dev/null
+++ b/yay.sh
@@ -0,0 +1,32 @@
+AUR='yay -S --noconfirm'
+
+install_yay() {
+ sudo pacman -S --needed --noconfirm git base-devel
+ git clone https://aur.archlinux.org/paru.git
+ cd paru
+ makepkg -si --noconfirm
+
+ if ! command -v yay &> /dev/null; then
+ echo "yay could not be installed"
+ exit 1
+ fi
+}
+
+install_aur_packages() {
+ $AUR wd719x-firmware upd72020x-fw yt-dlp-drop-in librewolf-bin nuclear-player-bin
+ echo "===================="
+ echo "AUR packages setup"
+ echo "===================="
+}
+
+
+main() {
+ install_yay
+ install_aur_packages
+ echo "=================================="
+ echo "Done installing"
+ echo "=================================="
+}
+
+# Run the main script
+main