update pkgver
This commit is contained in:
parent
cb7bf38d4c
commit
35f9b684e0
1 changed files with 3 additions and 0 deletions
3
build.sh
3
build.sh
|
@ -1,6 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
if grep -c 'git+' PKGBUILD ; then
|
||||||
|
makepkg -s --nobuild --skippgpcheck --noconfirm
|
||||||
|
fi
|
||||||
makepkg --printsrcinfo > .SRCINFO
|
makepkg --printsrcinfo > .SRCINFO
|
||||||
name=$(grep 'pkgname' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
|
name=$(grep 'pkgname' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
|
||||||
ver=$(grep 'pkgver' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
|
ver=$(grep 'pkgver' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
|
||||||
|
|
Loading…
Add table
Reference in a new issue