summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-24 03:04:07 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-24 03:05:09 -0300
commitb81007de49778383a32a0240a1d7e7738efb44ba (patch)
treef774ba55b59530d87b84811084e85b58a5363040
parentf47706df0228f5670e6791f08c293c30ecf348c2 (diff)
downloadabslibre-b81007de49778383a32a0240a1d7e7738efb44ba.tar.gz
abslibre-b81007de49778383a32a0240a1d7e7738efb44ba.tar.bz2
abslibre-b81007de49778383a32a0240a1d7e7738efb44ba.zip
icedove-l10n-1:45.8.0.deb2-2: add system-wide OpenSearch plugins from mozilla-searchplugins - Privacy issue #1257 -> https://labs.parabola.nu/issues/1257
-rw-r--r--libre/icedove-l10n/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD
index 0e549cd99..7a89e7abf 100644
--- a/libre/icedove-l10n/PKGBUILD
+++ b/libre/icedove-l10n/PKGBUILD
@@ -6,13 +6,13 @@ _pkgbase=icedove
pkgbase=$_pkgbase-l10n
_pkgver=45.8.0
pkgver=45.8.0.deb2
-pkgrel=1
+pkgrel=2
pkgdesc="Language pack for Debian ${_pkgbase^}."
arch=('any')
url="http://packages.debian.org/sid/icedove"
license=('MPL' 'GPL')
depends=("$_pkgbase=$epoch:$pkgver")
-makedepends=('unzip' 'zip')
+makedepends=('unzip' 'zip' 'mozilla-searchplugins')
_languages=(
'ar "Arabic"'
@@ -104,8 +104,11 @@ _package() {
install -vDm644 $srcdir/brand.dtd $1/chrome/$1/locale/$1/branding
install -vDm644 $srcdir/brand.properties $1/chrome/$1/locale/$1/branding
install -vDm644 $srcdir/region.properties $1/chrome/$1/locale/$1/messenger-region
- rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win}
sed -i -e 's/thunderbird/icedove/' $1/install.rdf
+ rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win}
+ rm -rv $1/chrome/$1/locale/$1/messenger/searchplugins
+ cp -av /usr/lib/mozilla/searchplugins $1/chrome/$1/locale/$1/messenger
+
cd $1
zip -r langpack-$1@icedove.mozilla.org.xpi .
mv -v langpack-$1@icedove.mozilla.org.xpi $srcdir