updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / swiftweasel-intel64 / PKGBUILD
blob1b244931c16c47d9fc419ec9ac3ed81248bd3827
1 # Contributor: swiftscythe <swiftscythe@gmail.com>
3 pkgname=swiftweasel-intel64
4 _pkgname=swiftweasel
5 pkgver=3.5.6
6 pkgrel=1
7 pkgdesc="Mozilla Firefox optimized build for Intel 64-bit processors."
8 arch=('x86_64')
9 url="http://swiftweasel.sf.net/"
10 license=('MPL' 'GPL' 'LGPL')
11 depends=(nss mozilla-common desktop-file-utils libidl2 libxcomposite xulrunner nspr)
12 conflicts=('swiftweasel-nocona-64' 'swiftweasel-prescott' 'swiftweasel-athlon-xp'
13            'swiftweasel-pentium-4' 'swiftweasel-pentium-4m' 'swiftweasel-pentium-m'
14            'swiftweasel-pentium-3')
15 provides=('firefox')
16 source=(http://download.tuxfamily.org/swiftweasel/swiftweasel-35/3.5.6-tar.gz/swiftweasel-3.5.6_intel-pgo_x86_64-arch.tar.gz
17         swiftweasel.desktop
18         swiftweasel-safe.desktop)
19 md5sums=('da083e0c9a72f3540540bb266acb9668'
20          'b4d9ac75782934a4089962879f81f0ae'
21          '646f04a90c467add0f61908c6ad4c3aa')
23 build() {
24   cd $srcdir
25 #  mkdir $pkgdir/opt
26   install -dm755 $pkgdir/opt
27   cp -r $_pkgname $pkgdir/opt/$_pkgname
28 #  mkdir -p $pkgdir/usr/bin
29   install -dm755 $pkgdir/usr/bin
31   ## Fix error install.rdf
32   chmod -R 755 $pkgdir/opt/$_pkgname/extensions/*
34   ln -s /opt/$_pkgname/$_pkgname $pkgdir/usr/bin/$_pkgname
36 #  mkdir -p $pkgdir/usr/share/applications
37   install -dm755 $pkgdir/usr/share/applications
38 #  mkdir -p $pkgdir/usr/share/pixmaps
39   install -dm755 $pkgdir/usr/share/pixmaps
41   install -m644 -D $srcdir/swiftweasel/icons/mozicon128.png \
42         $pkgdir/usr/share/pixmaps/swiftweasel.png || return 1
43   install -m644 $srcdir/swiftweasel.desktop \
44         $pkgdir/usr/share/applications/ || return 1
45   install -m644 $srcdir/swiftweasel-safe.desktop \
46         $pkgdir/usr/share/applications/ || return 1