[arch-commits] Commit in opera/repos (16 files)

Ike Devolder idevolder at archlinux.org
Fri Mar 24 19:36:04 UTC 2017


    Date: Friday, March 24, 2017 @ 19:36:03
  Author: idevolder
Revision: 218678

archrelease: copy trunk to community-i686, community-x86_64

Added:
  opera/repos/community-i686/PKGBUILD
    (from rev 218677, opera/trunk/PKGBUILD)
  opera/repos/community-i686/default
    (from rev 218677, opera/trunk/default)
  opera/repos/community-i686/opera
    (from rev 218677, opera/trunk/opera)
  opera/repos/community-i686/opera.install
    (from rev 218677, opera/trunk/opera.install)
  opera/repos/community-x86_64/PKGBUILD
    (from rev 218677, opera/trunk/PKGBUILD)
  opera/repos/community-x86_64/default
    (from rev 218677, opera/trunk/default)
  opera/repos/community-x86_64/opera
    (from rev 218677, opera/trunk/opera)
  opera/repos/community-x86_64/opera.install
    (from rev 218677, opera/trunk/opera.install)
Deleted:
  opera/repos/community-i686/PKGBUILD
  opera/repos/community-i686/default
  opera/repos/community-i686/opera
  opera/repos/community-i686/opera.install
  opera/repos/community-x86_64/PKGBUILD
  opera/repos/community-x86_64/default
  opera/repos/community-x86_64/opera
  opera/repos/community-x86_64/opera.install

--------------------------------+
 /PKGBUILD                      |  138 +++++++++++++++++++++++++++++++++++++++
 /default                       |    8 ++
 /opera                         |   26 +++++++
 /opera.install                 |   78 ++++++++++++++++++++++
 community-i686/PKGBUILD        |   69 -------------------
 community-i686/default         |    4 -
 community-i686/opera           |   13 ---
 community-i686/opera.install   |   39 -----------
 community-x86_64/PKGBUILD      |   69 -------------------
 community-x86_64/default       |    4 -
 community-x86_64/opera         |   13 ---
 community-x86_64/opera.install |   39 -----------
 12 files changed, 250 insertions(+), 250 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-i686/PKGBUILD	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,69 +0,0 @@
-# $Id$
-# vim:set ft=sh:
-# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
-# Contributor: Bartłomiej Piotrowski <barthalion at gmail.com>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: ruario <ruario AT opera DOT com>
-# Contributor: Daniel Isenmann <daniel AT archlinux DOT org>
-# Contributor: dorphell <dorphell AT archlinux DOT org>
-# Contributor: Sigitas Mazaliauskas <sigis AT gmail DOT com>
-# Contributor: eworm
-
-pkgname=opera
-pkgver=43.0.2442.1144
-pkgrel=1
-pkgdesc="A fast and secure web browser"
-url="http://www.opera.com/"
-options=(!strip !zipman)
-license=('custom:opera')
-backup=("etc/$pkgname/default")
-arch=('i686' 'x86_64')
-depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'alsa-lib' 'nss' 'ttf-font' 'libnotify' 'hicolor-icon-theme')
-optdepends=(
-    'curl: opera crash reporter and autoupdate checker'
-    'opera-ffmpeg-codecs: playback of proprietary video/audio'
-    'upower: opera battery save'
-)
-source=(
-    "opera"
-    "default"
-)
-source_i686=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_i386.deb")
-source_x86_64=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_amd64.deb")
-sha256sums=('508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5'
-            '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027')
-sha256sums_i686=('332f44bbcbad1e561549f9c6648f2d925b88a632b04a8ab02f13f0b6b1c86d4a')
-sha256sums_x86_64=('65b6ecd12d7e3d72931930f9b7362b25807559e84a67bc90f8980db76f898256')
-
-prepare() {
-    sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera"
-    sed -e "s/%operabin%/$pkgname\/$pkgname/g" \
-        -i "$srcdir/opera"
-}
-
-package() {
-    tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/"
-
-    # get rid of the extra subfolder {i386,x86_64}-linux-gnu
-    (
-        cd "$pkgdir/usr/lib/"*-linux-gnu/
-        mv "$pkgname" ../
-    )
-    rm -rf "$pkgdir/usr/lib/"*-linux-gnu
-
-    # suid opera_sandbox
-    chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox"
-
-    # install default options
-    install -Dm644 "$srcdir/default" "$pkgdir/etc/$pkgname/default"
-
-    # install opera wrapper
-    rm "$pkgdir/usr/bin/$pkgname"
-    install -Dm755 "$srcdir/opera" "$pkgdir/usr/bin/$pkgname"
-
-    # license
-    install -Dm644 \
-        "$pkgdir/usr/share/doc/${pkgname}-stable/copyright" \
-        "$pkgdir/usr/share/licenses/$pkgname/copyright"
-}
-

