summaryrefslogtreecommitdiff
path: root/libre/iceweasel-theme-gnome-tweak/PKGBUILD
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2016-06-07 14:57:55 -0500
committerIsaac David <isacdaavid@isacdaavid.info>2016-06-07 14:57:55 -0500
commite91e35d2a2f9e3b7852ee23e4775b5f03886a0cd (patch)
tree7096ca4436c755000ba3d6dc78301c4fd64ef860 /libre/iceweasel-theme-gnome-tweak/PKGBUILD
parent20173e6537ca9ffc53dac5bea0d1d4706208df62 (diff)
downloadabslibre-e91e35d2a2f9e3b7852ee23e4775b5f03886a0cd.tar.gz
abslibre-e91e35d2a2f9e3b7852ee23e4775b5f03886a0cd.tar.bz2
abslibre-e91e35d2a2f9e3b7852ee23e4775b5f03886a0cd.zip
libre/iceweasel-theme-gnome{,-tweak}: update from iceweasel-theme-adwaita - Freedom issue #998 -> https://labs.parabola.nu/issues/998
Diffstat (limited to 'libre/iceweasel-theme-gnome-tweak/PKGBUILD')
-rw-r--r--libre/iceweasel-theme-gnome-tweak/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/iceweasel-theme-gnome-tweak/PKGBUILD b/libre/iceweasel-theme-gnome-tweak/PKGBUILD
new file mode 100644
index 000000000..bc357fa1d
--- /dev/null
+++ b/libre/iceweasel-theme-gnome-tweak/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 167666 2016-03-20 02:09:47Z 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=iceweasel-theme-gnome-tweak
+_pkgname=firefox-gnome
+pkgver=45.1
+pkgrel=2
+pkgdesc='Iceweasel extension for customizing the GNOME 3 theme, built from sources'
+url="https://addons.mozilla.org/en-us/firefox/addon/gnome-theme-tweak/"
+arch=('any')
+license=('MPL')
+depends=("iceweasel-theme-gnome")
+makedepends=('python2')
+replaces=('firefox-theme-adwaita' 'iceweasel-theme-adwaita' 'firefox-theme-gnome-tweak')
+conflicts=('firefox-theme-adwaita' 'iceweasel-theme-adwaita' 'firefox-theme-gnome-tweak')
+source=("${_pkgname}-${pkgver}.tar.gz"::"https://github.com/gnome-integration-team/${_pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('aa7f13d6d00e3801360b646ac4f704b96601f14741ec9a3765a89b6d41e3c1f3')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ python2 make-xpi.py --force-rebuild extension
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+ # Prepare destination folder
+ install -m 755 -d "${pkgdir}/usr/lib/iceweasel/browser/extensions"
+ # Install extension
+ _emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' extension/install.rdf.in)
+ install -m 644 "gnome-firefox-extension.xpi" "${pkgdir}/usr/lib/iceweasel/browser/extensions/${_emid}.xpi"
+}