Created
November 22, 2009 18:59
-
-
Save badboy/240661 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id: PKGBUILD,v 1.16 2008/10/23 16:13:04 partition Exp $ | |
# Maintainer: Roman Kyrylych <roman@archlinux.org> | |
# Maintainer: Mateusz Herych <heniekk@gmail.com> | |
# Contributor: Teto_z <deianys@gmail.com> | |
pkgname=opera-bundled | |
pkgver=10.01 | |
pkgrel=5 | |
pkgdesc="The Opera web browser, with QT4 runtime" | |
arch=('i686' 'x86_64') | |
url="http://www.opera.com/" | |
license=('custom:opera') | |
depends=('qt' 'nas') | |
provides=('opera') | |
source=(ftp://ftp.opera.com/pub/opera/linux/1001/final/en/i386/opera-${pkgver}.gcc4-bundled-qt4.i386.tar.gz | |
opera.desktop | |
opera_logo48.png) | |
md5sums=('24eebc7ea0dd623c07b71508bf530581' | |
'14ec7b53d59893646ba4390d529e1043' | |
'a270c65b8d4f8e2e76439f417ea44265') | |
if [ "$CARCH" = "x86_64" ]; then | |
md5sums[0]='d9bbd1ea01d039716e9727bb824d8ea2' | |
source[0]="ftp://ftp.opera.com/pub/opera/linux/1001/final/en/x86_64/opera-${pkgver}.gcc4-bundled-qt4.x86_64.tar.gz" | |
fi | |
build() { | |
if [ "$CARCH" = "x86_64" ]; then | |
cd $srcdir/opera-${pkgver}-*.gcc4-bundled-qt4.x86_64 | |
else | |
cd $srcdir/opera-${pkgver}-*.gcc4-bundled-qt4.i386 | |
fi | |
./install.sh DESTDIR=$pkgdir | |
install -Dm644 $srcdir/opera.desktop $pkgdir/usr/share/applications/opera.desktop | |
install -Dm644 LICENSE $startdir/pkg/usr/share/licenses/opera/LICENSE | |
install -Dm644 $srcdir/opera_logo48.png $pkgdir/usr/share/opera/images/opera_logo48.png | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment