diff options
Diffstat (limited to 'abs/extra-testing/opera/PKGBUILD')
-rw-r--r-- | abs/extra-testing/opera/PKGBUILD | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/abs/extra-testing/opera/PKGBUILD b/abs/extra-testing/opera/PKGBUILD deleted file mode 100644 index b7342f8..0000000 --- a/abs/extra-testing/opera/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# $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=2 -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 -} |