# Manteiner: py_crash # Based on kang's thunderbird-aurora pkgname=thunderbird-earlybird pkgver=19.0a2 pkgrel=latest pkgdesc="Standalone Mail/News reader - Earlybird channel" arch=('i686' 'x86_64') license=('MPL' 'GPL' 'LGPL') url="http://www.mozilla.org/thunderbird" 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') optdepends=('libcanberra: for sound support') provides=("thunderbird=$pkgver") replaces=("thunderbird-aurora") install=$pkgname.install source=(http://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-aurora/thunderbird-$pkgver.en-US.linux-$CARCH.tar.bz2 $pkgname.desktop $pkgname.install) sha512sums=(`wget ${source/ta*}checksums -qO - | grep bz | grep 512 | cut -d " " -f1` 'a36bb5710b9cd6637cf6f538808e2fba8c99fdd1d486446ff9ee8094ca30b5592c17b3e808cae1da7ff2b28123f54902ed4ee1501585a8dcfc54d581588638d3' 'a9d557884e3d5fac343124cfc4202425f6d4585527fc035a42c923043d34a628692ea2f3d68144e1c0b5a44b6bccfc000c3b50816abfa10f865fbe5470d05746') package() { mkdir -p "$pkgdir"/{usr/bin,opt} cp -a thunderbird "$pkgdir/opt/$pkgname" ln -s /opt/$pkgname/thunderbird "$pkgdir/usr/bin/$pkgname" for i in 16x16 22x22 24x24 32x32 48x48 256x256; do install -Dm644 thunderbird/chrome/icons/default/default${i/x*/}.png "$pkgdir/usr/share/icons/hicolor/${i}/apps/$pkgname.png" done install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" rm -rf "$pkgdir/opt/$pkgname/dictionaries" ln -sf /usr/share/hunspell "$pkgdir/opt/$pkgname/dictionaries" }