# Maintainer: Det # Based on [extra]'s thunderbird pkgname=thunderbird-beta-bin _pkgname=thunderbird-beta pkgver=82.0b3 _major=${pkgver/rc*} _build=${pkgver/*rc} pkgrel=1 pkgdesc="Standalone Mail/News reader - Bleeding edge binary version" arch=('x86_64') url="https://www.mozilla.org/thunderbird" license=('GPL' 'LGPL' 'MPL') depends=('dbus-glib' 'gtk3' 'libxt' 'nss' 'hunspell') optdepends=('hyphen: Hyphenation' 'libcanberra: Sound support') provides=("thunderbird=$pkgver") conflicts=('thunderbird-beta') install=$pkgname.install source=("https://ftp.mozilla.org/pub/thunderbird/releases/$pkgver/linux-x86_64/en-US/thunderbird-$pkgver.tar.bz2" 'thunderbird-beta-bin.desktop' 'vendor.js') sha512sums=('9aa43fbf96b5596bfcda97a535d4630879944b0f6c2b548265e121760a4f32432167d9af8867bdd74ad9f3845a227398ad9d45bd88cc327ee777b35145cc2e3b' '3fbafa3b7e58bc3ba29b7605a6d7e2ee24464608893bd5718c9990fde3619e32da9a828e52a5df821ababc4353eacd054bcad885c97927954f2cf24ab4a08936' 'aeb444784732267f1b1e87e6084a776f82a1912c4c2637d2cf1de1c135dd9d41d2ef66d2bd3f9cbd3a79fad32d17ea6e2968ba644d5f887cb66ba6c09a2098f5') # RC if [[ $_build = ? ]]; then source[0]="thunderbird-$pkgver.tar.bz2::https://ftp.mozilla.org/pub/thunderbird/candidates/$_major-candidates/build$_build/linux-x86_64/en-US/thunderbird-$_major.tar.bz2" fi package() { # Create directories msg2 "Creating directory structure..." install -d "$pkgdir"/usr/bin install -d "$pkgdir"/usr/share/applications install -d "$pkgdir"/opt msg2 "Moving stuff in place..." # Install cp -r thunderbird/ "$pkgdir"/opt/$_pkgname # Launchers ln -s /opt/$_pkgname/thunderbird "$pkgdir"/usr/bin/$_pkgname # breaks application as of 68.0b1 # ln -sf thunderbird "$pkgdir"/opt/$_pkgname/thunderbird-bin # vendor.js _vendorjs="$pkgdir/opt/$_pkgname/defaults/preferences/vendor.js" install -Dm644 /dev/stdin "$_vendorjs" <