Hooks! (Remove install file...)

This commit is contained in:
Christian Hesse 2016-04-27 16:52:51 +02:00
parent 8bfd8f0eae
commit 79a4a3d2ff
3 changed files with 1 additions and 23 deletions

View file

@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
# Thu Apr 21 09:55:28 UTC 2016
# Wed Apr 27 14:52:40 UTC 2016
pkgbase = opera-developer
pkgdesc = A fast and secure web browser and Internet suite - developer stream
pkgver = 38.0.2205.0
pkgrel = 1
url = http://www.opera.com/browser/
install = opera.install
arch = x86_64
arch = i686
license = custom:opera

View file

@ -11,7 +11,6 @@ depends=('alsa-lib' 'nss' 'gtk2' 'gconf' 'libxss' 'libxtst' 'desktop-file-utils'
optdepends=('curl: opera crash reporter and autoupdate checker'
'libnotify: native desktop notifications'
"${pkgname}-ffmpeg-codecs: support h.264 and mp3 codecs")
install=opera.install
options=(!strip)
backup=("etc/${pkgname}/default")
source=('opera'

View file

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