summaryrefslogtreecommitdiff
path: root/libre/iceweasel-theme-gnome/PKGBUILD
blob: 5c424e44154dec9c589382460d393310c8330353 (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
# $Id: PKGBUILD 171810 2016-04-25 17:30:31Z muflone $
# Maintainer (Arch): Muflone http://www.muflone.com/contacts/english/
# Contributor (Arch): Diego Principe <cdprincipe@at@gmail@dot@com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Daniel Milewski <niitotantei@riseup.net>
# Contributor: Isaac David <isacdaavid () isacdaavid!info>

pkgname=iceweasel-theme-gnome
_pkgname=firefox-gnome
pkgver=45.1
pkgrel=2.1
pkgdesc='GNOME 3 theme for Iceweasel (Previously known as "Adwaita")'
url="https://addons.mozilla.org/en-us/firefox/addon/adwaita/"
arch=('any')
license=('MPL')
depends=("iceweasel")
replaces=('firefox-theme-gnome' 'iceweasel-theme-adwaita')
conflicts=('firefox-theme-gnome' 'iceweasel-theme-adwaita')
optdepends=('iceweasel-theme-gnome-tweak: GNOME theme customization')
source=("https://addons.mozilla.org/firefox/downloads/file/410922/gnome_3-${pkgver}-fx-linux.xpi")
sha256sums=('d230a3cc20739696281d7bb5aa5bb395afce782d53a97ab5270278602e4cb274')

package() {
  install -m 755 -d "${pkgdir}/usr/lib/iceweasel/browser/extensions"
  _emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf)
  install -m 644 "gnome_3-${pkgver}-fx-linux.xpi" "${pkgdir}/usr/lib/iceweasel/browser/extensions/${_emid}.xpi"
}