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