PKG=( clang lld lldb libc++ openmp libclc ) for packages in ${PKG[@]} do pushd /home/flarebird/pkgbuild/extra/${packages} makepkg -srcC --noconfirm || exit 1 popd pushd /home/flarebird/packages case ${packages} in *) sudo ./repoadd.sh extra ${packages}* || exit 1 ;; llvm) sudo ./repoadd.sh extra llvm-19.1.6-* || exit 1 sudo ./repoadd.sh extra llvm-libs* || exit 1 ;; libc++) sudo ./repoadd.sh extra libc++-* || exit 1 sudo ./repoadd.sh extra libc++abi* || exit 1 ;; esac popd done