mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
18 lines
384 B
Bash
Executable File
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
|