summaryrefslogtreecommitdiff
path: root/libre/iceweasel-l10n
diff options
context:
space:
mode:
Diffstat (limited to 'libre/iceweasel-l10n')
-rw-r--r--libre/iceweasel-l10n/PKGBUILD10
-rw-r--r--libre/iceweasel-l10n/brand.dtd5
-rw-r--r--libre/iceweasel-l10n/brand.properties3
3 files changed, 15 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'
diff --git a/libre/iceweasel-l10n/brand.dtd b/libre/iceweasel-l10n/brand.dtd
new file mode 100644
index 000000000..70f2bcb2e
--- /dev/null
+++ b/libre/iceweasel-l10n/brand.dtd
@@ -0,0 +1,5 @@
+<!ENTITY brandShortName "Iceweasel">
+<!ENTITY brandFullName "Iceweasel">
+<!ENTITY vendorShortName "Mozilla">
+<!ENTITY trademarkInfo.part1 " ">
+<!ENTITY trademarkInfo.part2 " ">
diff --git a/libre/iceweasel-l10n/brand.properties b/libre/iceweasel-l10n/brand.properties
new file mode 100644
index 000000000..53348f06b
--- /dev/null
+++ b/libre/iceweasel-l10n/brand.properties
@@ -0,0 +1,3 @@
+brandShortName=Iceweasel
+brandFullName=Iceweasel
+vendorShortName=Mozilla