diff --git a/.SRCINFO b/.SRCINFO index 5fdaed4..95c8b7e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = google-chrome pkgdesc = An attempt at creating a safer, faster, and more stable browser (Stable Channel) - pkgver = 55.0.2883.87 + pkgver = 56.0.2924.76 pkgrel = 1 url = https://www.google.com/chrome install = google-chrome.install @@ -29,14 +29,12 @@ pkgbase = google-chrome optdepends = ttf-liberation: fix fonts for some PDFs options = !emptydirs options = !strip - source = google-chrome-stable_55.0.2883.87_amd64.deb::https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + source = google-chrome-stable_56.0.2924.76_amd64.deb::https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb source = https://www.google.com/chrome/browser/privacy/eula_text.html source = google-chrome-stable.sh - source = StartupWMClass-and-GNOME3-context-menu.patch - md5sums = b8549c835020ad31b81e1e8d00c46507 + md5sums = 9bea32f92259df72f34b7d30804fa672 md5sums = SKIP md5sums = 99fa93d5e7fb5d622cef0f9621f3ffa3 - md5sums = 19714f87c63cabfeb0ea8950c452a02b pkgname = google-chrome diff --git a/PKGBUILD b/PKGBUILD index f345e0d..e03b3d8 100644 --- a/PKGBUILD +++ b/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=55.0.2883.87 +pkgver=56.0.2924.76 pkgrel=1 pkgdesc="An attempt at creating a safer, faster, and more stable browser (Stable Channel)" arch=('x86_64') @@ -21,12 +21,10 @@ 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' - 'StartupWMClass-and-GNOME3-context-menu.patch') -md5sums=('b8549c835020ad31b81e1e8d00c46507' + 'google-chrome-stable.sh') +md5sums=('9bea32f92259df72f34b7d30804fa672' 'SKIP' - '99fa93d5e7fb5d622cef0f9621f3ffa3' - '19714f87c63cabfeb0ea8950c452a02b') + '99fa93d5e7fb5d622cef0f9621f3ffa3') package() { msg2 "Extracting the data.tar.xz..." @@ -48,12 +46,8 @@ package() { # License install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html - #msg2 "Fixing Chrome icon resolution..." - #sed -i "/Exec=/i\StartupWMClass=Google-chrome" "$pkgdir"/usr/share/applications/google-chrome.desktop - - msg2 "Fixing Chrome icon resolution and GNOME 3 context menu..." - cd "$pkgdir" - patch -p0 -i "$srcdir"/StartupWMClass-and-GNOME3-context-menu.patch + msg2 "Fixing Chrome icon resolution..." + sed -i "/Exec=/i\StartupWMClass=Google-chrome" "$pkgdir"/usr/share/applications/google-chrome.desktop msg2 "Removing Debian Cron job and duplicate product logos..." rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome/cron/ diff --git a/StartupWMClass-and-GNOME3-context-menu.patch b/StartupWMClass-and-GNOME3-context-menu.patch deleted file mode 100644 index 98932c6..0000000 --- a/StartupWMClass-and-GNOME3-context-menu.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -ur usr/share/applications/google-chrome.desktop usr-patched/share/applications/google-chrome.desktop ---- usr/share/applications/google-chrome.desktop 2016-09-25 06:31:36.000000000 +0300 -+++ usr-patched/share/applications/google-chrome.desktop 2016-10-09 16:58:01.694853900 +0300 -@@ -105,6 +105,7 @@ - Comment[zh_CN]=访问互联网 - Comment[zh_HK]=連線到網際網路 - Comment[zh_TW]=連線到網際網路 -+StartupWMClass=Google-chrome - Exec=/usr/bin/google-chrome-stable %U - Terminal=false - Icon=google-chrome -@@ -112,6 +113,17 @@ - Categories=Network;WebBrowser; - MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; - X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito -+Actions=new-window;new-private-window; -+ -+[Desktop Action new-window] -+Name=New Window -+StartupWMClass=Google-chrome -+Exec=/usr/bin/google-chrome-stable -+ -+[Desktop Action new-private-window] -+Name=New Private Window -+StartupWMClass=Google-chrome -+Exec=/usr/bin/google-chrome-stable --incognito - - [NewWindow Shortcut Group] - Name=New Window