build: update to work with aurutils 3.2.0

This commit is contained in:
George Rawlinson 2021-12-01 16:49:03 +00:00
parent e2153c0eb3
commit 484d63b017
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -16,6 +16,7 @@ trap traperr ERR
PACKAGES=("$@")
EXTRA_ARGS=()
REPOSITORY="grawlinson"
if [ ${#PACKAGES[@]} -eq 0 ]; then
echo "${BOLD}${RED}ERROR:${RESET}${BOLD} no packages specified${RESET}"
@ -54,7 +55,8 @@ for package in "${PACKAGES[@]}"; do
--gpg-sign \
--remove \
--force \
--makepkg-conf=/etc/aurutils/makepkg-grawlinson.conf \
--database="$REPOSITORY" \
--makepkg-conf="/etc/aurutils/makepkg-$REPOSITORY.conf" \
"${EXTRA_ARGS[@]}"
# reset EXTRA_ARGS