Copied: opera/repos/community-i686/PKGBUILD (from rev 218677, opera/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,69 @@
+# $Id$
+# vim:set ft=sh:
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: ruario <ruario AT opera DOT com>
+# Contributor: Daniel Isenmann <daniel AT archlinux DOT org>
+# Contributor: dorphell <dorphell AT archlinux DOT org>
+# Contributor: Sigitas Mazaliauskas <sigis AT gmail DOT com>
+# Contributor: eworm
+
+pkgname=opera
+pkgver=44.0.2510.857
+pkgrel=1
+pkgdesc="A fast and secure web browser"
+url="http://www.opera.com/"
+options=(!strip !zipman)
+license=('custom:opera')
+backup=("etc/$pkgname/default")
+arch=('i686' 'x86_64')
+depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'alsa-lib' 'nss' 'ttf-font' 'libnotify' 'hicolor-icon-theme')
+optdepends=(
+    'curl: opera crash reporter and autoupdate checker'
+    'opera-ffmpeg-codecs: playback of proprietary video/audio'
+    'upower: opera battery save'
+)
+source=(
+    "opera"
+    "default"
+)
+source_i686=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_i386.deb")
+source_x86_64=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_amd64.deb")
+sha256sums=('508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5'
+            '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027')
+sha256sums_i686=('665cb684c14b4025f6cac43ec084e39678472acd137fa7c0c9bafed515bc0995')
+sha256sums_x86_64=('d517a0969d5cd69de15c59bc0161d5230dc4065833cafe70634d5241ea4d50b9')
+
+prepare() {
+    sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera"
+    sed -e "s/%operabin%/$pkgname\/$pkgname/g" \
+        -i "$srcdir/opera"
+}
+
+package() {
+    tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/"
+
+    # get rid of the extra subfolder {i386,x86_64}-linux-gnu
+    (
+        cd "$pkgdir/usr/lib/"*-linux-gnu/
+        mv "$pkgname" ../
+    )
+    rm -rf "$pkgdir/usr/lib/"*-linux-gnu
+
+    # suid opera_sandbox
+    chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox"
+
+    # install default options
+    install -Dm644 "$srcdir/default" "$pkgdir/etc/$pkgname/default"
+
+    # install opera wrapper
+    rm "$pkgdir/usr/bin/$pkgname"
+    install -Dm755 "$srcdir/opera" "$pkgdir/usr/bin/$pkgname"
+
+    # license
+    install -Dm644 \
+        "$pkgdir/usr/share/doc/${pkgname}-stable/copyright" \
+        "$pkgdir/usr/share/licenses/$pkgname/copyright"
+}
+

Deleted: community-i686/default
===================================================================
--- community-i686/default	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-i686/default	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,4 +0,0 @@
-# Default settings for chromium. This file is sourced by /usr/bin/chromium
-
-# Options to pass to chromium
-OPERA_FLAGS=""

Copied: opera/repos/community-i686/default (from rev 218677, opera/trunk/default)
===================================================================
--- community-i686/default	                        (rev 0)
+++ community-i686/default	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,4 @@
+# Default settings for chromium. This file is sourced by /usr/bin/chromium
+
+# Options to pass to chromium
+OPERA_FLAGS=""

