summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/google-chrome/PKGBUILD18
-rw-r--r--abs/extra/google-chrome/__changelog2
-rw-r--r--abs/extra/google-chrome/google-chrome.install3
3 files changed, 12 insertions, 11 deletions
diff --git a/abs/extra/google-chrome/PKGBUILD b/abs/extra/google-chrome/PKGBUILD
index fd622e4..6859903 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=44.0.2403.155
+pkgver=45.0.2454.85
pkgrel=1
pkgdesc="An attempt at creating a safer, faster, and more stable browser (Stable Channel)"
arch=('i686' 'x86_64')
@@ -20,15 +20,23 @@ provides=('google-chrome' 'pepper-flash')
options=('!emptydirs' '!strip')
install=$pkgname.install
_channel=stable
-source=('eula_text.html')
+source=('google-chrome-stable'
+ 'eula_text.html')
source_i686=("google-chrome-${_channel}_${pkgver}_i386.deb::https://dl.google.com/linux/direct/google-chrome-${_channel}_current_i386.deb")
source_x86_64=("google-chrome-${_channel}_${pkgver}_amd64.deb::https://dl.google.com/linux/direct/google-chrome-${_channel}_current_amd64.deb")
+md5sums=('9c9bd494c7cc5c98feff767be140a853'
+ 'b7e752f549b215ac77f284b6486794b6')
+md5sums_i686=('2fc404c0fdd90c45acb5ed4d2cf38877')
+md5sums_x86_64=('25d88e62552920168e5390040cc062f5')
package() {
msg2 "Extracting the data.tar.lzma..."
bsdtar -xf data.tar.xz -C "$pkgdir/"
msg2 "Moving stuff in place..."
+ # Launcher
+ install -m755 google-chrome-$_channel "$pkgdir"/usr/bin/
+
# Icons
for i in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do
install -Dm644 "$pkgdir"/opt/google/chrome/product_logo_${i/x*}.png \
@@ -47,9 +55,6 @@ package() {
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
-
msg2 "Removing unnecessities (e.g. Debian Cron job)..."
rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome/cron/
rm "$pkgdir"/opt/google/chrome/product_logo_*.png
@@ -57,6 +62,3 @@ package() {
msg2 "Rename google-chrome-stable to google-chrome..."
mv "$pkgdir"/usr/bin/google-chrome-stable "$pkgdir"/usr/bin/google-chrome
}
-md5sums=('b7e752f549b215ac77f284b6486794b6')
-md5sums_i686=('f2f80fc6ab47fe11d9b55c5136726d30')
-md5sums_x86_64=('177d027b1c4a0f7d574113f3d4e765c9')
diff --git a/abs/extra/google-chrome/__changelog b/abs/extra/google-chrome/__changelog
index 289a6f2..672914a 100644
--- a/abs/extra/google-chrome/__changelog
+++ b/abs/extra/google-chrome/__changelog
@@ -1,5 +1,3 @@
Pull from ARU: https://aur.archlinux.org/packages/google-chrome/
-- PKGBUILD: add replaces chromium
- google-chrome.install: add symlink from /usr/bin/chromium to google-chrome so as not to break pkgs that use chromium
- PKGBUILD: Rename google-chrome-stable to google-chrome"
-- PKGBUILD: Add dep libcups
diff --git a/abs/extra/google-chrome/google-chrome.install b/abs/extra/google-chrome/google-chrome.install
index a33da15..541b400 100644
--- a/abs/extra/google-chrome/google-chrome.install
+++ b/abs/extra/google-chrome/google-chrome.install
@@ -15,7 +15,7 @@ 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
}
@@ -25,6 +25,7 @@ post_install() {
if [ ! -e /usr/bin/chromium ]; then
ln -s /usr/bin/google-chrome /usr/bin/chromium
fi
+ note "Custom flags should be put directly in: ~/.config/chrome-flags.conf"
}
post_upgrade() {