1 2 3 4 5 6 7 8 9 10
dependencypackages=( 'opera-beta-ffmpeg-codecs' ) chrome_version=$(bsdtar -xOf "$pkgrepo/pool/$pkgbase-$pkgver-$pkgrel-x86_64.pkg.tar.xz" | strings | sed -nr 's/^Chrome\/([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/\1/p') pkgupdate=$(cat <<EOF update_pkgver="$chrome_version" EOF )