#!/bin/sh pacstrap /mnt git arch-chroot /mnt git clone https://aur.archlinux.org/package-query.git /tmp/package-query && cd package-query && makepkg -si arch-chroot /mnt git clone https://aur.archlinux.org/yaourt.git /tmp/yaourt && cd yaourt && makepkg -si arch-chroot /mnt rm -R /tmp/package-query /tmp/yaourt amf_return=0