summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 397e995d9820e38827c4872b567f31364893005e (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
# Maintainer: superlex
# Contributor: Jorge Barroso <jorge.barroso.11@gmail.com

_debname=iceweasel
_debver=47.0.1
_debrel=1
_parrel=1
_parepoch=1
_parrepo=https://repo.parabola.nu/libre/os
 
pkgname=iceweasel-bin
pkgver=${_debver}.deb${_debrel}.par${_parrel}
pkgrel=3
pkgdesc="Web Browser based on Mozilla Firefox, with Debian patches (Parabola GNU/Linux-libre bin version)"
arch=('i686' 'x86_64')
url="https://wiki.parabola.nu/iceweasel"
license=(MPL GPL LGPL)
conflicts=("$_debname")
provides=("$_debname"="$_debver")

depends=(alsa-lib dbus-glib ffmpeg gtk2 gtk3 hunspell icu=57.1 libevent libvpx=1.5.0 libxt mime-types mozilla-common nss sqlite startup-notification ttf-font)

optdepends=('networkmanager: Location detection via available WiFi networks'
			      'upower: Battery API'
			      'ffmpeg: H264/AAC/MP3 decoding'
            'iceweasel-extension-archsearch: Iceweasel Arch search engines')

install=iceweasel.install
 
 if [ "$CARCH" = "x86_64" ]; then
    sha1sums=('c4ca77459994c10a4da1010cf3382b8bd25e2082')
 else
    sha1sums=('19e071371e78739ed3011bdad9c98303188d0e4a')
 fi
 
source=("${_parrepo}/${CARCH}/${_debname}-${_parepoch}:${_debver}.deb${_debrel}-${_parrel}-${CARCH}.pkg.tar.xz")

package(){
      msg2 "Installing Iceweasel..."
      cp -r "${srcdir}"/usr "$pkgdir"/
}
 
# vim:set ts=2 sw=2 et: