From b2e492ac7baf645390be0b57b3e6acd2c3fd734d Mon Sep 17 00:00:00 2001 From: nyyu Date: Mon, 20 Mar 2023 17:37:42 +0100 Subject: [PATCH] fix: clean build --- build.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/build.sh b/build.sh index f310433..0c4f553 100755 --- a/build.sh +++ b/build.sh @@ -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