Use yay instead of pacaur as auracle doesn't build on arm

This commit is contained in:
Kevin MacMartin 2020-07-12 23:20:09 -04:00
parent 2f9ccd6dee
commit baaf98b58e

View file

@ -153,10 +153,7 @@ function develversion_check() {
while read -r pkg; do while read -r pkg; do
if [[ -d "$package_rootdir/$pkg" ]]; then if [[ -d "$package_rootdir/$pkg" ]]; then
# Find the current pkgver() of the package in the AUR # Find the current pkgver() of the package in the AUR
package_version=$(pacaur -i "$pkg" \ package_version=$(yay -Sia "$pkg" | grep -e '^Version' | sed 's|^Version *: *||')
| sed -r 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' \
| grep -oE '^Version[^:]*: *[^ ]*' \
| sed 's|^[^:]*: ||;s|-[0-9]*$||')
pkgbuild_file="$package_rootdir/$pkg/PKGBUILD" pkgbuild_file="$package_rootdir/$pkg/PKGBUILD"
# Exit and skip this package if either its folder or the PKGBUILD it should contain are missing # Exit and skip this package if either its folder or the PKGBUILD it should contain are missing