1 # Contributor: Det <nimetonmaili at gmail a-dot com>
2 # Contributor: Aaron Hurt <ahurt@anbcs.com>
4 pkgname=thunderbird-branded-bin
7 pkgdesc="Standalone Mail/News reader - Branded binary version"
9 url="http://www.mozilla.org/projects/thunderbird"
10 license=('MPL' 'GPL2' 'LGPL2.1')
11 depends=('gtk2' 'gcc-libs' 'mozilla-common' 'nss' 'libxt' 'shared-mime-info' 'alsa-lib' 'dbus-glib' 'hunspell' 'sqlite3>=3.7.4')
12 optdepends=('libcanberra: for sound support')
13 provides=("thunderbird=${pkgver}")
14 conflicts=(thunderbird)
15 install=${pkgname}.install
16 source=(ftp://ftp.mozilla.org/pub/thunderbird/releases/${pkgver}/linux-i686/en-US/thunderbird-${pkgver}.tar.bz2
18 md5sums=(`wget ${source/li*}/MD5SUMS -qO - | grep en-US | grep bz | cut -d " " -f1`
19 'da7d555a512cdd60a49dd495b5e09bfb')
23 sh "sed -i 's|/usr/local/lib/thunderbird-${pkgver}|/usr/lib/thunderbird|' thunderbird/thunderbird"
26 install -dm755 "${pkgdir}"/usr/{bin,lib/thunderbird,share/{applications,pixmaps}}
28 # install the moz bin to bin path
29 install -m755 thunderbird/thunderbird "${pkgdir}/usr/bin"
31 # copy over the moz package content
32 cp -a thunderbird/* "${pkgdir}/usr/lib/thunderbird"
34 # install icon and desktop files
35 install -m644 thunderbird/chrome/icons/default/default48.png "${pkgdir}/usr/share/pixmaps/thunderbird.png"
36 install -m644 thunderbird.desktop "${pkgdir}/usr/share/applications"