summaryrefslogtreecommitdiff
path: root/unmaintained/icecat-theme-gnome-tweak/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/icecat-theme-gnome-tweak/PKGBUILD')
-rw-r--r--unmaintained/icecat-theme-gnome-tweak/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/unmaintained/icecat-theme-gnome-tweak/PKGBUILD b/unmaintained/icecat-theme-gnome-tweak/PKGBUILD
new file mode 100644
index 000000000..4992bd490
--- /dev/null
+++ b/unmaintained/icecat-theme-gnome-tweak/PKGBUILD
@@ -0,0 +1,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@parabola.nu>
+# 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"
+}