1 2 3 4 5 6 7 8 9 10
dependencypackages=( 'vivaldi-snapshot-ffmpeg-codecs' ) chrome_version=$(bsdtar -xOf "$pkgrepo/pool/$pkgbase-$pkgver-$pkgrel-x86_64.pkg.tar.xz" | strings | grep '^[0-9]\{2,\}\.[0-9]\+\.[0-9]\{4,\}\+\.[0-9]\+$') pkgupdate=$(cat <<EOF update_pkgver="$chrome_version" EOF )