Deleted: community-i686/opera
===================================================================
--- community-i686/opera	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-i686/opera	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-# Allow users to override command-line options
-# Based on Gentoo's chromium package (and by extension, Debian's)
-if [[ -f /etc/%pkgname%/default ]]; then
-	. /etc/%pkgname%/default
-fi
-
-# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
-# default CHROMIUM_FLAGS (from /etc/chromium/default)
-OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS}
-
-exec /usr/lib/%operabin% $OPERA_FLAGS "$@"

Copied: opera/repos/community-i686/opera (from rev 218677, opera/trunk/opera)
===================================================================
--- community-i686/opera	                        (rev 0)
+++ community-i686/opera	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Allow users to override command-line options
+# Based on Gentoo's chromium package (and by extension, Debian's)
+if [[ -f /etc/%pkgname%/default ]]; then
+	. /etc/%pkgname%/default
+fi
+
+# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
+# default CHROMIUM_FLAGS (from /etc/chromium/default)
+OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS}
+
+exec /usr/lib/%operabin% $OPERA_FLAGS "$@"

Deleted: community-i686/opera.install
===================================================================
--- community-i686/opera.install	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-i686/opera.install	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,39 +0,0 @@
-available()
-{
-	command -v $1 >/dev/null 2>&1
-}
-
-integration() {
-
-	# Setup Menus
-	if available update-desktop-database
-	then
-		update-desktop-database -q /usr/share/applications
-	fi
-
-	# Setup MIME types
-	if available update-mime-database
-	then
-		update-mime-database /usr/share/mime >/dev/null
-	fi
-
-	# Setup Icons
-	touch -c /usr/share/icons/hicolor
-	if available gtk-update-icon-cache
-	then
-		gtk-update-icon-cache -tq /usr/share/icons/hicolor
-	fi
-
-}
-
-post_install() {
-	integration
-}
-
-post_upgrade() {
-	integration
-}
-
-post_remove() {
-	integration
-}

Copied: opera/repos/community-i686/opera.install (from rev 218677, opera/trunk/opera.install)
===================================================================
--- community-i686/opera.install	                        (rev 0)
+++ community-i686/opera.install	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,39 @@
+available()
+{
+	command -v $1 >/dev/null 2>&1
+}
+
+integration() {
+
+	# Setup Menus
+	if available update-desktop-database
+	then
+		update-desktop-database -q /usr/share/applications
+	fi
+
+	# Setup MIME types
+	if available update-mime-database
+	then
+		update-mime-database /usr/share/mime >/dev/null
+	fi
+
+	# Setup Icons
+	touch -c /usr/share/icons/hicolor
+	if available gtk-update-icon-cache
+	then
+		gtk-update-icon-cache -tq /usr/share/icons/hicolor
+	fi
+
+}
+
+post_install() {
+	integration
+}
+
+post_upgrade() {
+	integration
+}
+
+post_remove() {
+	integration
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-x86_64/PKGBUILD	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,69 +0,0 @@
-# $Id$
-# vim:set ft=sh:
-# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
-# Contributor: Bartłomiej Piotrowski <barthalion at gmail.com>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: ruario <ruario AT opera DOT com>
-# Contributor: Daniel Isenmann <daniel AT archlinux DOT org>
-# Contributor: dorphell <dorphell AT archlinux DOT org>
-# Contributor: Sigitas Mazaliauskas <sigis AT gmail DOT com>
-# Contributor: eworm
-
-pkgname=opera
-pkgver=43.0.2442.1144
-pkgrel=1
-pkgdesc="A fast and secure web browser"
-url="http://www.opera.com/"
-options=(!strip !zipman)
-license=('custom:opera')
-backup=("etc/$pkgname/default")
-arch=('i686' 'x86_64')
-depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'alsa-lib' 'nss' 'ttf-font' 'libnotify' 'hicolor-icon-theme')
-optdepends=(
-    'curl: opera crash reporter and autoupdate checker'
-    'opera-ffmpeg-codecs: playback of proprietary video/audio'
-    'upower: opera battery save'
-)
-source=(
-    "opera"
-    "default"
-)
-source_i686=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_i386.deb")
-source_x86_64=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_amd64.deb")
-sha256sums=('508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5'
-            '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027')
-sha256sums_i686=('332f44bbcbad1e561549f9c6648f2d925b88a632b04a8ab02f13f0b6b1c86d4a')
-sha256sums_x86_64=('65b6ecd12d7e3d72931930f9b7362b25807559e84a67bc90f8980db76f898256')
-
-prepare() {
-    sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera"
-    sed -e "s/%operabin%/$pkgname\/$pkgname/g" \
-        -i "$srcdir/opera"
-}
-
-package() {
-    tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/"
-
-    # get rid of the extra subfolder {i386,x86_64}-linux-gnu
-    (
-        cd "$pkgdir/usr/lib/"*-linux-gnu/
-        mv "$pkgname" ../
-    )
-    rm -rf "$pkgdir/usr/lib/"*-linux-gnu
-
-    # suid opera_sandbox
-    chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox"
-
-    # install default options
-    install -Dm644 "$srcdir/default" "$pkgdir/etc/$pkgname/default"
-
-    # install opera wrapper
-    rm "$pkgdir/usr/bin/$pkgname"
-    install -Dm755 "$srcdir/opera" "$pkgdir/usr/bin/$pkgname"
-
-    # license
-    install -Dm644 \
-        "$pkgdir/usr/share/doc/${pkgname}-stable/copyright" \
-        "$pkgdir/usr/share/licenses/$pkgname/copyright"
-}
-

