#!/bin/bash set -xeuo pipefail # sudo sed -i '$ a 169.254.1.2 archmirror.i.balki.me' /etc/hosts sudo sh -c 'echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts' sudo pacman -Syu sudo chown --recursive builder:builder /w makepkg --printsrcinfo > .SRCINFO makepkg -s