From 35f9b684e0a80db499c72e7d9734649a0df0a95b Mon Sep 17 00:00:00 2001 From: nyyu Date: Wed, 19 May 2021 13:26:30 +0200 Subject: [PATCH] update pkgver --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index dd676ad..3d94292 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,9 @@ #!/bin/bash build() { + if grep -c 'git+' PKGBUILD ; then + makepkg -s --nobuild --skippgpcheck --noconfirm + fi makepkg --printsrcinfo > .SRCINFO name=$(grep 'pkgname' .SRCINFO | cut -d'=' -f2 | tr -d ' ') ver=$(grep 'pkgver' .SRCINFO | cut -d'=' -f2 | tr -d ' ')