From dd062fa23ef63401fdd543c30ebdab5765d5e7a8 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 16 Mar 2017 14:01:16 +0000
Subject: google-chrome: update to 57.0.2987.98

---
 abs/extra/google-chrome/PKGBUILD              | 18 +++++++++---------
 abs/extra/google-chrome/google-chrome.install | 10 ----------
 2 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/abs/extra/google-chrome/PKGBUILD b/abs/extra/google-chrome/PKGBUILD
index 732d627..dd9330f 100644
--- a/abs/extra/google-chrome/PKGBUILD
+++ b/abs/extra/google-chrome/PKGBUILD
@@ -5,23 +5,26 @@
 # or use: $ curl -s https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/other.xml.gz | gzip -df | awk -F\" '/pkgid/{ sub(".*-","",$4); print $4": "$10 }'
 
 pkgname=google-chrome
-pkgver=56.0.2924.87
+pkgver=57.0.2987.98
 pkgrel=1
 pkgdesc="An attempt at creating a safer, faster, and more stable browser (Stable Channel)"
 arch=('x86_64')
 url="https://www.google.com/chrome"
 license=('custom:chrome')
-depends=('alsa-lib' 'desktop-file-utils' 'flac' 'gconf' 'gtk2' 'harfbuzz' 'harfbuzz-icu' 'hicolor-icon-theme'
-         'icu' 'libpng' 'libxss' 'libxtst' 'nss' 'opus' 'snappy' 'speech-dispatcher' 'ttf-font' 'xdg-utils')
-optdepends=('kdebase-kdialog: needed for file dialogs in KDE'
-            'ttf-liberation: fix fonts for some PDFs')
-provides=('google-chrome' 'pepper-flash')
+depends=('alsa-lib' 'gconf' 'gtk2' 'libxss' 'libxtst' 'nss')
+optdepends=('kdialog: needed for file dialogs in KDE'
+            'gnome-keyring: for storing passwords in GNOME keyring'
+            'kwallet: for storing passwords in KWallet'
+            'ttf-liberation: fix fonts for some PDFs (CRBug #369991)')
 options=('!emptydirs' '!strip')
 install=$pkgname.install
 _channel=stable
 source=("google-chrome-${_channel}_${pkgver}_amd64.deb::https://dl.google.com/linux/direct/google-chrome-${_channel}_current_amd64.deb"
         "$url/browser/privacy/eula_text.html"
         'google-chrome-stable.sh')
+md5sums=('94fca0b7e96f2cce5d421ecebad04cbf'
+         'SKIP'
+         '99fa93d5e7fb5d622cef0f9621f3ffa3')
 
 package() {
   msg2 "Extracting the data.tar.xz..."
@@ -53,6 +56,3 @@ package() {
   msg2 "Rename google-chrome-stable to google-chrome..."
   mv "$pkgdir"/usr/bin/google-chrome-stable "$pkgdir"/usr/bin/google-chrome
 }
-md5sums=('c0143f6d5b5ffd291def19d2763c41fe'
-         'da54da9383ddffa44c5db45513239da2'
-         '99fa93d5e7fb5d622cef0f9621f3ffa3')
diff --git a/abs/extra/google-chrome/google-chrome.install b/abs/extra/google-chrome/google-chrome.install
index 541b400..dfcc259 100644
--- a/abs/extra/google-chrome/google-chrome.install
+++ b/abs/extra/google-chrome/google-chrome.install
@@ -12,16 +12,7 @@ bold="${all_off}$(tput bold)"
 blue="${bold}$(tput setaf 4)"
 yellow="${bold}$(tput setaf 3)"
 
-_update() {
-    msg_blue "Updating desktop MIME database..."
-    update-desktop-database -q
-    
-    msg_blue "Updating icon cache.."
-    xdg-icon-resource forceupdate --theme hicolor &>/dev/null
-}
-
 post_install() {
-    _update
     if [ ! -e /usr/bin/chromium ]; then
         ln -s /usr/bin/google-chrome /usr/bin/chromium
     fi
@@ -33,7 +24,6 @@ post_upgrade() {
 }
 
 post_remove() {
-    _update
     if [ -h /usr/bin/chromium ]; then
         rm /usr/bin/chromium
     fi
-- 
cgit v0.12

