mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 06:57:16 +08:00
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=opera
|
|
pkgver=12.14
|
|
_buildver=1738
|
|
pkgrel=1
|
|
pkgdesc="A fast and secure web browser and Internet suite."
|
|
url="http://www.opera.com/browser/"
|
|
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)
|
|
license=('custom:opera')
|
|
categories=('network')
|
|
arch=('x86_64')
|
|
|
|
source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/opera-${pkgver}-${_buildver}.${arch}.linux.tar.xz)
|
|
md5sums=('8a9f849f24e78a2360f6780b9917471b')
|
|
|
|
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"
|
|
}
|