diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 22:09:50 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 22:09:50 (GMT) |
commit | 9822197e279e1ec6e3d95cb049281e232713e556 (patch) | |
tree | 636e5e6da31bf4ebb0ba5a83f504ac78c93596bf /abs/extra-testing/opera/PKGBUILD | |
parent | 437b752531d8c183f9d653f54272959b1c7273db (diff) | |
download | linhes_pkgbuild-9822197e279e1ec6e3d95cb049281e232713e556.zip linhes_pkgbuild-9822197e279e1ec6e3d95cb049281e232713e556.tar.gz linhes_pkgbuild-9822197e279e1ec6e3d95cb049281e232713e556.tar.bz2 |
Adding in opera, for those that do not care for firefox.
Diffstat (limited to 'abs/extra-testing/opera/PKGBUILD')
-rw-r--r-- | abs/extra-testing/opera/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra-testing/opera/PKGBUILD b/abs/extra-testing/opera/PKGBUILD new file mode 100644 index 0000000..f7f5134 --- /dev/null +++ b/abs/extra-testing/opera/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 28942 2009-03-03 08:21:13Z daniel $ +# Maintainer: Daniel Isenmann <daniel@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> + +pkgname=opera +pkgver=9.64 +pkgrel=1 +pkgdesc="The Opera web browser" +url="http://www.opera.com/" +depends=('qt') +license=('custom:opera') +arch=('i686' 'x86_64') +source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/final/en/i386/opera-${pkgver}.gcc4-qt4.i386.tar.bz2 opera.desktop opera_logo48.png opera-qt4-theme.patch) +md5sums=('bbfb1f77cc3091b3134b710b4719ba3e' + 'f99bef1a9200abe5a5cda78665cddc84' + 'a270c65b8d4f8e2e76439f417ea44265' + 'e977071ea5f09b36820367bf6e4dc3e1') + +[ "$CARCH" = "x86_64" ] && depends=('qt3') +[ "$CARCH" = "x86_64" ] && source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/final/en/x86_64/opera-${pkgver}.gcc4-shared-qt3.x86_64.tar.bz2 opera.desktop opera_logo48.png) +[ "$CARCH" = "x86_64" ] && md5sums=('b4ca665855639a72fc0c3ae47b751fae' + 'f99bef1a9200abe5a5cda78665cddc84' + 'a270c65b8d4f8e2e76439f417ea44265') +build() { +if [ "$CARCH" = "x86_64" ]; then + cd ${startdir}/src/opera-${pkgver}-2480.gcc4-shared-qt3.x86_64 + 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-${pkgver}-2480.gcc4-qt4.i386 + 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 + if [ "$CARCH" = "i686" ]; then + pushd ${startdir}/pkg/usr/bin + patch -Np0 -i ${startdir}/src/opera-qt4-theme.patch || return 1 + popd + fi + 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 + install -D -m 644 ${startdir}/src/opera_logo48.png ${startdir}/pkg/usr/share/opera/images/opera_48x48.png +} |