#!/bin/bash for PKG in pkg/*; do cd "${PKG}" || exit aur build -c || exit cd ../.. || exit done