arch/build-all.sh
2021-04-28 16:29:51 +02:00

18 lines
384 B
Bash
Executable File

#!/bin/bash
# build all packages
for PKG in pkg/*; do
# check if PKGBUILD exists, otherwise skip
[ -f "${PKG}/PKGBUILD" ] || { echo "${PKG} does not contain a PKGBUILD file - skipping this directory!"; continue; }
cd "${PKG}" || exit
aur build -c || exit
# makepkg -Ccsr || exit
cd ../.. || exit
done
# push remote repository
arch-repo-push-new || exit