summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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