updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / opera-ragnarok-labs / PKGBUILD
bloba88cf75ee74312fa25c504aae7859164c13f0851
1 # Maintainer: ruario 
2 pkgname=opera-ragnarok-labs
3 _bigrelease=11.50
4 _buildver=24581
5 pkgver=${_bigrelease}_${_buildver}
6 pkgrel=2
7 pkgdesc="A fast and secure web browser and Internet suite. Labs Ragnarök HTML5 parser version."
8 url="http://labs.opera.com/news/2011/02/22/"
9 depends=('gcc-libs' 'libxt' 'freetype2' 'libxext')
10 provides=('opera')
11 optdepends=('gtk2: GTK integration'
12             'kdebase-runtime: KDE4 integration'
13             'gstreamer0.10-base-plugins: HTML5 open codecs support'
14             'gstreamer0.10-good: HTML5 open codecs support'
15             'gstreamer0.10-ffmpeg: HTML5 not so open codecs support'
16             'gstreamer0.10-bad-plugins: HTML5 not so open codecs support')
17 install=opera-ragnarok-labs.install
18 options=(!strip !zipman)
19 license=('custom:opera')
20 arch=('i686' 'x86_64')
21 _arch=i386
22 [ "$CARCH" = "x86_64" ] && _arch=x86_64
23 source=(http://snapshot.opera.com/labs/ragnarok/Linux-FreeBSD/opera-${_bigrelease}-${_buildver}.${_arch}.linux.tar.bz2)
24 md5sums=('eae60759894e082e8e3665f46509265d')
25 [ "$CARCH" = "x86_64" ] && md5sums=('5b7cce3168929498a6e6eee102a17f88')
28 package() {
29         opera-${_bigrelease}-${_buildver}.${_arch}.linux/install --prefix /usr --suffix ragnarok-labs --repackage "${pkgdir}"/usr
30         install -D -m 644 "${pkgdir}"/usr/share/${pkgname}/defaults/license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt