Upgpkg: 56.0.2924.76

This commit is contained in:
Det 2017-01-26 07:15:20 +02:00
parent 3b78c8fff4
commit 79001ddeb2
3 changed files with 9 additions and 46 deletions

View file

@ -1,6 +1,6 @@
pkgbase = google-chrome pkgbase = google-chrome
pkgdesc = An attempt at creating a safer, faster, and more stable browser (Stable Channel) 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 pkgrel = 1
url = https://www.google.com/chrome url = https://www.google.com/chrome
install = google-chrome.install install = google-chrome.install
@ -29,14 +29,12 @@ pkgbase = google-chrome
optdepends = ttf-liberation: fix fonts for some PDFs optdepends = ttf-liberation: fix fonts for some PDFs
options = !emptydirs options = !emptydirs
options = !strip 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 = https://www.google.com/chrome/browser/privacy/eula_text.html
source = google-chrome-stable.sh source = google-chrome-stable.sh
source = StartupWMClass-and-GNOME3-context-menu.patch md5sums = 9bea32f92259df72f34b7d30804fa672
md5sums = b8549c835020ad31b81e1e8d00c46507
md5sums = SKIP md5sums = SKIP
md5sums = 99fa93d5e7fb5d622cef0f9621f3ffa3 md5sums = 99fa93d5e7fb5d622cef0f9621f3ffa3
md5sums = 19714f87c63cabfeb0ea8950c452a02b
pkgname = google-chrome pkgname = google-chrome

View file

@ -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 }' # 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 pkgname=google-chrome
pkgver=55.0.2883.87 pkgver=56.0.2924.76
pkgrel=1 pkgrel=1
pkgdesc="An attempt at creating a safer, faster, and more stable browser (Stable Channel)" pkgdesc="An attempt at creating a safer, faster, and more stable browser (Stable Channel)"
arch=('x86_64') arch=('x86_64')
@ -21,12 +21,10 @@ install=$pkgname.install
_channel=stable _channel=stable
source=("google-chrome-${_channel}_${pkgver}_amd64.deb::https://dl.google.com/linux/direct/google-chrome-${_channel}_current_amd64.deb" 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" "$url/browser/privacy/eula_text.html"
'google-chrome-stable.sh' 'google-chrome-stable.sh')
'StartupWMClass-and-GNOME3-context-menu.patch') md5sums=('9bea32f92259df72f34b7d30804fa672'
md5sums=('b8549c835020ad31b81e1e8d00c46507'
'SKIP' 'SKIP'
'99fa93d5e7fb5d622cef0f9621f3ffa3' '99fa93d5e7fb5d622cef0f9621f3ffa3')
'19714f87c63cabfeb0ea8950c452a02b')
package() { package() {
msg2 "Extracting the data.tar.xz..." msg2 "Extracting the data.tar.xz..."
@ -48,12 +46,8 @@ package() {
# License # License
install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html
#msg2 "Fixing Chrome icon resolution..." msg2 "Fixing Chrome icon resolution..."
#sed -i "/Exec=/i\StartupWMClass=Google-chrome" "$pkgdir"/usr/share/applications/google-chrome.desktop 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 "Removing Debian Cron job and duplicate product logos..." msg2 "Removing Debian Cron job and duplicate product logos..."
rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome/cron/ rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome/cron/

View file

@ -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