summaryrefslogtreecommitdiff
path: root/libre/icecat-theme-gnome/PKGBUILD
blob: 7d5e67284dab0d4ab534dbe7b89ceb2fac1f71e3 (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=icecat-theme-gnome
_pkgname=firefox-gnome
pkgver=38.1
pkgrel=1
pkgdesc='GNOME 3 theme for IceCat (Previously known as "Adwaita")'
url="https://addons.mozilla.org/en-us/firefox/addon/adwaita/"
arch=('any')
license=('MPL')
depends=("icecat")
replaces=('icecat-theme-adwaita')
conflicts=('icecat-theme-adwaita')
optdepends=('icecat-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/icecat/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/icecat/browser/extensions/${_emid}.xpi"
}