1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
|
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Márcio Silva <coadde@parabola.nu>
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
epoch=1
_pkgbase=iceweasel
pkgbase=$_pkgbase-l10n
_pkgver=45.0
pkgver=45.0.deb1
pkgrel=2
pkgdesc="Language pack for Debian ${_pkgbase^}."
arch=('any')
url="https://wiki.parabola.nu/$_pkgbase"
license=('MPL' 'GPL')
depends=("$_pkgbase=$epoch:$pkgver")
makedepends=('unzip' 'zip' 'mozilla-searchplugins')
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-GB "English (British)"'
#'en-US "English (US)"'
'en-ZA "English (South African)"'
'eo "Esperanto"'
'es-AR "Spanish (Argentina)"'
'es-CL "Spanish (Chile)"'
'es-ES "Spanish (Spain)"'
'es-MX "Spanish (Mexico)"'
'et "Estonian"'
'eu "Basque"'
'fa "Persian"'
'ff "Fulah"'
'fi "Finnish"'
'fr "French"'
'fy-NL "Frisian"'
'ga-IE "Irish"'
'gd "Gaelic (Scotland)"'
'gl "Galician"'
'gn "Guarani"'
'gu-IN "Gujarati (India)"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'or "Oriya"'
'pa-IN "Punjabi (India)"'
'pl "Polish"'
'pt-BR "Portuguese (Brazilian)"'
'pt-PT "Portuguese (Portugal)"'
'rm "Romansh"'
'ro "Romanian"'
'ru "Russian"'
'si "Sinhala"'
'sk "Slovak"'
'sl "Slovenian"'
'son "Songhai"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'ta "Tamil"'
'te "Telugu"'
'th "Thai"'
'tr "Turkish"'
'uk "Ukrainian"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
pkgname=()
source=('brand.dtd' 'brand.properties' 'region.properties')
_url=https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$_pkgver/linux-i686/xpi
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=$pkgbase-${_locale,,}
pkgname+=($_pkgname)
source+=("$pkgbase-$_pkgver-$_locale.xpi::$_url/$_locale.xpi")
eval "package_$_pkgname() {
_package $_lang
}"
done
# Don't extract anything
noextract=(${source[@]%%::*})
_package() {
pkgdesc="$2 language pack for Debian Iceweasel."
replaces=(iceweasel-i18n-${1,,} iceweasel-libre-l10n-${1,,} firefox-i18n-${1,,})
conflicts=(iceweasel-i18n-${1,,} iceweasel-libre-l10n-${1,,})
unzip iceweasel-l10n-$_pkgver-$1.xpi -d $1
rm -v iceweasel-l10n-$_pkgver-$1.xpi
install -vDm644 $srcdir/brand.dtd $1/browser/chrome/$1/locale/branding
install -vDm644 $srcdir/brand.properties $1/browser/chrome/$1/locale/branding
install -vDm644 $srcdir/region.properties $1/browser/chrome/$1/locale/browser-region
sed -i -e 's/firefox/iceweasel/' $1/install.rdf
sed -i 's|Firefox|Iceweasel|
' $1/browser/chrome/$1/locale/$1/devtools/client/sourceeditor.properties \
$1/browser/chrome/$1/locale/$1/devtools/client/toolbox.dtd \
$1/browser/chrome/$1/locale/$1/devtools/client/webide.dtd \
$1/browser/chrome/$1/locale/$1/devtools/client/webide.properties
rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win}
rm -rv $1/browser/chrome/$1/locale/browser/searchplugins
cp -av /usr/lib/mozilla/searchplugins $1/browser/chrome/$1/locale/browser
cd $1
zip -r langpack-$1@iceweasel.mozilla.org.xpi .
mv -v langpack-$1@iceweasel.mozilla.org.xpi $srcdir
cd ..
rm -rv $1
install -vDm644 langpack-$1@iceweasel.mozilla.org.xpi \
"$pkgdir/usr/lib/iceweasel/browser/extensions/langpack-$1@iceweasel.mozilla.org.xpi"
}
sha256sums=('d319f07f17268240cdf0c5f996952f09fbfbdfb2905f9d7b1741a7a42b4d8085'
'754ea5ea2fe184d3bc1b1bb60d4caf72cdaca5e4d8f16065b22b988b1ede9ad1'
'81d1f98843f29a81c10a9a96655505c72ee34acee45225dcd307ae9a123e63d9'
'f3c4a7d88ae5d896a3e05408280f47836ed53d1657bb6de2efc894781ec67448'
'f744cb5c7aee123f168d57d66a74010c50c3f9793995337d7fe8a6dde5de8dc1'
'5dbaf930e53fa21da82521edb95767826d942ac8f9a82dcc0489df669db131c9'
'82030ea6870372a5b9fe9f4122ccb5372a30c63091bac016f1480e4cbf9a35fb'
'82eab7a994a7d844724698a79e649eefc77b5e3fad503b3f9fb12efafc22ae7b'
'b398d8552f632f83bf5323cde80412215f07f1a13e747143ae3b0d7101f1c9a3'
'7343f45e0f6c923922185f7d5dcee137cad9afd36b4e264dc0094b69dc1f58be'
'8aa34b45aed00891ea0ff26ce8ff5b626fecb376329c9f256a8de7fa56d6fd72'
'e1d041add7954b914fade76a5a0e1f9e21448ae90f83d469334259900e7aa966'
'96c7e5622f1b93390132763723f65a8facfff86da37efb3e920135d0b0f4f154'
'3fbd320efa0e5f7f55a6c9bf17daba1b8ed060f8d4f3f562465fc70415f670a6'
'ade6346d7c4a0f503bd53e77685f33baa6842e307f88cdd0fe26eab278889e9b'
'743bd7621911d99919a00c65b6bf28f6bf497c6d6a4c497008671457ed819caf'
'1c14052dc7090298026b2e5b8473cd447e2d083b2abeec2dbb423b4760602732'
'01b1b18f9eb59a744b1dde006350251aa21d0d8053c5d3c42ab541014e6cdc01'
'8d5a82459c97ff0a49ac3029ec133f239129e48a010f957c314fbe5495f68a15'
'7782299deb270bd67708ed723024c7a5de92dbeb98d3580adcffe0935a8fe4ef'
'186f6039a579a144ac441fb5a28751866cb6eca86ab3a533c88252ec9cd44965'
'dc12333c62f84edc8f9dcbed4bc6f9fdea202cd67ec61f3bde5291ca03230956'
'52169263d83786930e5ca370cba3d1b9e6ffc87ae2139fbbc41b11945fb910d9'
'8fb4f3dc623d9e59209095885a0009aa2628115fd0059077f256d92b606695db'
'261a5bea7dbdcd51cb219d83c2624fd48fb53bb6055124fdd37be27f9b7bbfb1'
'a333f3dbc0d1e88758f0a669868291f5d6c4c0c5c311a3f35ba11f36f49ac8d6'
'de51301a807f4c606d0b9faeb69be7b8605ae555d10dbf2bae84f6306ac3352a'
'5f1c00c260b2100a52eecc36cfafb47c0baaf579e3e8ed81e2d3f59b7e792f5f'
'1c433fef4ff75d2b531ab4c388c1bf9ca8c4d368dbbbd38fe7233cc297c4e4f6'
'e72af51262814b1dd342bfbc8f2dddbae91ae5532f36c98291a46a3cecc3cf05'
'906d1d9514dc2aaaf95ca8092da7e250f53f9c43fac828e8d343ff4ce56a3c63'
'fc1facc9eee4d72e2494c888cd93134b269b1bdbbd951167d33bb808c433af94'
'b985b4c82a63a6bd842eeaaa3dcd60f05929d5932e4a1371d1253a2bcd50ce4d'
'cf1ea83479183837dc7c72471b193951aceff26a9da3182b92a719a86d4b3f72'
'6a4e5c37bc2803d6d4d0361dc1f5d4ef10c25ce494f4a9e729a257fd4593d859'
'20a02546e93726649a0cedda8d1e7d1fb4342234d07e252290ad374e44573f63'
'c32f81eea351def671c6f38ca8ef736a8ba062ce8ad94b395243fadc0ab3548a'
'c85afb300caaa46bc2285f183210bf6bb16d33c48a92ccc8854645db3a3bd774'
'816f63b9b9e160db3ebd0f6df9b4f271dc4720d9abaca11aadf56841784f429d'
'cd3be3abd31ae0144cccac861ad818e60d168c7a36630075049fab35f3fb2f04'
'b0d024b2f1188e0244e416c31b6d075bacc926cbaa8b059a8f3a75cf2c39209e'
'04255887adec2fac5695889b53e307669f47dda0f24574ccb235c06b3ec5a7f6'
'27b635e376bf978f8a954e73e93f6c349b39ee36915a7d57f57efea03208edec'
'0a5a40d8cefd5ffb1e0fa6bb5763b2704db1ed1122dd87d0bca55da29aabb2a0'
'77e7e11d34c8a2cdd017bb5b8d2866c36153ea841959a681c9b7233095851ba2'
'9480b541d445cb9342f65a96eb749db411d2eb68a1ee6adf57f75f15a132ead6'
'7e98c7a6a7074455c663e8116203764671a08d1b5d46716e8be31a42db4e8342'
'9024bc417baf22e9836cf30312055c47eaf10309d474b1d10c6b4aa94a137cdc'
'78d6633ef86c9f7414d76e12c51780da5c1fe85db4353b87f2365d111e6d5383'
'02e9491e0ec6a6b2a74884aa9758067017317cbfbccdde4e1c1caf1763146984'
'64692512e57eea61ca243d50b4a109a44bd2335fb593c27067c7df3ef9f5c800'
'7d80f8470a04cfdfc80af6d35be303e37cee9433cfee2efba1b979e7a8aa7150'
'addd1d2835f62d1bb47799331647ec4d82ef158c7d2d77bcaad74ea5f5547894'
'a0c33b3bb17c945280bc2030535d7efb938e29069b980a4c7d407d53be6ef7b4'
'649417a550c2fce773976fbbe72093290ce7095f958278af6feffd44c465606a'
'0190cc1accd327819e3e773f48d00571e2c7aa5ca3312ae39c97c6fb06a75e88'
'93684b7fcf12f738dadd2020d2828572831c530faf869773c45f6bae6213c29c'
'afcf61c54175446c9f8a0d65f4cf24864bcd96e1bec5e2ad3e1971673507b57e'
'be00bc185f2718dba9be72ae9baff541d0f57b468da68299aaa12a7493b674f8'
'9866254d18cb985bb37bdc13a067ec283b07a77b19c8977e5f73e5b8bb946a68'
'd245069ad6e136e5002b320a58e14f3ca994616f907ce95a4fa15af1dab0514b'
'169f5581e98d9c398205cd115d8b4ec77190bcab400e9d8fcf4a269d7df7ffc9'
'fcd86e1ea7f7eaa12fd950c3956ce53b08ae91a8b100cd38aac9ef547cd7e879'
'05582934c6b4a10346b5061496e6bf945974280caaf3f8fc9a1528b0838ce82d'
'73dde6c695162c41d3abf795935964a622a64a4d03dd95fddf921be8323b721f'
'ce63fd03a213876d4b78efbe266c36519331267c325467c13abdc6c4aa4b00ff'
'29d89d3378c7124378118242c60bcde1d477930f7b502bf0ed99c9014e7456d5'
'd8a6b4cbaeb0238888c660e0a8f47490008e7f1b2cbbf2a7ccc1ba8d60343c48'
'36b94559c34da4ca60f3798f7c57869381054164613d40113d15b1a984f7471c'
'f0ab7ae2db4a14a99c0a1ecd2f94086d994db4a6da34c88c31d7c9348c9c2d2f'
'd6a00cd285f091eed478a2f558e78970ef12f80865297baf35acc1e903beb074'
'faf804a408fe1e9bc1285ce1cfbd111be6b249860ad30b0b9c4e17a74a1eeaad'
'd5edb258ab602218587cbc7810fa1c10bb03b7e04616338ad75f4c7f7776da56'
'a9a01ccefeb946f68b718b37ea44cef1fbffc5ab143f9a6bbf551c4979bb7d21'
'0d237ab95686cc96056e953e31186491009d62533c555a65e01968ba7ce74ca8'
'7fb163fb2f0f725eacc717f82044d20b78ad37a996d0f8c55a0c87234a411245'
'c00e91a405e031091f15a6b890d96ed95ff0b1d8d39ff1f17480c8a979845821'
'55cb5a014d2baba7fa93c7beb85e7ff35ff7b0787d00dc2e79abb5cb8da8eabe'
'74a4d46d81c91cb35aeffbeec4992379234bc20673a04efa3003f5997b49a801'
'ba2df36b997c960a22f9d8faf604dea3cae39c3f135747bf729824a98d4680a4'
'290889c15728690fc7745395152dc3af5f773eef23df0f64a880d0e46b2e6846'
'707cb8dc49bb18399a20ca5e5c3e1ae66e7c0a14d0660b824e428f55679ed351'
'b7dc71e2e34c6927e01c33feb68d75fc3ea25f0b62c915d128c4fd1d5b591b27'
'c9f1d6ee4a4ccd6b3fa1f642e464089a5590f8c6185314fdcef1e4168e8d9f9c'
'928aaacaceaefb7f5dd6235aaf6b9bcb71725550c846db1a8f71aa3747048b17'
'fc4c54a9f8a70f1c9844e30c270b96daf21fcbd3b443ea8ba9ea2c2db91269ec'
'4bda4c866d370a61427136da362904cb3368e854a0bd329ccd560ccc38622d85'
'006bd7dcd3f04f0a72738196fe101d45ccf743c82db2a2f176850ea659c0c748'
'dd4905958068ffbc2516edf7905ecc48773a1c403a29266f4cfdfb72a72f3789'
'e62f7f7daa990f3122babb2b239e15a5f8e2b6259917c2a34b255314e0a9e523'
'd1c7d020002c91a4c6fe9e2a24ed87e2b2043a05aa14787df2ff01e2216c6f1a'
'fd0c7e1ad5bfc2fe1979c748a84799d066d67f1ac6fc5cd19e3cf5ce1e82b018')
|