From e1ca40b3c48d38722b6c0a05418e9a953fd98988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Wed, 1 Jul 2015 12:13:00 -0300 Subject: iceweasel-theme-adwaita-38.1-1.2: add firefox-theme-adwaita to replaces array and fix for wrong version number --- libre/iceweasel-theme-adwaita/PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libre') 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 # Maintainer: Omar Vega Ramos # Contributor: Daniel Milewski +# Contributor: André Silva 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_\(\)35.1\(\)_\1${pkgver}\2_" "install.rdf" } package() { -- cgit v1.2.3-2-g168b