sudo pacman -S --needed base-devel git wget yajl
cd /tmp
git clone aur.archlinux.org/package-query.git
cd package-query/
makepkg -si
cd ..
git clone aur.archlinux.org/yaourt.git
cd yaourt/
makepkg -si
cd ..
sudo rm -dR yaourt/ package-query/