summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2016-04-27 16:53:53 +0200
committerChristian Hesse2016-04-27 16:53:53 +0200
commitb3dfc5aea9b1db1fcfd4dad60c38426f8a421485 (patch)
tree03066eb1b34b05ca072585e2ac6996545ce33b83
parent0d78ccaefcdaebc4e776e2ff3230d086e2cbcdde (diff)
downloadaur-b3dfc5aea9b1db1fcfd4dad60c38426f8a421485.tar.gz
Hooks! (Remove install file...)
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD1
-rw-r--r--opera.install20
3 files changed, 2 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f6c9581556a3..a948fa6b26a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
+# Generated by mksrcinfo v8
+# Wed Apr 27 14:53:41 UTC 2016
pkgbase = opera-legacy
pkgdesc = Fast and secure web browser and Internet suite - legacy (pre blink) version
pkgver = 12.16.1860
pkgrel = 3
url = http://www.opera.com/browser/
- install = opera.install
arch = i686
arch = x86_64
license = custom:opera
diff --git a/PKGBUILD b/PKGBUILD
index 1dcc4aeaab85..d0e2995136ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,6 @@ depends=('gcc-libs' 'libxt' 'freetype2' 'libxext' 'glib2' 'ttf-font'
'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils')
optdepends=('gstreamer0.10-base-plugins: HTML5 Video support'
'gstreamer0.10-good: HTML5 Video support')
-install=opera.install
options=(!strip !zipman)
if [[ ${CARCH} == i686 ]]; then
diff --git a/opera.install b/opera.install
deleted file mode 100644
index 1190e6fd6261..000000000000
--- a/opera.install
+++ /dev/null
@@ -1,20 +0,0 @@
-available() {
- which "$1" >/dev/null 2>&1
-}
-
-post_install() {
- update-mime-database /usr/share/mime >/dev/null
- update-desktop-database -q /usr/share/applications
-
- if available gtk-update-icon-cache; then
- gtk-update-icon-cache -q /usr/share/icons/hicolor
- fi
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}