arch/build-all.sh

18 lines
384 B
Bash
Raw Normal View History

2021-04-26 18:47:13 +02:00
#!/bin/bash
2021-04-26 18:50:23 +02:00
# build all packages
2021-04-26 18:47:13 +02:00
for PKG in pkg/*; do
2021-04-28 16:29:51 +02:00
# 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
2021-04-26 18:47:13 +02:00
done
2021-04-26 18:50:23 +02:00
# push remote repository
arch-repo-push-new || exit