From a8b65038e639d4e8b5dfc5359365fd4351847d7f Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 20 Nov 2014 23:54:40 +0000
Subject: google-chrome: update to 39.0.2171.65

---
 abs/extra/google-chrome/PKGBUILD | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/abs/extra/google-chrome/PKGBUILD b/abs/extra/google-chrome/PKGBUILD
index a6ff092..c8f70c5 100644
--- a/abs/extra/google-chrome/PKGBUILD
+++ b/abs/extra/google-chrome/PKGBUILD
@@ -5,7 +5,7 @@
 # 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=38.0.2125.104
+pkgver=39.0.2171.65
 pkgrel=1
 pkgdesc="An attempt at creating a safer, faster, and more stable browser (Stable Channel)"
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ license=('custom:chrome')
 depends=('alsa-lib' 'desktop-file-utils' 'flac' 'gconf' 'gtk2' 'harfbuzz' 'harfbuzz-icu' 'hicolor-icon-theme'
          'icu' 'libcups' 'libpng' 'libxss' 'libxtst' 'nss' 'opus' 'snappy' 'speech-dispatcher' 'ttf-font' 'xdg-utils')
 optdepends=('kdebase-kdialog: needed for file dialogs in KDE'
-            'ttf-google-fonts-git')
+            'ttf-liberation: fix fonts for some PDFs')
 provides=("google-chrome=$pkgver")
 replaces=('chromium')
 options=('!emptydirs' '!strip')
@@ -24,9 +24,9 @@ _arch=amd64
 [[ $CARCH = i686 ]] && _arch=i386
 source=("google-chrome-${_channel}_${pkgver}_${_arch}.deb::https://dl.google.com/linux/direct/google-chrome-${_channel}_current_${_arch}.deb"
         'eula_text.html')
-md5sums=('a2b61a623da973f12e1cb18674b9fb93'
+md5sums=('7ad0ce6af9d5cb81b98178f446032d73'
          'b7e752f549b215ac77f284b6486794b6')
-[[ $CARCH = i686 ]] && md5sums[0]='84353f292685c20e19c3cd9a6d8712db'
+[[ $CARCH = i686 ]] && md5sums[0]='37bcc7abd2653adf90921612bf1835fd'
 
 package() {
   msg2 "Extracting the data.tar.lzma"
@@ -52,6 +52,9 @@ package() {
   _name=$(echo ${source/_*} | sed 's/.*/\u&/')
   sed -i "/Exec=/i\StartupWMClass=$_name" "$pkgdir"/usr/share/applications/google-chrome.desktop
 
+  msg2 "Fixing permissions of documentation folder"
+  chmod 755 "$pkgdir"/usr/share/doc/google-chrome-$_channel/
+
   msg2 "Adding support for CHROMIUM_USER_FLAGS"
   sed -i 's/ "$@"/"$CHROMIUM_USER_FLAGS" "$@"/' "$pkgdir"/opt/google/chrome/google-chrome
 
-- 
cgit v0.12

