fix: clean build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-03-20 17:37:42 +01:00
parent ef8583a618
commit b2e492ac7b

View file

@ -5,15 +5,6 @@
build() {
local upd=$1
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
fi
name=$(grep -m1 'pkgname' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
ver=$(grep 'pkgver' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
rel=$(grep 'pkgrel' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
@ -57,8 +48,8 @@ for d in */; do
update_github_tag "${repo}"
fi
fi
build true
update_pkg
build
fi
cd ..
done
@ -66,7 +57,7 @@ done
while read -r p; do
git clone https://aur.archlinux.org/"${p}".git || continue
cd "${p}" || continue
build false
build
cd ..
done <aur.txt