[arch-commits] Commit in firefox-theme-adwaita/repos/community-any (PKGBUILD PKGBUILD)
Fabio Castelli
muflone at archlinux.org
Sat Aug 22 19:27:36 UTC 2015
Date: Saturday, August 22, 2015 @ 21:27:36
Author: muflone
Revision: 138644
archrelease: copy trunk to community-any
Added:
firefox-theme-adwaita/repos/community-any/PKGBUILD
(from rev 138643, firefox-theme-adwaita/trunk/PKGBUILD)
Deleted:
firefox-theme-adwaita/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 35 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-22 19:27:15 UTC (rev 138643)
+++ PKGBUILD 2015-08-22 19:27:36 UTC (rev 138644)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Contributor: Diego Principe <cdprincipe at at@gmail at dot@com>
-
-pkgname=firefox-theme-adwaita
-pkgver=38.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=('unzip')
-source=("gnome-firefox-theme-${pkgver}.xpi"::"https://github.com/gnome-integration-team/firefox-gnome/releases/download/${pkgver}/gnome-firefox-theme.xpi")
-sha256sums=('af050237a8cddee0f9123f81a9df58b0b97e94f84059cc67225183cb3243a70e')
-noextract=("gnome-firefox-theme-${pkgver}.xpi")
-
-prepare() {
- unzip -qo "gnome-firefox-theme-${pkgver}.xpi" -d "${pkgname}-${pkgver}"
- # Fix for wrong version number
- # https://github.com/gnome-integration-team/firefox-gnome/issues/337
- cd "${pkgname}-${pkgver}"
- sed -i "s_\(<em:version>\)35.1\(</em:version>\)_\1${pkgver}\2_" "install.rdf"
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- # Find extension UUID
- _emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf)
- # Prepare destination folder
- _dstdir="${pkgdir}/usr/lib/firefox/browser/extensions/${_emid}"
- install -d "${_dstdir}"
- # Copy files
- cp -R * "${_dstdir}"
- # Restore standard permissions
- find "${pkgdir}" -type d -print0 | xargs --null chmod 0755
- find "${pkgdir}" -type f -print0 | xargs --null chmod 0644
-}
-
Copied: firefox-theme-adwaita/repos/community-any/PKGBUILD (from rev 138643, firefox-theme-adwaita/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-08-22 19:27:36 UTC (rev 138644)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Diego Principe <cdprincipe at at@gmail at dot@com>
+
+pkgname=firefox-theme-adwaita
+pkgver=40.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=('unzip')
+source=("gnome-firefox-theme-${pkgver}.xpi"::"https://github.com/gnome-integration-team/firefox-gnome/releases/download/${pkgver}/gnome-firefox-theme.xpi")
+sha256sums=('a87f3eb2687e912e47080caee34a4eb72970eb64e6b9583d504c73e9e6d56137')
+noextract=("gnome-firefox-theme-${pkgver}.xpi")
+
+prepare() {
+ unzip -qo "gnome-firefox-theme-${pkgver}.xpi" -d "${pkgname}-${pkgver}"
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ # Find extension UUID
+ _emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf)
+ # Prepare destination folder
+ _dstdir="${pkgdir}/usr/lib/firefox/browser/extensions/${_emid}"
+ install -d "${_dstdir}"
+ # Copy files
+ cp -R * "${_dstdir}"
+ # Restore standard permissions
+ find "${pkgdir}" -type d -print0 | xargs --null chmod 0755
+ find "${pkgdir}" -type f -print0 | xargs --null chmod 0644
+}
+
More information about the arch-commits
mailing list