updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bin32-thunderbird3 / PKGBUILD
blob0e16d6ba12521a86a91d76f534281a108b58355f
1 # Maintainer: Jonny Gerold <jonny@fsk141.com>
3 pkgname=bin32-thunderbird3
4 _lang=en-US
5 pkgver=3.0
6 pkgrel=1
7 pkgdesc="Standalone Mail/News reader (installs besides thunderbird2)"
8 arch=('x86_64')
9 url="http://www.mozilla.org/projects/thunderbird"
10 license=('GPL')
11 depends=('gtk2>=2.10.0'  'libidl2' 'mozilla-common' 'nss>=3.11.4' 'lib32-libxt' 'libxt' 'lib32-gtk2' 'lib32-dbus-glib' 'lib32-libxdamage' 'lib32-libxss')
12 makedepends=('imagemagick')
13 provides=('thunderbird3')
14 source=(ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/linux-i686/$_lang/thunderbird-$pkgver.tar.bz2
15         thunderbird3.desktop)
17 md5sums=('f2a14133264d51f0fd5a690b4e7d814d'
18          'a5648e652d6f989f7b9e45c83f707910')
20 build() {
21   install -d $startdir/pkg/opt/mozilla \
22              $startdir/pkg/usr/bin \
23              $startdir/pkg/usr/share/{applications,pixmaps}
25   cp -r $startdir/src/thunderbird $startdir/pkg/opt/mozilla/thunderbird3
26   
27   # Remove common mozilla aclocal stuff, XULRunner has it
28   rm -rf $startdir/pkg/opt/mozilla/thunderbird3/share
29   rm -rf $startdir/pkg/opt/mozilla/thunderbird3/include
30   rm -rf $startdir/pkg/opt/mozilla/thunderbird3/pkgconfig
32   ln -sf /opt/mozilla/thunderbird3/thunderbird $startdir/pkg/usr/bin/thunderbird3
33   
34   install -m644 $startdir/src/thunderbird3.desktop $startdir/pkg/usr/share/applications/