summaryrefslogtreecommitdiff
path: root/libre/iceweasel-l10n/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-08 01:04:08 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-08 01:08:10 -0200
commitb889da240695997871c680637c7f0fdcac69842c (patch)
tree37c4926220d571133b88907087f2e7f07cf979d3 /libre/iceweasel-l10n/PKGBUILD
parentbf4a82e5b687d61dcdd31b12921b4bd835c1f409 (diff)
iceweasel-l10n-1:27.0.deb1-2: fix branding because Iceweasel locales are displaying the browser as "Nightly"
Diffstat (limited to 'libre/iceweasel-l10n/PKGBUILD')
-rw-r--r--libre/iceweasel-l10n/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD
index b422d0c34..07a3ff94c 100644
--- a/libre/iceweasel-l10n/PKGBUILD
+++ b/libre/iceweasel-l10n/PKGBUILD
@@ -24,7 +24,7 @@ pkgname=($(for lang in ${_langpacks[@]}
done))
epoch=1
pkgver=$_debver.$_debrel
-pkgrel=1
+pkgrel=2
pkgdesc="Language packs for Debian Iceweasel."
arch=('any')
@@ -32,7 +32,7 @@ url="http://packages.debian.org/experimental/iceweasel"
license=('MPL' 'GPL')
depends=("iceweasel-libre>=$epoch:$pkgver")
makedepends=('unzip' 'zip')
-source=('region.properties')
+source=('brand.dtd' 'brand.properties' 'region.properties')
for lang in ${_langpacks[@]}
do
source+=("${_debrepo}/`debfile ${_debname}`-l10n-$(echo $lang | tr A-Z a-z)_${_debver}-${_debrel#deb}_all.deb")
@@ -55,6 +55,8 @@ build() {
cd $srcdir/$_path
unzip -q langpack-$i@iceweasel.mozilla.org.xpi -d $i
rm langpack-$i@iceweasel.mozilla.org.xpi
+ install -Dm644 $srcdir/brand.dtd $i/browser/chrome/$i/locale/branding
+ install -Dm644 $srcdir/brand.properties $i/browser/chrome/$i/locale/branding
install -Dm644 $srcdir/region.properties $i/browser/chrome/$i/locale/browser-region
cd $i
zip -q -r $srcdir/$_path/langpack-$i@iceweasel.mozilla.org.xpi .
@@ -75,7 +77,9 @@ package_iceweasel-l10n-$(echo $lang | tr A-Z a-z)() {
"
done
-md5sums=('a4593936bf1c7a9ec9368ff249f9cc56'
+md5sums=('41882dabdc0315962f18d78ee97d5be5'
+ '87640dacdbba301feaf1fb30bfa60137'
+ 'a4593936bf1c7a9ec9368ff249f9cc56'
'e93e1d1c6c19506280909c9c44381b31'
'fd6a3c94db2ec15724e0282ad8bbb88b'
'5f487d08c63467bce76500d476c2e720'