11 lines
534 B
Bash
Executable File
11 lines
534 B
Bash
Executable File
#!/bin/bash
|
|
distrobox create -n arch -i quay.io/toolbx/arch-toolbox:latest
|
|
distrobox enter --name arch -- sudo pacman -Suy
|
|
distrobox enter --name arch -- sudo pacman -Sy --needed git base-devel
|
|
distrobox enter --name arch -- git clone https://aur.archlinux.org/yay-bin.git ~/Downloads/yay-bin
|
|
cd ~/Downloads/yay-bin
|
|
distrobox enter --name arch -- makepkg -si
|
|
distrobox enter --name arch -- distrobox-export --bin /usr/bin/yay --export-path ~/Downloads/yay-bin
|
|
pkexec cp ~/Downloads/yay-bin/yay /usr/bin/yay
|
|
rm -rd ~/Downloads/yay-bin
|