[arch-commits] Commit in firefox-theme-adwaita/repos (2 files)

Fabio Castelli muflone at archlinux.org
Sun Mar 20 02:10:04 UTC 2016


    Date: Sunday, March 20, 2016 @ 03:10:03
  Author: muflone
Revision: 167667

archrelease: copy trunk to community-testing-any

Added:
  firefox-theme-adwaita/repos/community-testing-any/
  firefox-theme-adwaita/repos/community-testing-any/PKGBUILD
    (from rev 167666, firefox-theme-adwaita/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: firefox-theme-adwaita/repos/community-testing-any/PKGBUILD (from rev 167666, firefox-theme-adwaita/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2016-03-20 02:10:03 UTC (rev 167667)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Diego Principe <cdprincipe at at@gmail at dot@com>
+
+pkgname=firefox-theme-adwaita
+_pkgname=firefox-gnome
+pkgver=45.1
+pkgrel=1
+pkgdesc="Adwaita theme for Firefox (Matches the default GNOME Shell theme)"
+url="https://addons.mozilla.org/en-US/firefox/addon/adwaita/"
+arch=('any')
+license=('MPL')
+depends=("firefox")
+makedepends=('python2')
+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 all
+}
+
+package() {
+  cd "${_pkgname}-${pkgver}"
+  # Prepare destination folder
+  install -m 755 -d "${pkgdir}/usr/lib/firefox/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/firefox/browser/extensions/${_emid}.xpi"
+  # Install theme
+  _emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' theme/install.rdf.in)
+  install -m 644 "gnome-firefox-theme.xpi" "${pkgdir}/usr/lib/firefox/browser/extensions/${_emid}.xpi"
+}
+



More information about the arch-commits mailing list