[arch-commits] CVS update of extra/network/opera (PKGBUILD)

Tom Killian tom at archlinux.org
Sat Jan 19 22:14:43 UTC 2008


    Date: Saturday, January 19, 2008 @ 17:14:43
  Author: tom
    Path: /home/cvs-extra/extra/network/opera

Modified: PKGBUILD (1.44 -> 1.45)

moving 9.50b back to testing following qt4 migration


----------+
 PKGBUILD |   30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)


Index: extra/network/opera/PKGBUILD
diff -u extra/network/opera/PKGBUILD:1.44 extra/network/opera/PKGBUILD:1.45
--- extra/network/opera/PKGBUILD:1.44	Sat Jan 19 16:50:40 2008
+++ extra/network/opera/PKGBUILD	Sat Jan 19 17:14:43 2008
@@ -1,25 +1,31 @@
-# $Id: PKGBUILD,v 1.44 2008/01/19 21:50:40 tom Exp $
+# $Id: PKGBUILD,v 1.45 2008/01/19 22:14:43 tom Exp $
 # Maintainer: Tom Killian <tom at archlinux.org>
 # Contributor: dorphell <dorphell at archlinux.org>
 
 pkgname=opera
-pkgver=9.25
-pkgrel=2
+pkgver=9.50
+pkgrel=0.13
 pkgdesc="The Opera web browser"
 url="http://www.opera.com/"
-depends=(qt3)
+depends=(qt)
 license=('custom:opera')
-arch=('i686')
-source=(ftp://ftp.opera.com/pub/opera/linux/925/final/en/i386/shared/opera-9.25-20071214.6-shared-qt.i386-en.tar.bz2
-        opera.desktop)
-options=('force')
+arch=('i686' 'x86_64')
+source=(http://snapshot.opera.com/unix/snapshot-1737/intel-linux/opera-9.50-20080103.5-shared-qt.i386-1737.tar.bz2 opera.desktop)
+md5sums=('8fe628b8b27bd29a727721f675e104fb'
+         'f99bef1a9200abe5a5cda78665cddc84')
+[ "$CARCH" = "x86_64" ] && source=(http://snapshot.opera.com/unix/snapshot-1737/x86_64-linux/opera-9.50-20080103.2-shared-qt.x86_64-1737.tar.bz2
+ opera.desktop)
+[ "$CARCH" = "x86_64" ] && md5sums=('b8584d85347cc5095a4bc545c284778c'
+         'f99bef1a9200abe5a5cda78665cddc84')
 
 build() {
-   cd ${startdir}/src/opera-9.25-20071214.6-shared-qt.i386-en-687
-   sed 's|/usr/X11R6/lib/mozilla/plugins=1|/opt/mozilla/lib/plugins=1|' -i ini/pluginpath.ini || return 1
+if [ "$CARCH" = "x86_64" ]; then
+       cd ${startdir}/src/opera-9.50-20080103.2-shared-qt.x86_64-1737
+       sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1
+  else cd ${startdir}/src/opera-9.50-20080103.5-shared-qt.i386-1737
+       sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1
+fi
    ./install.sh DESTDIR=${startdir}/pkg
    install -D -m 644 ${startdir}/src/opera.desktop ${startdir}/pkg/usr/share/applications/opera.desktop
    install -D -m 644 LICENSE ${startdir}/pkg/usr/share/licenses/opera/license.txt
 }
-md5sums=('496adcd61d1f510b64009e49702ec21f'
-         'f99bef1a9200abe5a5cda78665cddc84')




More information about the arch-commits mailing list