Skip to content

Instantly share code, notes, and snippets.

@csivanich
Forked from rumpelsepp/install-pacaur.sh
Last active January 26, 2016 19:47
Show Gist options
  • Select an option

  • Save csivanich/36d876e330d19bb990c5 to your computer and use it in GitHub Desktop.

Select an option

Save csivanich/36d876e330d19bb990c5 to your computer and use it in GitHub Desktop.
A small script for arch linux which builds and installs "pacaur" automatically
#!/usr/bin/env bash
buildroot="/tmp/build-$(id -u)"
# Make sure we can even build packages on arch linux.
sudo pacman -S --needed --noconfirm base-devel curl
mkdir -p ${buildroot}
mkdir ${buildroot}/cower ${buildroot}/pacaur
cd ${buildroot}/cower
curl -L https://aur.archlinux.org/packages/co/cower/PKGBUILD > PKGBUILD
makepkg --syncdeps --skippgpcheck --install
cd ${buildroot}/pacaur
curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD
makepkg --syncdeps --skippgpcheck --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment