blob: f99b9c58d21ccee3f84ddef8b942fb1ebe2bd550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Gu1ll0me <michaudg@gmail.com>
# Contributor: aimileus <me at aimileus dot nl>
# Contributor: Gui||aume <michaudg@gmail.com>
pkgname=firefox-ubuntu-bin
_pkgname=firefox
pkgver=68.0.1
pkgrel=1
_ubuntuver="$pkgver+build1-0ubuntu0.19.04.1_amd64"
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=('mozilla-common' 'libxt' 'startup-notification' 'mime-types'
'dbus-glib' 'hicolor-icon-theme'
'libvpx' 'icu' 'libevent' 'nss>=3.28.3' 'nspr>=4.10.6' 'hunspell'
'sqlite' 'libnotify' 'ffmpeg' 'gtk3'
# system av1
'dav1d' 'aom'
# system harfbuzz
'harfbuzz'
# system graphite
'graphite'
# system webp
'libwebp'
# system libevent
'libevent'
)
optdepends=('networkmanager: Location detection via available WiFi networks'
'speech-dispatcher: Text-to-Speech'
'pulseaudio: Audio support')
provides=('firefox' 'firefox-ubuntu')
conflicts=('firefox' 'firefox-ubuntu')
source=("http://archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_$_ubuntuver.deb")
sha256sums=('cdb09a3dc87a60e2c4a8adade8f509bb4ac6b5dd674d1c7a38028df93452918c')
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/"
}
|