summaryrefslogtreecommitdiff
path: root/libre/iceweasel-libre/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-01-12 18:21:40 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-12 18:21:40 -0500
commitdfeb9e01d9a2558bad8b27b72f22b826a940bbf1 (patch)
treecc3c1c39127383c14b64b463913fccffd0b28242 /libre/iceweasel-libre/PKGBUILD
parent506bb7040722e57f2bfd4ba955230f8d32589303 (diff)
downloadabslibre-dfeb9e01d9a2558bad8b27b72f22b826a940bbf1.tar.gz
abslibre-dfeb9e01d9a2558bad8b27b72f22b826a940bbf1.tar.bz2
abslibre-dfeb9e01d9a2558bad8b27b72f22b826a940bbf1.zip
libre/iceweasel-libre: have the new l10n packages replace the old i18n ones
Diffstat (limited to 'libre/iceweasel-libre/PKGBUILD')
-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}"