diff --git a/build.sh b/build.sh index cdc6a2b..4cb378e 100755 --- a/build.sh +++ b/build.sh @@ -9,6 +9,7 @@ build() { if grep -c 'git+' PKGBUILD >/dev/null && ! grep -c '#tag=' PKGBUILD >/dev/null; then makepkg --nodeps --nobuild --skippgpcheck --noconfirm + makepkg --printsrcinfo >.SRCINFO if [[ "${upd}" = true ]]; then update_pkg fi @@ -26,7 +27,7 @@ build() { fi if ! compgen -G "/repo/${name}-${epoch}${ver}-${rel}-*.pkg.tar.zst" >/dev/null; then - if makepkg -s --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --nocheck --noconfirm --sign; then + if makepkg -s --nodeps --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --nocheck --noconfirm --sign; then for pkg in *.pkg.tar.zst; do cp "${pkg}"{,.sig} /repo/ repo-add -R -s /repo/nyyu.db.tar.zst /repo/"${pkg}"