1 # Maintainer: kang <kang@insecure.ws>
2 # Based on Det's thunderbird-nightly
4 pkgname=thunderbird-aurora
7 pkgdesc="Standalone Mail/News reader - Aurora channel"
9 license=('MPL' 'GPL' 'LGPL')
10 url="http://www.mozilla.org/thunderbird"
11 depends=('alsa-lib' 'cairo' 'dbus-glib' 'desktop-file-utils' 'fontconfig' 'freetype2' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libjpeg' 'libmng' 'libpng' 'libvpx' 'libxt' 'mozilla-common' 'nspr' 'nss' 'shared-mime-info' 'sqlite3' 'startup-notification')
12 optdepends=('libcanberra: for sound support')
13 provides=("thunderbird=$pkgver")
14 install=$pkgname.install
15 source=(http://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-aurora/thunderbird-$pkgver.en-US.linux-$CARCH.tar.bz2
17 sha512sums=(`wget ${source/ta*}checksums -qO - | grep bz | cut -d " " -f1`
18 '0d835cca27c7cc320b29005c52b3a69e4a03d755be4a8946d3c8c36c734c231b5c67acb45ad0535dc95633776691b4536776e1f9dca5507adb5a538a2a2a5234')
21 mkdir -p "$pkgdir"/{usr/bin,opt}
22 cp -a thunderbird "$pkgdir/opt/$pkgname"
23 ln -s /opt/$pkgname/thunderbird "$pkgdir/usr/bin/$pkgname"
24 for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
25 install -Dm644 thunderbird/chrome/icons/default/default${i/x*/}.png "$pkgdir/usr/share/icons/hicolor/${i}/apps/$pkgname.png"
27 install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
28 rm -rf "$pkgdir/opt/$pkgname/dictionaries"
29 ln -sf /usr/share/hunspell "$pkgdir/opt/$pkgname/dictionaries"