diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2016-06-07 14:57:55 -0500 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2016-06-07 14:57:55 -0500 |
commit | e91e35d2a2f9e3b7852ee23e4775b5f03886a0cd (patch) | |
tree | 7096ca4436c755000ba3d6dc78301c4fd64ef860 /libre/iceweasel-theme-gnome/PKGBUILD | |
parent | 20173e6537ca9ffc53dac5bea0d1d4706208df62 (diff) | |
download | abslibre-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/PKGBUILD')
-rw-r--r-- | libre/iceweasel-theme-gnome/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/iceweasel-theme-gnome/PKGBUILD b/libre/iceweasel-theme-gnome/PKGBUILD new file mode 100644 index 000000000..2c013b2ff --- /dev/null +++ b/libre/iceweasel-theme-gnome/PKGBUILD @@ -0,0 +1,37 @@ +# $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 +_pkgname=firefox-gnome +pkgver=45.1 +pkgrel=2 +pkgdesc='GNOME 3 theme for Iceweasel (Previously known as "Adwaita"), without nonfree firefox dependency' +url="https://addons.mozilla.org/en-US/firefox/addon/adwaita/" +arch=('any') +license=('MPL') +depends=("iceweasel") +makedepends=('python2') +replaces=('firefox-theme-gnome') +conflicts=('firefox-theme-gnome' 'iceweasel-theme-adwaita') +optdepends=('iceweasel-theme-gnome-tweak: GNOME theme customization') +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 theme +} + +package() { + cd "${_pkgname}-${pkgver}" + # Prepare destination folder + install -m 755 -d "${pkgdir}/usr/lib/iceweasel/browser/extensions" + # 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/iceweasel/browser/extensions/${_emid}.xpi" +} |