Copied: opera/repos/community-x86_64/PKGBUILD (from rev 218677, opera/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,69 @@
+# $Id$
+# vim:set ft=sh:
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: ruario <ruario AT opera DOT com>
+# Contributor: Daniel Isenmann <daniel AT archlinux DOT org>
+# Contributor: dorphell <dorphell AT archlinux DOT org>
+# Contributor: Sigitas Mazaliauskas <sigis AT gmail DOT com>
+# Contributor: eworm
+
+pkgname=opera
+pkgver=44.0.2510.857
+pkgrel=1
+pkgdesc="A fast and secure web browser"
+url="http://www.opera.com/"
+options=(!strip !zipman)
+license=('custom:opera')
+backup=("etc/$pkgname/default")
+arch=('i686' 'x86_64')
+depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'alsa-lib' 'nss' 'ttf-font' 'libnotify' 'hicolor-icon-theme')
+optdepends=(
+    'curl: opera crash reporter and autoupdate checker'
+    'opera-ffmpeg-codecs: playback of proprietary video/audio'
+    'upower: opera battery save'
+)
+source=(
+    "opera"
+    "default"
+)
+source_i686=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_i386.deb")
+source_x86_64=("http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_amd64.deb")
+sha256sums=('508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5'
+            '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027')
+sha256sums_i686=('665cb684c14b4025f6cac43ec084e39678472acd137fa7c0c9bafed515bc0995')
+sha256sums_x86_64=('d517a0969d5cd69de15c59bc0161d5230dc4065833cafe70634d5241ea4d50b9')
+
+prepare() {
+    sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera"
+    sed -e "s/%operabin%/$pkgname\/$pkgname/g" \
+        -i "$srcdir/opera"
+}
+
+package() {
+    tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/"
+
+    # get rid of the extra subfolder {i386,x86_64}-linux-gnu
+    (
+        cd "$pkgdir/usr/lib/"*-linux-gnu/
+        mv "$pkgname" ../
+    )
+    rm -rf "$pkgdir/usr/lib/"*-linux-gnu
+
+    # suid opera_sandbox
+    chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox"
+
+    # install default options
+    install -Dm644 "$srcdir/default" "$pkgdir/etc/$pkgname/default"
+
+    # install opera wrapper
+    rm "$pkgdir/usr/bin/$pkgname"
+    install -Dm755 "$srcdir/opera" "$pkgdir/usr/bin/$pkgname"
+
+    # license
+    install -Dm644 \
+        "$pkgdir/usr/share/doc/${pkgname}-stable/copyright" \
+        "$pkgdir/usr/share/licenses/$pkgname/copyright"
+}
+

