# Maintainer: aimileus < $(echo YWltaWxpdXNAcHJvdG9ubWFpbC5jb20K | base64 -d) > pkgname=firefox-ubuntu-bin _pkgname=firefox pkgver=58.0.2 _ubuntuver="$pkgver+build1-0ubuntu1_amd64" pkgrel=1 pkgdesc="Standalone web browser from mozilla.org with Ubuntu patches (binary)" arch=("x86_64") url="https://www.mozilla.org/firefox/" license=('GPL' 'LGPL' 'MPL') depends=( 'dbus-glib' 'ffmpeg' 'gtk2' 'gtk3' 'hunspell' 'icu' 'libpulse' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'nss' 'sqlite' 'startup-notification' 'ttf-font' ) optdepends=( 'libnotify: Notification integration' 'networkmanager: Location detection via available WiFi networks' 'pulseaudio: Audio support' 'speech-dispatcher: Text-to-Speech' ) provides=('firefox' 'firefox-ubuntu') conflicts=('firefox' 'firefox-ubuntu') source=("http://archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_$_ubuntuver.deb") md5sums=('6c5227b9e6058b8ca3b58b7379b62d77') prepare() { # Don't extract copyright files, which are included in the licenses package tar -xvf data.tar.xz --exclude=usr/share/doc # UBUNTU_MENUPROXY=0 is a requirement for global menus # https://github.com/rilian-la-te/vala-panel-appmenu/issues/125 sed -i 's|Exec=firefox|Exec=env UBUNTU_MENUPROXY=0 firefox|' usr/share/applications/firefox.desktop } package() { cp -r etc "$pkgdir/" cp -r usr "$pkgdir/" }