This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/arch/provision.d/10-install-paru.bash

13 lines
397 B
Bash
Raw Normal View History

2022-05-25 11:38:52 -05:00
#!/usr/bin/env bash
echo "Installing paru as $(whoami)"
REPOSITORY_PATH="/tmp/provisioning"
sudo pacman -S --needed --noconfirm git base-devel
mkdir -p "$REPOSITORY_PATH"
rm -rf "$REPOSITORY_PATH/paru"
git clone https://aur.archlinux.org/paru-bin.git "$REPOSITORY_PATH/paru"
cd "$REPOSITORY_PATH/paru" || exit 1
makepkg --noconfirm -si
paru -S --noconfirm paru-bin
rm -rf "$REPOSITORY_PATH/paru"