diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-12 18:21:40 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-12 18:21:40 -0500 |
commit | dfeb9e01d9a2558bad8b27b72f22b826a940bbf1 (patch) | |
tree | cc3c1c39127383c14b64b463913fccffd0b28242 /libre/iceweasel-libre/PKGBUILD | |
parent | 506bb7040722e57f2bfd4ba955230f8d32589303 (diff) |
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/PKGBUILD | 4 |
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}" |