This commit is contained in:
parent
223f7eaee5
commit
b1501bddd7
1 changed files with 2 additions and 1 deletions
3
build.sh
3
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}"
|
||||
|
|
Loading…
Add table
Reference in a new issue