[arch-commits] Commit in chromium/trunk (PKGBUILD chromium.install)

2020-12-02 Thread Evangelos Foutras via arch-commits
Date: Wednesday, December 2, 2020 @ 20:06:09
  Author: foutrelis
Revision: 402825

Remove post_upgrade message from over 5 years ago

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/chromium.install

--+
 PKGBUILD |1 -
 chromium.install |   16 
 2 files changed, 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-02 19:57:04 UTC (rev 402824)
+++ PKGBUILD2020-12-02 20:06:09 UTC (rev 402825)
@@ -24,7 +24,6 @@
 'kdialog: needed for file dialogs in KDE'
 'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
 'kwallet: for storing passwords in KWallet on KDE desktops')
-install=chromium.install
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz

Deleted: chromium.install
===
--- chromium.install2020-12-02 19:57:04 UTC (rev 402824)
+++ chromium.install2020-12-02 20:06:09 UTC (rev 402825)
@@ -1,16 +0,0 @@
-post_upgrade() {
-  if (($(vercmp $2 42.0.2311.90-1) < 0)); then
-echo ':: This Chromium package no longer supports custom flags passed via 
the'
-echo '   /etc/chromium/default file (or any other files under 
/etc/chromium/).'
-echo
-echo '   The new /usr/bin/chromium launcher script will automatically 
detect'
-echo '   Pepper Flash (if installed) and pass the correct flags to 
Chromium.'
-echo
-echo '   If you need to pass extra command-line arguments to Chromium, you'
-echo '   can put them in a "chromium-flags.conf" file under $HOME/.config/'
-echo '   (or $XDG_CONFIG_HOME). Arguments are split on whitespace and 
shell'
-echo '   quoting rules apply but no further parsing is performed.'
-  fi
-}
-
-# vim:set ts=2 sw=2 et:


[arch-commits] Commit in chromium/trunk (PKGBUILD chromium.install)

2016-05-05 Thread Bartłomiej Piotrowski
Date: Thursday, May 5, 2016 @ 11:37:47
  Author: bpiotrowski
Revision: 266925

upgpkg: chromium 50.0.2661.94-1

new upstream release

Modified:
  chromium/trunk/PKGBUILD
  chromium/trunk/chromium.install

--+
 PKGBUILD |4 ++--
 chromium.install |   11 ---
 2 files changed, 2 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-05 07:41:29 UTC (rev 266924)
+++ PKGBUILD2016-05-05 09:37:47 UTC (rev 266925)
@@ -5,7 +5,7 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=50.0.2661.75
+pkgver=50.0.2661.94
 pkgrel=1
 _launcher_ver=3
 pkgdesc="The open-source project behind Google Chrome, an attempt at creating 
a safer, faster, and more stable browser"
@@ -28,7 +28,7 @@
 
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
 chromium.desktop
 chromium-widevine.patch)
-sha256sums=('c12d644e711ec85c800ab61a749d1f03ba7999e0c3cd20f8495a674d39a643da'
+sha256sums=('66f0516b076d42b3f00a5fa4ebf31304cb98973179b1cb2fecda8e0b186dba19'
 '8b01fb4efe58146279858a754d90b49e5a38c9a0b36a1f84cbb7d12f92b84c28'
 '028a748a5c275de9b8f776f97909f999a8583a4b77fd1cd600b4fc5c0c3e91e9'
 '4660344789c45c9b9e52cb6d86f7cb6edb297b39320d04f6947e5216d6e5f64c')

Modified: chromium.install
===
--- chromium.install2016-05-05 07:41:29 UTC (rev 266924)
+++ chromium.install2016-05-05 09:37:47 UTC (rev 266925)
@@ -1,8 +1,3 @@
-post_install() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-desktop-database -q
-}
-
 post_upgrade() {
   if (($(vercmp $2 42.0.2311.90-1) < 0)); then
 echo ':: This Chromium package no longer supports custom flags passed via 
the'
@@ -16,12 +11,6 @@
 echo '   (or $XDG_CONFIG_HOME). Arguments are split on whitespace and 
shell'
 echo '   quoting rules apply but no further parsing is performed.'
   fi
-
-  post_install
 }
 
-post_remove() {
-  post_install
-}
-
 # vim:set ts=2 sw=2 et:


[arch-commits] Commit in chromium/trunk (PKGBUILD chromium.install)

2011-05-07 Thread Evangelos Foutras
Date: Saturday, May 7, 2011 @ 12:44:47
  Author: foutrelis
Revision: 123036

upgpkg: chromium 11.0.696.65-1
New upstream release.

Modified:
  chromium/trunk/PKGBUILD
  chromium/trunk/chromium.install

--+
 PKGBUILD |  101 +++--
 chromium.install |2 -
 2 files changed, 53 insertions(+), 50 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-05-07 16:08:21 UTC (rev 123035)
+++ PKGBUILD2011-05-07 16:44:47 UTC (rev 123036)
@@ -1,49 +1,56 @@
 # $Id$
+# Maintainer: Evangelos Foutras foutre...@gmail.com
 # Contributor: Pierre Schmitz pie...@archlinux.de
 # Contributor: Jan heftig Steffens jan.steff...@gmail.com
-# Maintainer: Daniel J Griffiths ghost1...@archlinux.us
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
 
 pkgname=chromium
