update pkgver
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
nyyu 2021-05-19 13:26:30 +02:00
parent cb7bf38d4c
commit 35f9b684e0

View file

@ -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 ' ')