blob: 04db5f66831c7dd16f89139d7f8afb7be63e83b5 (
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
|
# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Contributor: Márcio Silva <coadde@hyperbola.info>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
_pkgbase=icecat
pkgbase=$_pkgbase-l10n
_pkgver=52.6.0
pkgver=52.6.0_gnu1
pkgrel=1
pkgdesc="Language pack for GNU IceCat."
arch=('any')
url="http://www.gnu.org/software/gnuzilla/"
license=('MPL' 'GPL')
depends=("$_pkgbase=$pkgver")
makedepends=('unzip' 'zip' 'mozilla-searchplugins')
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'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-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"'
'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"'
'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=('region.properties')
_url=http://ftp.gnu.org/gnu/gnuzilla/$_pkgver/langpacks
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=$pkgbase-${_locale,,}
pkgname+=($_pkgname)
source+=("$_url/$_pkgbase-${_pkgver%-*}.$_locale.langpack.xpi")
eval "package_$_pkgname() {
_package $_lang
}"
done
# Don't extract anything
noextract=(${source[@]%%::*})
_package() {
pkgdesc="$2 language pack for GNU IceCat."
replaces=(icecat-i18n-${1,,})
conflicts=(icecat-i18n-${1,,})
unzip icecat-${_pkgver%-*}.$1.langpack.xpi -d $1
rm -v icecat-${_pkgver%-*}.$1.langpack.xpi
install -vDm644 $srcdir/region.properties $1/browser/chrome/$1/locale/browser-region
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@icecat.mozilla.org.xpi .
mv -v langpack-$1@icecat.mozilla.org.xpi $srcdir
cd ..
rm -rv $1
install -vDm644 langpack-$1@icecat.mozilla.org.xpi \
"$pkgdir/usr/lib/icecat/browser/extensions/langpack-$1@icecat.mozilla.org.xpi"
}
sha256sums=('fc301f3ce1f7d7cd995c7920af18f638e7dd40ade90318567c2bdb922d9cd11a'
'61a3ab522bb7fc7c4e0702a842bc608986168b70162849d7e98a7deca9c0b600'
'f296aec3efd8ab2b8e700eb0dcf4dec3564007c0ed7e6a20c658bd703b3d4584'
'a89e2f14cf6170578d4318112f711b2cdeb93f36d51061458847ca61a81b9972'
'0b3d2b77bcfa55b9a81b7920afc722c3c1087172ab4fb48221cba21dd5398939'
'abff9f7f2445cbf4eecc7b5148d01dc01674b427675c8389ebc48360bd10bab4'
'e47b66649a7e9493f0a93bc940c7a4a06ecb9a84b0aa0764488a87b62f6e5bfc'
'2d23dd9413682f256b49e4c793e66d2b28acec70ae52a7706c60fa9c4019f66e'
'19a018c4a19dab8fad5ad3644a5d2718ffc737f48a21ae2a0350c9012a1f9cc1'
'f41b2474af1dbaa817c38c56c77c7f73e760b517879022f099e5a180ba7b9640'
'ad834b22705f4c613c3bbb01f2da5bac1b9dd3dd3de208cff672442da49402a4'
'a4babee5d21b4808eeb420f0eaa27796f4eb37cef8a5ca690186c13329320120'
'8f99ec802d8704b5e07b6e6095c6f0932ee6c43104b9bab51f2fc6dbb0a1a34a'
'903a7c781bf66e697eb5944b53f846bc83c5007785b04fbe77ee0836f222f7b7'
'669d5668d309e47206b976d26fb93d997e797ac639b0a2329e7b138466394925'
'4542eca2bbbdfab84ba8355e13ab5e7d85dbff7dc2088324c004a5f5f080ce10'
'9a6a577ea4dc510ba8b5b4810e7005e588cceb5c463d54de28bd3b4777232c48'
'042c8c3672197c64b2182a9d227a2cc25d40ea700d65126ccb4ce43850acc164'
'e76537b8e6fa4d84af7ffc85035ba591f5f8e6dfd5c348f4ea7fa20ef0c3dd36'
'e3bc9e07b3b8365fadb7bd06617a649d1e28a5114c9eb5c490f199cf1e2a7f84'
'ee18a4393fe80f4d00e0bd63cc424cb7a409439f6d4431fbc91ac6fc4ac70d20'
'fb03d8831857d9b51a010da55a1faefb51dc85fd71306633247826b1234f9ba6'
'ff9fa66097ac2e6a184552c4c73845ad9683cf96f1c2438e800a4236fcfc6160'
'cad8fabb753627f4d788c9ca011c44f7c95b2f0f7defef0fc0bbdcb3b1936ee8'
'56af7625edb8dc7b91d84d289fcf99f62769000f074ed96106d89ddda164c6ec'
'53bee35abd56ce5076e9ca0401a9a6484db5dfe6cf09953c881b21c9452c7efb'
'd1d5a6352e8521465354cb9adec64877ae32e340da74cd03437f5a4165cd0b48'
'1edfa511cb11c83e1d207dfb402a9f66b6a9fde6ef6dac9c65f4d2b0d4830e84'
'7a9c2a07fea1d494ce81723bd22fac9a90f759aceaf5fb5410326cc25d1dcde6'
'f0b91d8e7031a608330f92bba8df63688eeffbd8ce5396e2d0ef214f51860393'
'05fb46f9c1372b00f8fd71c51b06f446f2b4868685eae0caa6e6e19978cc7d70'
'6a2eb1a38eaab4f8cd433df830387d503dee1a360a2cb7a294d74f74d0e70787'
'b26adae86f29edf746f9566f440afe6fd098a482ab57592c136ad2a6d259d876'
'f7880fb7b5ff48a1c7c67dd8276c67cf80f65410d369d85a5a43509978eb7c4a'
'859db8c6e0b6dd040b3f739c68206d026030ab2ea2d68ba93eaccf7a06b676bc'
'67ac3a3662f5720e25a024fa8401dbf28ebe74e58f164199e6b99438d024106e'
'd5d29a5c2d18f80d157caefe52e993d00d980e6d61dccb9d44e7aa3dc8c7bc4c'
'8197f42382bc6d7d92ae5f8488c1f1b29a5b9aaa978e697b46291206bb1b050d'
'd14c68c146655133af7ad3d94b1958dfc3d3b689e5a9126e29a816ab868f5eff'
'd3fe017fed504cb0c8950bb5755351aa4dc1a02500294209a9646905ee27771e'
'e9d274d56741eedf6f55edfb4ac53e3a3492f57266cc679cdd871d46c8eb2198'
'f34f5ae2e62642996589e37a04f8c8f982b5ccc7498579f898a08251c1b375bd'
'7b20e7f787eb440dcd12986e4e3a424d324f3e11902c2341829e9b0bacb47372'
'6e0a0efdeaae34918b5280edd733d6320b165b58d8b7052e3bd7cf76a22c834f'
'e3fc9f79c6e046b0c01a2ec6d5d8caca48193e3f74843ac52e9bfed3011789a4'
'203886a9a279ab3f7a4752d6b3f6cda3fc434a08c2c48e3e1db5a56c3ba56dff'
'd0f682072b11b2e4baf10dbea8b51d025f2b933901672cf44ce76371b8268fda'
'4ee454f91ea168a5d6fd30e3e0a7669b681d07cafcc7707076662e0491207b70'
'ec30e325eae5dcd983d864e3dc3d4c2e22116fc9e62ac9e5d4152397177e7826'
'79c76f998a9d10065b1a570faae58c4ea792935ae6b56a08b22bcb54356e83b6'
'875b1818519d08e0d0ebf5bf6ed5c95df961ba5bdccf78f2298d33d2b7e47bcd'
'8f9c5fb6053f099062d816c5e29a9cb50dca0c0937f3067cfd78356268d4ea06'
'93aa98fb752b79b2505cf6e6c5de0d17e19cdf2fe1bcd819828370f7774b2689'
'8175fff91fae04d3fff3446767cbf312ba27a67d9dda4d036d991ff38c151131'
'920973e786eda8acdc33d545b49df738f95780feaeb0d1942d052ca27ed4f806'
'78e82183bc770ba92679eb08225c60c7777459034b97827498e0267585f1ac92'
'dd0c99d3dc325413ed94b01ab51eecf539eeac14a27c9c88c7554a6c6a10aa25'
'343718569d6191ff935b073ec9d7ec4520310f3e52b0e622c916d37b55c69601'
'096a1e23f58dc03c247f1f67b09039efaeed81b342bd4d68f0bdcbca3fa1c7bf'
'a41b55119dfe7d4443be39f618a8778d4e143a7c74d3d69694608b0ce7129ebe'
'e19b3f6889c76fd487282bd05eedbb71d0f48f62e2c40326987f80456f78fa0c'
'70a9e905dce7cb0f09d5b9e6f28fc4e7eb712a887d3b809d02932640835a41fc'
'f1f406fa6beb6b762828eecf0bb57867619c4dafbec793dc5022cd638843e2bd'
'2692a8b152a35a39e06befbb40aee5658a671453ef28541206f0cafd6387e571'
'b342a446f8aaaa52fdf39de2b21640ae76e5c70be19b7e6c466d6112f48f9b04'
'1b1a00714e4b75a6d0dcfd0599eb7bf00d4dfd3a676b0939700e1d0f2d94b03d'
'ddb328bf0b8d1342123e623a1560294c7dd5e54a69ec904c5c98c0e2dd60862c'
'216889aec5b52d4ad58779cadc5e22cbed9d4d2feb93098aa65f933a13dc1c38'
'bbdd3020619ddc191f058d5ffc21a5f925caa937082bdb0f5d94e020f5b464f6'
'238b42634a88bd967b4ef1ed7caffd3172d302cc1c16fc175e2d5d6a105e2fcc'
'eb84ebf8dc4e0f5c4a9e1629fa551a37b116b8c66acd997fec4dc5a0fb890d00'
'7110007388d2640f27a5190c08e6bb52470a3416eeca3aee6c69c81f89fd1141'
'f41c1cf3ea77aa10d5eb2fa5a165820e9b5a2fb554264d506624fc73ba5b425c'
'303e0a204a206674c02f169e2a0b4dadc5866aa7a09b9c590b67f7ead6524a85'
'6dcac644323e484a37498e7d3710fe55869c09e35c858625278973ff6505ff7a'
'2d719e9d92029676fe52412a970989cfd1797f2ab7bdb4cd89616160e0940d8a'
'b34f0c861ff9008022c3566be55f1b83388216ecd71679ba0d3c2cba745b71ec'
'ad2e4ee4df131aedf0346ac34946318127b594cd86d6fc7505ca7a83c4bf28ae'
'1890270ea19a1a699a815581bb30e54eec3465d001ab30f9e5081c80fe961846'
'9d91291f53f1626c6336ec3a1832b1b1f9128b8b25739c5beb9ac7d786dec36a'
'3e2b658635cfc6134e43a1222120eca44a9f365b5ad8d449f5a5b6b76e30136b'
'965857b9ec993d0bf1fc1086c5ad128bfa590a5d4287ec4712b61de5b44f9f51'
'f72184b8f71514673c12035756cfafa6e4be6d36b8a464ed2cc7a72c42e5fa80'
'f05e3e835958a31f927721b328f3d24d3274faafe7b449abf958b191e10bf697'
'f485c6c6570f4da6b27f906c916fdd3928abbe5d0dbebd9655691045401a0e3a'
'64911d9ce5af603edc180df3d65eb7f228bd5c03ad3eb5e758bd31b45382cdb4'
'5a9a18eca383903a0cf56cf150a5c3102da08f021c06bbf349e4d466a14cc2fd'
'8461cb34d645bf4b22d87a0b6226af942ad10e3652fc546672bd35f37c6c66b9'
'5b3e3c517898de8b8e1de24ac67c9140bbdcb49cab2c3f8455481ea729f8209e'
'7cfa0a9096c11ac1eb8f073a9846f5785857577cc86b5d24c811b3a14b673f02'
'c0e5b0c4f69a09f63579a5ef93b07a2390dcf4cd69ba409ef51cab072fd4bf9c'
'bff2a791b81f0bc4158c5755b88935d83329e9085a23d3f6a16ab73e64889fb8'
'7def687250ecd10c262113e480aa178f511c378c41b416b3f14da7c067431087')
|