Deleted: community-x86_64/default
===================================================================
--- community-x86_64/default	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-x86_64/default	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,4 +0,0 @@
-# Default settings for chromium. This file is sourced by /usr/bin/chromium
-
-# Options to pass to chromium
-OPERA_FLAGS=""

Copied: opera/repos/community-x86_64/default (from rev 218677, opera/trunk/default)
===================================================================
--- community-x86_64/default	                        (rev 0)
+++ community-x86_64/default	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,4 @@
+# Default settings for chromium. This file is sourced by /usr/bin/chromium
+
+# Options to pass to chromium
+OPERA_FLAGS=""

Deleted: community-x86_64/opera
===================================================================
--- community-x86_64/opera	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-x86_64/opera	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-# Allow users to override command-line options
-# Based on Gentoo's chromium package (and by extension, Debian's)
-if [[ -f /etc/%pkgname%/default ]]; then
-	. /etc/%pkgname%/default
-fi
-
-# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
-# default CHROMIUM_FLAGS (from /etc/chromium/default)
-OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS}
-
-exec /usr/lib/%operabin% $OPERA_FLAGS "$@"

Copied: opera/repos/community-x86_64/opera (from rev 218677, opera/trunk/opera)
===================================================================
--- community-x86_64/opera	                        (rev 0)
+++ community-x86_64/opera	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Allow users to override command-line options
+# Based on Gentoo's chromium package (and by extension, Debian's)
+if [[ -f /etc/%pkgname%/default ]]; then
+	. /etc/%pkgname%/default
+fi
+
+# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
+# default CHROMIUM_FLAGS (from /etc/chromium/default)
+OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS}
+
+exec /usr/lib/%operabin% $OPERA_FLAGS "$@"

Deleted: community-x86_64/opera.install
===================================================================
--- community-x86_64/opera.install	2017-03-24 19:35:47 UTC (rev 218677)
+++ community-x86_64/opera.install	2017-03-24 19:36:03 UTC (rev 218678)
@@ -1,39 +0,0 @@
-available()
-{
-	command -v $1 >/dev/null 2>&1
-}
-
-integration() {
-
-	# Setup Menus
-	if available update-desktop-database
-	then
-		update-desktop-database -q /usr/share/applications
-	fi
-
-	# Setup MIME types
-	if available update-mime-database
-	then
-		update-mime-database /usr/share/mime >/dev/null
-	fi
-
-	# Setup Icons
-	touch -c /usr/share/icons/hicolor
-	if available gtk-update-icon-cache
-	then
-		gtk-update-icon-cache -tq /usr/share/icons/hicolor
-	fi
-
-}
-
-post_install() {
-	integration
-}
-
-post_upgrade() {
-	integration
-}
-
-post_remove() {
-	integration
-}

Copied: opera/repos/community-x86_64/opera.install (from rev 218677, opera/trunk/opera.install)
===================================================================
--- community-x86_64/opera.install	                        (rev 0)
+++ community-x86_64/opera.install	2017-03-24 19:36:03 UTC (rev 218678)
@@ -0,0 +1,39 @@
+available()
+{
+	command -v $1 >/dev/null 2>&1
+}
+
+integration() {
+
+	# Setup Menus
+	if available update-desktop-database
+	then
+		update-desktop-database -q /usr/share/applications
+	fi
+
+	# Setup MIME types
+	if available update-mime-database
+	then
+		update-mime-database /usr/share/mime >/dev/null
+	fi
+
+	# Setup Icons
+	touch -c /usr/share/icons/hicolor
+	if available gtk-update-icon-cache
+	then
+		gtk-update-icon-cache -tq /usr/share/icons/hicolor
+	fi
+
+}
+
+post_install() {
+	integration
+}
+
+post_upgrade() {
+	integration
+}
+
+post_remove() {
+	integration
+}


More information about the arch-commits mailing list