# Maintainer: jc_gargma # Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor: Aqua-sama # Contributor (Arch): Ionut Biru # Contributor (Arch): Jakub Schmidtke # # I maintain this because: # Arch version uses eme # Arch version uses git # Arch version uses python2 # Arch version doesn't use alsa # Arch version requires signed addons # Arch version doesn't remove system addons # Arch version lacks privacy and security by default # Arch version enables debug symbols pkgname=firefox pkgver=64.0.2 bz2ver=$(echo $pkgver | sed 's/\./_/g') pkgrel=1 pkgdesc="Standalone web browser from mozilla.org" arch=(x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/firefox/" depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib ffmpeg nss ttf-font alsa-lib sqlite libvpx icu) makedepends=(unzip zip diffutils python-setuptools yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust clang llvm gtk2 python nodejs python-psutil cbindgen) optdepends=('networkmanager: Location detection via available WiFi networks' 'libnotify: Notification integration' 'speech-dispatcher: Text-to-Speech' 'hunspell-en_CA: Spell checking, Canadian English') options=(!emptydirs !makeflags) source=(firefox-$pkgver.tar.bz2::https://hg.mozilla.org/releases/mozilla-release/archive/FIREFOX_${bz2ver}_RELEASE.tar.bz2 $pkgname.desktop firefox-symbolic.svg vendor.js moz.configure.diff package-manifest.diff) sha256sums=('e86c6354cd74e734ec1f12bdfda77c4614aa3d4fe3b14264f4b817e5dc7418d9' '677e1bde4c6b3cff114345c211805c7c43085038ca0505718a11e96432e9811a' '9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797' '23104566d3497b0998f8fe3ad2a4c78b3389520da5bdd27b7176db7eb82e9d95' 'ad8a270e1b2affb098440f82517c3952207b28ebf604fef695dad3e29a5ba30e' '02f9b14dc547fa059112e693aece6d6f416708d8f00f1b1d825b8f0692ac72a3') prepare() { # mkdir mozbuild cd mozilla-release-FIREFOX_${bz2ver}_RELEASE cat >$srcdir/mozilla-release-FIREFOX_${bz2ver}_RELEASE/.mozconfig <$srcdir/mozilla-release-FIREFOX_${bz2ver}_RELEASE/build/mozconfig.common.override <