summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-01 12:13:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-01 12:14:03 -0300
commite1ca40b3c48d38722b6c0a05418e9a953fd98988 (patch)
treed9c7d2ab67aaa40c2d8e6602bd01b19fda6855e8
parent1c5b6eadf89d6a48ec86a7007c0a0123635d5d73 (diff)
iceweasel-theme-adwaita-38.1-1.2: add firefox-theme-adwaita to replaces array and fix for wrong version number
-rw-r--r--libre/iceweasel-theme-adwaita/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/libre/iceweasel-theme-adwaita/PKGBUILD b/libre/iceweasel-theme-adwaita/PKGBUILD
index 6fb7e8992..a6c8de182 100644
--- a/libre/iceweasel-theme-adwaita/PKGBUILD
+++ b/libre/iceweasel-theme-adwaita/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id$
# 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>
# Contributor: Daniel Milewski <niitotantei@riseup.net>
+# Contributor: André Silva <emulatorman@parabola.nu>
pkgname=iceweasel-theme-adwaita
pkgver=38.1
-pkgrel=1.1
+pkgrel=1.2
pkgdesc="Adwaita theme for Iceweasel (Matches the default Gnome Shell theme)"
url="https://addons.mozilla.org/en-US/firefox/addon/adwaita/"
arch=('any')
license=('MPL')
depends=("iceweasel")
makedepends=('unzip')
+replaces=('firefox-theme-adwaita')
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() {