Fix multiple package PKGBUILD
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-06-04 08:35:25 +02:00
parent 7d65de6784
commit 9202ab5896

View file

@ -5,7 +5,7 @@ build() {
makepkg --nodeps --nobuild --skippgpcheck --noconfirm
fi
makepkg --printsrcinfo > .SRCINFO
name=$(grep 'pkgname' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
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 ' ')
epoch=$(grep 'epoch' .SRCINFO | cut -d'=' -f2 | tr -d ' ')