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

33 lines
830 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# TODO: this script is out of date!
# 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"
2017-04-03 13:06:06 -05:00
makepkg -i --noconfirm
cd -
# build and install pacaur
cd "$REPOSITORY_PATH/pacaur"
2017-04-03 13:06:06 -05:00
makepkg -i --noconfirm
cd -
# once installed, let the package manager manage itself and its dependencies
pacaur -S cower pacaur --noconfirm --noedit