desktop/opera/PKGBUILD
2013-07-04 21:32:15 +02:00

30 lines
1.1 KiB
Bash

#
# 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"
}