blob: 77e1ddb49b657787abbed10ebbd8633f05f9b06f (
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
|
# Maintainer: Simon Brulhart <simon@brulhart.me>
# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com>
pkgname=firefox-beta-bin-all-localizations
_mypkgn=firefox-beta
pkgdesc='Perl script for installing latest FF beta in the language of your choice'
url='http://www.mozilla.com/firefox/channel/'
pkgver=47.0
pkgrel=1
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL' 'GPL3')
depends=('gtk2' 'gtk3' 'mozilla-common' 'libxt' 'startup-notification' 'mime-types'
'dbus-glib' 'alsa-lib' 'desktop-file-utils' 'hicolor-icon-theme')
optdepends=('networkmanager: Location detection via available WiFi networks'
'ffmpeg: additional video and audio decoders'
'libpulse: PulseAudio audio driver')
makedepends=('perl-file-slurp' 'perl-lwp-protocol-https' 'perl-switch')
source=('firefox-beta-bin.desktop' 'firefox-beta-bin-safe.desktop' 'ff-downloader.pl')
build() {
perl ff-downloader.pl -v $pkgver
}
package() {
bsdtar -jxf firefox-${pkgver//rc*/}.tar.bz2
mkdir -p $pkgdir/usr/{lib,bin,share/{applications,pixmaps}}
cp -r firefox "${pkgdir}/usr/lib/${_mypkgn}"
ln -s /usr/lib/${_mypkgn}/firefox ${pkgdir}/usr/bin/firefox-beta
install -m644 {firefox-beta-bin.desktop,firefox-beta-bin-safe.desktop} ${pkgdir}/usr/share/applications/
install -m644 ${srcdir}/firefox/browser/icons/mozicon128.png ${pkgdir}/usr/share/pixmaps/${_mypkgn}-icon.png
}
md5sums=('09569434d20ceb6c7e6a267249f8ab48'
'6fc7dee182dd7cca644c9d8a5861cf62'
'dff58187eb9578a4f5611a0564945e96')
|