-pkgver=11.0.696.57
+pkgver=11.0.696.65
 pkgrel=1
-pkgdesc='The open-source project behind Google Chrome, an attempt at creating 
a safer, faster, and more stable browser.'
+pkgdesc=The open-source project behind Google Chrome, an attempt at creating 
a safer, faster, and more stable browser
 arch=('i686' 'x86_64')
-url='http://www.chromium.org/'
+url=http://www.chromium.org/;
 license=('BSD')
-depends=('gtk2' 'dbus-glib' 'nss' 'alsa-lib' 'xdg-utils' 'hicolor-icon-theme' 
'bzip2' 'libevent' 'libxss' 'libxtst' 'ttf-dejavu' 'desktop-file-utils')
+depends=('gtk2' 'dbus-glib' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent'
+ 'libxss' 'libxtst' 'ttf-dejavu' 'desktop-file-utils'
+ 'hicolor-icon-theme')
 makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring')
 provides=('chromium-browser')
 conflicts=('chromium-browser')
 install=chromium.install
-source=(http://build.chromium.org/buildbot/official/chromium-${pkgver}.tar.bz2;
-'chromium.desktop' 'chromium.sh' 'gcc-4.6.patch')
-md5sums=('f17a37a2d4a2f344f0a11288600e296c'
+source=(http://build.chromium.org/official/chromium-$pkgver.tar.bz2
+chromium.desktop
+chromium.sh
+gcc-4.6.patch)
+md5sums=('0d7b777cf0cc2fcc1517d99c38feea1c'
  '075c3c2fa5902e16b8547dd31d437191'
  '096a46ef386817988250d2d7bddd1b34'
  'ab7934b4a57206707cca69be0d18638e')
 
 build() {
-  cd ${srcdir}/chromium-${pkgver}
+  cd $srcdir/chromium-$pkgver
 
-  # patches to fix gcc 4.6 compilation from 
+  # Patches to fix gcc 4.6 compilation from
   # http://code.google.com/p/chromium/issues/detail?id=80071
   # http://code.google.com/p/chromium/issues/detail?id=70746
   # http://code.google.com/p/chromium/issues/detail?id=46411
-  patch -p0 -i ${srcdir}/gcc-4.6.patch
+  patch -Np0 -i $srcdir/gcc-4.6.patch
 
 ### Configure
 
-  echo 'Use python2 instead of python...'
-  find . -type f -exec \
-   sed -E 's#(/usr/bin/python)$#\12#g;s#(/usr/bin/python2)\.4$#\1#g' -i {} 
\;
+  # Use Python 2
+  find . -type f -exec sed -i -r \
+-e 's|/usr/bin/python$|\02|g' \
+-e 's|(/usr/bin/python2)\.4$|\1|g' \
+{} +
   # There are still a lot of relative calls which need a workaround
-  mkdir ${srcdir}/python2-path
-  ln -s /usr/bin/python2 ${srcdir}/python2-path/python
-  export PATH=${srcdir}/python2-path/:${PATH}
+  mkdir $srcdir/python2-path
+  ln -s /usr/bin/python2 $srcdir/python2-path/python
+  export PATH=$srcdir/python2-path:$PATH
 
-  # we need to disable system_ssl until next protocol negotiation support
-  # is available in our nss package
-  # see https://bugzilla.mozilla.org/show_bug.cgi?id=547312
+  # We need to disable system_ssl until next protocol negotiation support is
+  # available in our nss package.
+  # (See https://bugzilla.mozilla.org/show_bug.cgi?id=547312)
 
   build/gyp_chromium -f make build/all.gyp --depth=. \
 -Dgcc_version=45 \
@@ -51,7 +58,7 @@
 -Dwerror= \
 -Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
 -Dlinux_strip_binary=1 \
--Drelease_extra_cflags=${CFLAGS} \
+-Drelease_extra_cflags=$CFLAGS \
 -Dffmpeg_branding=Chrome \
 -Dproprietary_codecs=1 \
 -Duse_system_libjpeg=1 \
@@ -65,7 +72,7 @@
 -Duse_system_libevent=1 \
 -Duse_system_ssl=0 \
 -Duse_gconf=0 \
-$([ ${CARCH} == 'i686' ]  echo '-Ddisable_sse2=1')
+$([[ $CARCH == i686 ]]  echo '-Ddisable_sse2=1')
 
 ### Build
 
@@ -73,47 +80,43 @@
 }
 
 package() {
-  cd ${srcdir}/chromium-${pkgver}
+  cd $srcdir/chromium-$pkgver
 
-  install -m 0755 -D out/Release/chrome ${pkgdir}/usr/lib/chromium/chromium
+  install -D out/Release/chrome ${pkgdir}/usr/lib/chromium/chromium
 
-  install -m 4555 -o root -g root -D out/Release/chrome_sandbox \
-${pkgdir}/usr/lib/chromium/chromium-sandbox
+  install -Dm4755 -o root -g root out/Release/chrome_sandbox \
+$pkgdir/usr/lib/chromium/chromium-sandbox
 
-  install -m 0644 -D out/Release/chrome.pak \
-${pkgdir}/usr/lib/chromium/chrome.pak
+  install -Dm644 out/Release/chrome.pak $pkgdir/usr/lib/chromium/chrome.pak
 
-  install -m 0644