summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/iceweasel-libre/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index 29ac0baa3..221dc7ae5 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -292,9 +292,13 @@ package_locale() {
locale=$1
cd mozilla-release
lang=$(sed -n "/^%define L10N_LANG ${locale}/,+1p" debian/l10n/browser-l10n.control|sed -n 's/%define L10N_LANGUAGE\s\s*//p')
+
pkgdesc="${lang} language package for Iceweasel-libre"
depends=("iceweasel-libre=${pkgver}")
+ replaces=(iceweasel-i18n-$(lowercase "${locale}"))
+ conflicts=(iceweasel-i18n-$(lowercase "${locale}"))
+
extdir="$pkgdir"/usr/lib/iceweasel/extensions/
install -d "${extdir}"
install -m644 moz-objdir/dist/xpi/langpack-${locale}@${pkgbase}.mozilla.org.xpi "${extdir}"