summaryrefslogtreecommitdiff
path: root/pcr/icecat-theme-gnome-tweak/PKGBUILD
blob: 9d6b213a00db020b8e0292032ad0e7090464c3ad (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
# $Id: PKGBUILD 171820 2016-04-25 17:37:34Z muflone $
# Maintainer (Arch): Muflone http://www.muflone.com/contacts/english/
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Maintainer: André Silva <emulatorman@hyperbola.info>
# Contributor: Daniel Milewski <niitotantei@riseup.net>
# Contributor: Isaac David <isacdaavid () isacdaavid!info>

pkgname=icecat-theme-gnome-tweak
_pkgname=firefox-gnome
pkgver=38.1
pkgrel=1
pkgdesc="IceCat extension for customizing the GNOME 3 theme"
url="https://addons.mozilla.org/en-us/firefox/addon/gnome-theme-tweak/"
arch=('any')
license=('MPL')
depends=("icecat-theme-gnome")
replaces=('icecat-theme-adwaita')
conflicts=('icecat-theme-adwaita')
source=("https://addons.cdn.mozilla.net/user-media/addons/458932/gnome_theme_tweak-${pkgver}-fx-linux.xpi")
sha256sums=('cc664a1e80b587753ed9050495dafff685bfcd41c57cb81ab617fa960a4d6839')

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_theme_tweak-${pkgver}-fx-linux.xpi" "${pkgdir}/usr/lib/icecat/browser/extensions/${_emid}.xpi"
}