This commit is contained in:
parent
111ec998f3
commit
cb4a756643
1 changed files with 3 additions and 3 deletions
6
build.sh
6
build.sh
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
name=$(grep 'pkgname=' PKGBUILD | cut -d'=' -f2)
|
name=$(grep '^pkgname=' PKGBUILD | cut -d'=' -f2)
|
||||||
ver=$(grep 'pkgver=' PKGBUILD | cut -d'=' -f2)
|
ver=$(grep '^pkgver=' PKGBUILD | cut -d'=' -f2)
|
||||||
rel=$(grep 'pkgrel=' PKGBUILD | cut -d'=' -f2)
|
rel=$(grep '^pkgrel=' PKGBUILD | cut -d'=' -f2)
|
||||||
|
|
||||||
if ! compgen -G "/repo/$name-$ver-$rel-*.pkg.tar.zst" ; then
|
if ! compgen -G "/repo/$name-$ver-$rel-*.pkg.tar.zst" ; then
|
||||||
if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then
|
if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue