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/env/arch-linux/provisioning/1-pacaur.bash

37 lines
982 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
2020-03-09 14:46:18 -05:00
sudo pacman -S git curl openssl perl expac yajl meson gmock gtest jq make pkginfo --noconfirm
# setup a temporary place to install the packages from
REPOSITORY_PATH="/tmp/provisioning"
mkdir -p "$REPOSITORY_PATH"
# clone the repositories
2019-09-15 08:43:52 -05:00
rm -rf "$REPOSITORY_PATH/auracle-git"
rm -rf "$REPOSITORY_PATH/pacaur"
git clone https://aur.archlinux.org/auracle-git.git "$REPOSITORY_PATH/auracle-git"
git clone https://aur.archlinux.org/pacaur.git "$REPOSITORY_PATH/pacaur"
2019-09-15 08:43:52 -05:00
# build and install auracle
cd "$REPOSITORY_PATH/auracle-git"
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 -
2019-09-15 08:43:52 -05:00
# cleanup
rm -rf "$REPOSITORY_PATH/auracle-git"
rm -rf "$REPOSITORY_PATH/pacaur"
# once installed, let the package manager manage itself and its dependencies
2019-09-15 08:43:52 -05:00
pacaur -S auracle-git pacaur --noconfirm --noedit