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/scripts/arch-linux/provisioning/1-pacaur.bash
2017-11-14 17:31:30 -06:00

31 lines
791 B
Bash
Executable file

#!/usr/bin/env bash
# installs pacaur on a fresh arch install
# install the dependencies
sudo pacman -S git curl openssl perl expac yajl --noconfirm
# receive cower's gpg key
gpg --recv-keys 1EB2638FF56C0C53
# setup a temporary place to install the packages from
REPOSITORY_PATH="/tmp/provisioning"
mkdir -p "$REPOSITORY_PATH"
# clone the repositories
git clone https://aur.archlinux.org/cower.git "$REPOSITORY_PATH/cower"
git clone https://aur.archlinux.org/pacaur.git "$REPOSITORY_PATH/pacaur"
# build and install cower
cd "$REPOSITORY_PATH/cower"
makepkg -i --noconfirm
cd -
# build and install pacaur
cd "$REPOSITORY_PATH/pacaur"
makepkg -i --noconfirm
cd -
# once installed, let the package manager manage itself and its dependencies
pacaur -S cower pacaur --noconfirm --noedit