# Maintainer: Felix Golatofski # Contributor: Det # Based on [extra]'s thunderbird: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/thunderbird pkgname=thunderbird-beta _pkgname=thunderbird _pkgver=79.0 pkgver=79.0b1 _major=${pkgver/[br]*} _build=${pkgver/*rc} pkgrel=1 pkgdesc="Standalone mail and news reader from mozilla.org - Bleeding edge version" arch=(x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/thunderbird/" depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib alsa-lib nss hunspell sqlite ttf-font icu) makedepends=(unzip zip diffutils python python2 yasm nasm mesa imake libpulse inetutils xorg-server-xvfb autoconf2.13 rust clang llvm gtk2 cbindgen nodejs) optdepends=('libcanberra: sound support') options=(!emptydirs !makeflags) provides=("thunderbird=$pkgver") conflicts=('thunderbird-beta-bin') install=$pkgname.install source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz{,.asc} thunderbird-beta.desktop) sha512sums=('ea1560dfdefd1ffe9efc9caa440394b52eb154cb11d345bcea829444c0c55a8ebc81cb2435ab92147ed0e9d74aa90a59f05c6c01df576e6b70eecc3841f80e3b' 'SKIP' 'cab681d5acf17dd8dabf732c0bb5f73fd0444796bb4fd82decdfa8764122513fd2f05c562cf9246eacac67ea84ae85a220f59d7eea7106e0b2f6fc16bc520dd4') validpgpkeys=(14F26682D0916CDD81E37B6D61B7B526D98F0353) # Mozilla Software Releases # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) # Note: These are for Arch Linux use ONLY. For your own distribution, please # get your own set of keys. Feel free to contact foutrelis@archlinux.org for # more information. _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM # Mozilla API keys (see https://location.services.mozilla.com/api) # Note: These are for Arch Linux use ONLY. For your own distribution, please # get your own set of keys. Feel free to contact heftig@archlinux.org for # more information. _mozilla_api_key=16674381-f021-49de-8622-3021c5942aff prepare() { cd $_pkgname-$_pkgver echo -n "$_google_api_key" >google-api-key echo -n "$_mozilla_api_key" >mozilla-api-key cat >.mozconfig <