1 # Maintainer: speed145a/Jonny James <speed145a@aol.com>
2 # Contributor: Yuanhao Li<yuanhao.li@gmail.com>
4 pkgname=swiftweasel-amd64-pgo
8 pkgdesc="Mozilla Firefox optimized build for AMD 64-bit processors (64 bit version)."
10 url="http://swiftweasel.tuxfamily.org/"
11 license=('MPL' 'GPL' 'LGPL')
12 depends=(nss mozilla-common desktop-file-utils libidl2 libxcomposite)
13 conflicts=('swiftweasel-nocona-64' 'swiftweasel-prescott' 'swiftweasel-athlon-xp' \
14 'swiftweasel-pentium-4' 'swiftweasel-pentium-4m' 'swiftweasel-pentium-m' \
15 'swiftweasel-pentium-3' 'swiftweasel-athlon64')
18 source=(http://download.tuxfamily.org/swiftweasel/swiftweasel-35/${pkgver}-tar.gz/swiftweasel-${pkgver}_amd-pgo_x86_64-arch.tar.gz
20 swiftweasel-safe.desktop)
21 md5sums=('5f4d83122f2686d65c91c67191f0f378'
22 'e02fc1051ff31e05e45ec99eb38e16f6'
23 'eef46b6617fb0dab69037c122793c6fb')
27 install -dm755 $pkgdir/opt
28 cp -r $_pkgname $pkgdir/opt/$_pkgname
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 install -dm755 $pkgdir/usr/share/applications
37 install -dm755 $pkgdir/usr/share/pixmaps
39 install -m644 -D $srcdir/swiftweasel/icons/mozicon128.png \
40 $pkgdir/usr/share/pixmaps/swiftweasel.png || return 1
41 install -m644 $srcdir/swiftweasel.desktop \
42 $pkgdir/usr/share/applications/ || return 1
43 install -m644 $srcdir/swiftweasel-safe.desktop \
44 $pkgdir/usr/share/applications/ || return 1