Skip to content

Instantly share code, notes, and snippets.

@larsch
Last active December 2, 2016 14:02
Show Gist options
  • Select an option

  • Save larsch/3327aa2d607794ddb735 to your computer and use it in GitHub Desktop.

Select an option

Save larsch/3327aa2d607794ddb735 to your computer and use it in GitHub Desktop.
#!/bin/sh -ex
sudo pacman -Sy base-devel --needed --noconfirm
curl -O https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar xfz package-query.tar.gz -C /tmp
pushd /tmp/package-query
makepkg --noconfirm -sf
sudo pacman -U --noconfirm package-query-*.pkg.tar.xz
popd
curl -O https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
tar xfz yaourt.tar.gz -C /tmp
pushd /tmp/yaourt
makepkg --noconfirm -sf
sudo pacman -U --noconfirm yaourt-*.pkg.tar.xz
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment