updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / bin32-swiftweasel-athlon64 / PKGBUILD
blob68f0c0bcc19f9c585964c5d11d60d8b0ae28768b
1 # Contributor: Kenzo Martins Matuzawa
3 pkgname=bin32-swiftweasel-athlon64
4 _pkgname=swiftweasel
5 _swiftver=_07-16-08_athlon64-32bit
6 pkgver=3.0.1
7 pkgrel=4
8 pkgdesc="optimized build of the Mozilla Firefox web browser for Linux."
9 arch=('x86_64')
10 url="http://swiftweasel.tuxfamily.org/"
11 depends=('desktop-file-utils' 'lib32-gtk2' 'lib32-libidl2' 'lib32-libxcomposite' 'lib32-libxdamage' 'lib32-libxt' 'lib32-nss' 'lib32-pcre' 'mozilla-common')
12 provides=("swiftweasel=$pkgver")
13 license=('GPL')
14 source=(http://downloads.sourceforge.net/swiftweasel/$_pkgname-$pkgver$_swiftver.tar.gz
15         swiftweasel.desktop
16         pango.modules
17         pangorc
18         swiftweasel.patch)
19 md5sums=('57aa7746d7fed74faf6662169fbf5d83'\
20          '7cae5f7cdce49ec732064e5a8ca488e4'\
21          '5f6dffa88820d572ebc325bbccebea97'\
22          'ed6827065cc2af4ed83c55a02de20bf7'\
23          'dcae3c0e7b41411772d331da46b10c56')
25 build() {
26   cd $startdir/src/swiftweasel
27   patch -p0 < $startdir/src/swiftweasel.patch
28   cd $startdir/src
30   mkdir $startdir/pkg/opt/
31   cp -r $_pkgname $startdir/pkg/opt/$_pkgname
32   mkdir -p $startdir/pkg/usr/bin
33   ln -s /opt/$_pkgname/$_pkgname $startdir/pkg/usr/bin/$_pkgname
35   mkdir -p $startdir/pkg/usr/share/applications
36   mkdir -p $startdir/pkg/usr/share/pixmaps
37   install -m644 $startdir/src/swiftweasel.desktop $startdir/pkg/usr/share/applications/
38   install -m644 $startdir/src/swiftweasel/icons/mozicon128.png $startdir/pkg/usr/share/pixmaps/swiftweasel.png
40   mkdir -p $startdir/pkg/etc/pango32
41   install -m644 $startdir/src/pango.modules $startdir/pkg/etc/pango32/
42   install -m644 $startdir/src/pangorc $startdir/pkg/etc/pango32/