#!/bin/bash if [[ ! -e PKGBUILD ]]; then echo "no PKGBUILD found, wrong directory?" exit 1 fi rm -f *.log PKGBUILD-namcap.log *.pkg.tar*