blob: de8a0101d74bc9ef1674da830dacd320d0ad4d84 (
plain)
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
253
254
255
256
257
258
259
260
261
262
263
264
265
|
# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Contributor: Márcio Silva <coadde@hyperbola.info>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: Luke Shumaker <lukeshu@parabola.nu>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
_pkgbase=iceweasel
pkgbase=${_pkgbase}-l10n
epoch=1
pkgver=66.0.3
pkgrel=1
pkgdesc="Language pack for Iceweasel."
arch=('any')
url="https://wiki.parabola.nu/iceweasel"
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"'
'cak "Maya Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canadian)"'
'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"'
'ia "Interlingua"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'ne-NP "Nepali (Nepal)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'oc "Occitan"'
'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"'
'ur "Urdu"'
'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/firefox/releases/$pkgver/linux-x86_64/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 Iceweasel."
replaces=(firefox-i18n-${1,,})
conflicts=(firefox-i18n-${1,,})
unzip $pkgbase-$pkgver-$1.xpi -d $1
rm -v $pkgbase-$pkgver-$1.xpi
sed -i 's|Firefox|Iceweasel|g' $(grep -rlI 'Firefox' $1)
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 's|Iceweasel|Firefox|' $1/chrome/$1/locale/$1/global/aboutRights.dtd
rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win}
cd $1
zip -r "$srcdir"/$pkgbase-$pkgver-$1.xpi .
cd ..
rm -rv $1
install -Dm644 $pkgbase-$pkgver-$1.xpi \
"$pkgdir/usr/lib/iceweasel/browser/extensions/langpack-$1@firefox.mozilla.org.xpi"
}
sha256sums=('d319f07f17268240cdf0c5f996952f09fbfbdfb2905f9d7b1741a7a42b4d8085'
'754ea5ea2fe184d3bc1b1bb60d4caf72cdaca5e4d8f16065b22b988b1ede9ad1'
'81d1f98843f29a81c10a9a96655505c72ee34acee45225dcd307ae9a123e63d9'
'83a4d96fa8e7dbf899ea44ee139317c8e17c60ece5779bb84c5a73706e956de3'
'05dd371af5786291c311e8c39c21f0378a35140f0b8fe1fa963101b29d6c3bee'
'b19208846ae1b3434e8afac6165aa2024537f5f90731fc371d5147ac7bc21de3'
'c63aa715fb2200d4fff35ef5ee4c76b53db828f007402b5ed907b9cf37fc3650'
'a8ec1392fafe98077b1fcc4e350fc06e387f046d875d6e7d7f00dc1b9d84cffd'
'0120a2f0a1822b680ca0b3d846e1dde748cd29e4d5e96b5df36f1cef4042b74b'
'c1717aa53519939d21930a55ffe689634564461a5dac1affe462dc2ddcb073de'
'fd79ae570d0f7041de5949e254790cf46c8f10fdef63127732f4c438b934c3f9'
'fbb5954f5650415101e7c20343d0aefe428edd1384cb724922bc785bb0517b11'
'365c73192c07bdb8e386d98364e751dd76c3390e3ef9ca779902ddf39b6b0885'
'1737854c6826b7e83a402f8a898aecb5386ecf26a899d61a8b3b4bf9b97c1c38'
'ce8c44967af06c596c4e5eca72deb50ef7b5c28fdaedfe494c56edc1baaa23f1'
'11db5e4a2d4b1c4c070229b71f4e0595310713bce498ce259923ac87cfe9339b'
'5083eea0487872eb7eff943ca7fcdeebc03ed049fbbee634bab95839ec5b9920'
'4d8457975b740e5b5b1d6fe2bf2a54ede065be2b6f961fd98df2c1838fb2c935'
'b3c89103b7a18e233496a938271ae55e765a5cb107906c61cc23141c5e4558f6'
'2f3c33a5b574a461d23b71945ff6e2c9180b43d7dc8561906fa784b6860e19fc'
'a1e1ec1e8ba00773572744db279cb74b0627d989254a978a78ada6bcf8225fa2'
'2dec2d8788a251c60644d221080bbcc0aa9ffc7a10fd589835b7122d44132219'
'4a2f5379ede2009df93d8eeec7f22b081c2f1b4539b593230ce32877cc3418be'
'5c469c7121184911ce6bcc6f891d5a5513e8e8fb908c830a616061ce99495b43'
'64f8b7baee20653d037f0e264966c984bbbe9704946bfcd68497535ee02406f9'
'2411bc44cc242fcc53988640e637c4c67bbd4d6bf3dda744a1e08b328ce0be3a'
'e6bf10fc0885be15f9f2906981ba39e280000e3dfe91843c2beb53dcabf2a2cc'
'23754bdadf1a6149dcfc3c1fee4472af5a17d00cae73c698d9360a6fae6ec5f7'
'682fcf6ad0b344b2e58cc28b09c10c91197f0be7070fd8e412ccc6e8443c77b6'
'709b1460040da55fb82a0f8cf1efe507fd444a7ab1abb8f4af838444a004c651'
'4caf4bef8e9670515363246a396584d4c3d98b33a0c7007e84e016e7207b0b27'
'14defa2d0c5ad243062d00d05fbd32ef809546a2a587d0082ad9854d790f6472'
'07a400b96913145231d44f7a7713e1e2380031062afb1935d1cdcf2764dc9d63'
'ab79a74c74b47a0d428d23ec20d6d95a704ae8159533e284ce11c71bd558db17'
'cb48a5098340fe249c2671b8e830b8240d00099630f60358ce217215de1272aa'
'2c05d277e30c539f9cd457eb105a3f21ca1dd7da333feaef289c08200ede175e'
'e0151b7e5bcaa83dfaff8b2fa073583ad0445bceb247ef4883359816e026f9a8'
'f4beab1386075be568817305a9faf53f51533aa5f0d546a3654fc4e75872ad50'
'c26f354a69586f208699ad451d9116a36040f245782c335eaf83b18ed019cd39'
'721816a4bfc2751785e48cafb5f8811be8b22f13f9dbfbdef39cfb50758fdb34'
'5e472018dd5c4f0008a4c6e382e2803a8e778efaf3dfd5c3484113eb1f4cddca'
'fa247c090070fb53cd6075b00147600ae8a883c01faf0a29b889cfb9051cd4a0'
'4783366aa9957f6ff1ccd8ab8bba1c6075a96b751d51d3d55a37ee19de90ea53'
'841d1d54f8675956dfe41ebe5d4ab31a8608c276b65288016d12c75b530e6b2b'
'dd409ad522b6fa789083cc21c5a4384a1835023d9399c0cb00db4b1fe5de3650'
'63f7e05577325373b06168ce582ea1a834458ef9bd336fcbc1bb280e343d0e1b'
'4214ee737fd953ab5ad87d4b69fb9ed313140b95c3a18d249425a4c76a7f8668'
'82a58aeca95e785b1705715bb551882d057d37cc11ca8ae4263412cda563cc6a'
'629fb5fa800e6398fa1dccfb22d9c643934fcec8eec737cde050b016aa0b2a1b'
'82983f6082baaeb01c342b6588b96441247d1bb056784bc5d5b863d89a5b4a3f'
'283a50f96f625ce916eea78ac4e1634a669ca2ef192e51612723440d99849a85'
'fe279705429ce275614676d315661f045f9a4e5e2810d4336fc75b7fb1a443a0'
'3d855f174c5dbcf9db681655db0519bd10a9969f075cedb9e6f65c9548d24317'
'413394b8bf86d6dd69ec52a29c53e2307fd30477176a4d7b5663dc43de45deaa'
'552a74896ef624778fee801acdd81cd3c8676514171bb7260f6f81ce37f2d5d0'
'9fb4c4fc55b9dd71c02851a8bdb205ffbf25e23defa5d3d5973474df3c8eaddf'
'81294358c735ba066ad03b265a6e10e7ca6c376c3fe004f4abc5b552ec80ab49'
'44094dda5bfbc2969acdf397daf5fa938db992ef5865a2fee2c1c2d37b31a9f6'
'07e7cb00f45bd2eb4c4db4b6d1f67b4d6f115a0e7c6def7c68ac8b9ce8ca4e1a'
'b58ea8ddcfc81601a89866ab947dce072107ad6115f3871567f92534a5476a49'
'86a0552bbdd2a4923ddb18877f28322ab2c18ae48403e0525fb5a8a8666b8495'
'd9342a37d436d81439a623661b1c8f67d368b317d91c33f3d32bf02912f68f90'
'e2a53b7163499657681f03018681b6aae783a079b957dad7278b7850d09418ac'
'f77137cba2227c18ffd4a7a66b946505c7a992a489608a840d38ace4acb26888'
'505fd1d69dba4ab848b6ab50aeadb436c530f00114a5f41af6cfdb9f741964f2'
'6a892970156a66b2c5edccdf0ac6c73c194f546b19d017fc373542d1bf1ee3a1'
'f4dc7633c749eb379596d0752756389317b8332b4642a2c2c2c451ba404d20c3'
'dc4760113005f56072f2484a1c43e80a2f1d55ecba0eb4f5d42a7a60dfc44a1a'
'6cff837c79fc78409bf6be6cd8b73b5daa73ec651f22174e2565c913547609d8'
'6a26f247152ce0493e3019d694ef1f9c3ed8c23963c3235a662c0ba226ed03cf'
'f2912b0e7bf747299f9f74e07db26b1ee5fc69321c6c162370ffd2c8de96960a'
'd7c1dd8aded371cd84dcb2a8593479de6f727465ff83c06179be203cf746656e'
'bdb61301436b04865d0605c821410965428f0e2debe5593b26a0a6deee274b8a'
'189e5b1fc4c55688e5ace41987c2d6a34cb435d9b60cc33ab0191cee186d18c4'
'ce48845fab21cec07c16d4176257981a492028db703075bf95470f508534a8cc'
'd9edf2b3a1b551c8924348adeb95c82d010eb7a4c9097b13a32a6462c3c49578'
'176c33ee391c23d810e47367c8d5f468e4e67f4523bd02cd1a245ce0c90865a0'
'd2455ef3def109d04bbbe3e33974cb9f98e4569c578e263564b176e0709ef461'
'f9d60e4fba40c238624c9d5c99bbe9e6c81d7db7be3923dcf7685f070f1d4e10'
'84eefbc200997dd8915cbff366da9054cf3522c07b73ae467819ab503dc0c7d0'
'2ca560b9c0b0327ae34bd377feea8a12b89624a04412bf86f684ed8626059f0a'
'3545aaf9032159bf934898deed9a14ecb7bc6faa4a153250626a018f3bda75c4'
'aa6f241d48c25b3c963ef662148f4e767ed8e1eb686402275b8c5f24c6221050'
'82466f80359f8317f150b427e1b53edf7053a48b7460ec228dce9497df2dfed2'
'cf9468cf069a3a0747f7232a1b59e5b60f3b2fa2ef17afc2fbd826b65f720ce9'
'9cbb6875a109b55fe608be43f0c6dfec2b58b986b97029ef8da4f1c9853eb273'
'e87470f37612a9b234dbc09ac12ebc54f37e127e4ed9372defb1e0575e2322b8'
'986a47b5bcb661e1eaf04026d50ad2d10c98c0b136f8f5804949c6258a82478a'
'4205773be76cb0642898ad58c93db91af43e3c5fddc75244ed2c7bb574d6052f'
'c971228c26310dfe0d6d080e2bd64efdbb4fc7f47eeb54fe60d787ef3d60f859'
'63da31cb86cf04f4f949fef6d11d39b013bd5adba02e2f36e275b8ba69c4149a'
'1d2a7e8da3a6b789bd3cf536269454e256a7283e1b367efaae7ef959c578eaee'
'2faefc954ae6f887bff176df39c4d6738dceec30c2fd09b1ae2590757c5d9ae1'
'71ecfaedc668a61d87254bd806e5bef94ba4416040ae952b12bcfa7a6f46114f'
'1200d0f10951b770263e6ee0f75b34a3cf4d27c427b0219df674a91f4b2851d2'
'540c512ba7c3f21cff4eb3b4863428bf4cbe30f244bc6a6062edbdb413b2ad67'
'2c497ee650b19a8f0ab7099610929d4837a878a412b41a73381c8cd6b53dad76'
'456e1ad2ba399df0166422d6f8e4eea40c8ef1eaf47d692e26be42cc4a33e8dc'
'ce3ada37bf1d16d4dfed427510eaa9f216d42a2fd5b8ad8666ce7b5d9a9ff6ba'
'ceb6d80b50f144c83b6663ecc4502bdb8c443003dc811debdc54b08dad6db115'
'f267de67500b23591721fb0852cee601338df7dd67ea022ae9ad4a46f6f06e87'
'27b440393f97766769e0df3ca8d13bdc108a34647d436ac164bccbf755a21538')
|