mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 00:27:15 +08:00
opera: removed from repo
This commit is contained in:
parent
242d2e7629
commit
e8d6d7f9d8
@ -1,29 +0,0 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
|
||||
pkgname=opera
|
||||
pkgver=12.16
|
||||
_buildver=1860
|
||||
pkgrel=1
|
||||
pkgdesc="A fast and secure web browser and Internet suite."
|
||||
arch=('x86_64')
|
||||
url="http://www.opera.com/browser/"
|
||||
license=('custom:opera')
|
||||
depends=('gcc-libs' 'libxt' 'freetype2' 'libxext')
|
||||
optdepends=('gtk2: GTK integration' \
|
||||
'kde-runtime: KDE4 integration' \
|
||||
'gstreamer0.10-base-plugins: HTML5 open codecs support'
|
||||
'gstreamer0.10-good: HTML5 open codecs support'
|
||||
'gstreamer0.10-ffmpeg: HTML5 not so open codecs support'
|
||||
'gstreamer0.10-bad-plugins: HTML5 not so open codecs support')
|
||||
install=${pkgname}.install
|
||||
options=(!strip)
|
||||
categories=('network')
|
||||
source=(http://get.geo.opera.com/pub/opera/linux/${pkgver/./}/opera-${pkgver}-${_buildver}.${arch}.linux.tar.xz)
|
||||
md5sums=('ead647964ace52f44ced98adbc568ae7')
|
||||
|
||||
package() {
|
||||
opera-${pkgver}-${_buildver}.${arch}.linux/install --prefix /usr --repackage "${pkgdir}/usr"
|
||||
install -D -m 644 "${pkgdir}/usr/share/${pkgname}/defaults/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
available()
|
||||
{
|
||||
which "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
post_install() {
|
||||
if available update-mime-database
|
||||
then
|
||||
update-mime-database /usr/share/mime >/dev/null
|
||||
fi
|
||||
|
||||
if available update-desktop-database
|
||||
then
|
||||
update-desktop-database -q /usr/share/applications
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user