summaryrefslogtreecommitdiff
path: root/libre/icecat-theme-gnome/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icecat-theme-gnome/PKGBUILD')
-rw-r--r--libre/icecat-theme-gnome/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/icecat-theme-gnome/PKGBUILD b/libre/icecat-theme-gnome/PKGBUILD
new file mode 100644
index 000000000..4e4e8ca00
--- /dev/null
+++ b/libre/icecat-theme-gnome/PKGBUILD
@@ -0,0 +1,27 @@
+# $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")
+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"
+}