blob: 5aef1dd2f1158b4ba264c07e7292771ab2003636 (
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
|
# Maintainer: Márcio Silva <coadde@parabola.nu>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
_pkgbase=icecat
pkgbase=$_pkgbase-l10n
_pkgver=45.7.0
pkgver=45.7.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"'
'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=('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'
'cdb1fb725906124e0d5cf46101797087b1352cdc99a9b9f00c9d18732850ca3e'
'05c3da877cb9605890fd2b2781ff178f67896cfb77a725f8a09190ea7fda5cb8'
'f22cb62d24fa7dbe17e394719dc73a69beaeafb32f1e1c4007e140bb36f20fc1'
'92282ae6b02301426ebf95a5007980535f377922367efb42389c302d8224c340'
'9c96083f0ff3d3aa81ab8a42327aa6c9d8358a8a1b50e5cbc304fd0628bf47d1'
'27b04167df799c6f778be0ee1fe7d752d62a6d5a1857691b1909fff0b7423cf5'
'ee168a5171b0ea13c53a7f40d746fdc49f13818fc0234805404c929adca0e58d'
'cedd40db14018188654fb6a3939750665cba679278c4915ab96d58cd2d959f19'
'e4268e1c75f40ebcc645f571a1cfbadaa9d914a57e7886828d584e89eed8ff32'
'eeb23e663a4faba67064286ef168c42a70a8d6e573a176b95851a01b8215b32a'
'5ea0375c29e149a8237ef847e5cf8f6f29579078ad733de8373649fa67e022d5'
'5ed2905bb79b8ec34a172ee65182990122d5949a02a1da2f773910a3cf5ab409'
'9394eabc9c2b4ce59b652ce5d71fb03c62c69669c3eee8464ef7f55fe652f792'
'd4a7ecc325c642acba06921ba4be9c2a6ed12c3f4c59e00415fb5a2a9a00a495'
'a7bc0a31dff2a4ef22ec060313d74c232fb978b689368c42825434bd05a97e96'
'93190ca45b560928fd02fb4eb515138c7961e0e80f1cbf48af7ed947c8b3b31b'
'c4a2db87ef24182a484764c5d3daaba3bed161b98b311112e4249c839e2a5394'
'0fa269a4edf17dff3df1a9da62ca58d285f5c5cf3c255900b3e93b8edfbaad29'
'c5b3a6a09b755ecb04c888c9a04a73bc3e5a794d6ce7de9897d6e2c2202ca42b'
'b867e74099a08ac3425b7f00208f6d63598e60ecb8cdae51e0fb6c44ad782b23'
'56490af1bed03763985ed12f65a57b3bc937ec982215a78b652ef054bb8d980a'
'ef401af38b0fdeb45a10966b21c7030787e68870c523403d01ea9a4d41d62e62'
'3cebe61c0992cd8cf92494cb9eeea8226e87aead3e6d9753b7d7fd024cbc018a'
'4aa43b4129c0b6e5f24bc417405eebda546178c226d953bd259fb8b1583d9c3f'
'dc150501f59d042235152f7f2d83fe898483c43413a0a0109ccb8fc5b3019a90'
'8ccabdf4e207179ca06e3ec90ce9db164bb5ba9a01e8561e5db8e823e3176b01'
'f3ddabb7162807f286edd0a39cf7d5e0efc5f48aadeb4d7fe73f32f67bf347ec'
'4853956441b0e75be036c4feafae7355984671769a9a9b81a34599b98b35dc8a'
'4d57221839d29cf465388ddf1c5bb1613a064e66110da0c36af1e20636368a50'
'e2cc8e1eb2770a5549eecbf69079c1de060ee480b1826bb55edb88d4e173e378'
'7b845c4004464ed466c0d2363575c5514972f8d27f5dfee020574b794a27d2c3'
'df1daefead20a51388144c8fc8ebb6896d203fc9696eac82de684187618d586b'
'6aeb56f7a6686937772362a8fb70e66a585b2f63841120377b43262a5f56f1be'
'3e55a6f98f8780abf09dc584ac5c9afb011c28f1500fd648bdb49d3a43f4902a'
'261c11eb4dbb5389c4645881db1ef395b17ac7ff32861c02cfb379fe3e3cd1e7'
'65d72740e6797576cc6384032605c65bf3b11c22a72475e0add33d3123871293'
'c12ddc87363df555ab1918bbcae7187240542b4eff4476f7ac3b199ea31536fe'
'2270a92a6e8b13ba2304d803e00830e5138c39d4d5ac9aef97d0a3bc409f4332'
'217eed04bd57b2677e8330bc13eec33651c851320c5c82dc76bcfbda874fb27e'
'9b2559aec0d816eeb78eb07617a77671448c1350367ff38c2079b96072dac3d8'
'75155e3b77ef00ef85346c1e511ae3adc46b8526cfa8cae0365b269fc5e1ce8a'
'fc87ff7a5a1d6590f067f91e9b904857bc85fec5dbf392deed13ee89550df7cb'
'a38c9341a9b23266507ae2faeff492783e907731164a2fe84f9076440c7203c8'
'4723314f3d81f552fb03924da374f061397cd8c3d8f6db2290eab4868f8e5bd3'
'72e8bca1f5e0b0f17bf94641338aed4f89700adb7f5f16a712d5f78bc6fbca76'
'ee13d71eff5034bf717ce599f2e379507b6dce4f06ac65de867e85f8707cc5b5'
'b0345eb645521120b9222c2f385d90cabf8a967e35dfb62775ba69cd81e4adaf'
'10d93931d15616a719224de36e231fd944b962e80fdc74921dd1996a1e9a68e5'
'2ac723f090001fd3fab0ac14afc1357b5c853186173247cd51bdc3c4be0c15db'
'60d25d72a8d7984c0db2a7688e284ca63496b24dfe97ffbf58dd57f22a542bbe'
'45287e56e1574a7e712fb3a5d44603eef1fd574b865801cfbbe086125df27fc4'
'70604abadfcf9d41aea887b4234e1d4fa6b1d7b7fea4d64438a838c6288d1043'
'c73339db00eb37727821336b08b5951f5ad17826324c3aca5716d56a6382f9da'
'e79d5112799d8cd076134a1c10497d1ad45e37c82c0902907bbfa4e9919464fd'
'7ef3d947bd0ce71f0e32b214f26286f053983a6af40fa05ecfccba6f5dab251d'
'76e28136c96ab04340efbab2c98a41f3d477fdc56e9bd35fc7ac39ddeacff767'
'dcc7e04adfe126a4964205586ac9d377e2e448f0849cdf74585f5b62e5ae21a9'
'8230c5a34aaa9adac99dc48f7acb863c49f4dfe153f4e9fa162563e70248f8d2'
'ff876d8eb6ac72ebbc12909e4b57f5d8138b167a528ecba9597da44ebed785dc'
'deaed823170639db235c463f1c43ea59b12395257dad11c7225c6bc560b401d7'
'0cd7221699d1aff3d230d44572fd28997c7b90eb39cdaf6e53b9fb3400d05092'
'f8a8ff31a0ff751ca46f177de3adf5fd3f29b46436bdf00959943cc36a22551a'
'3744f06d3693b65892b210642459699903e55ce86f4ca9ef6171f92a8d992fff'
'9502640c4d803c1cb0f8de0592c95d61f1251b5baa79c8d41824148345385beb'
'39f026002662d17fab116aaf4d4d370b5b7782ff11ddb57fdde79017bae3add7'
'25b1da2811c2486e1f10808cc50481c51f2b0ad533f835332c29bd82b7504a22'
'a7cf59c1a95d861ab47827bbab0ec802410aaa622230fdd8131ed4683b56b5cf'
'11c929ecbf1d44682482c159e9cd5b57a6513078c835a567f2b987a495ef3baa'
'10c0d7cd863cbf4e051217b121488a1b27fac134f498cc74d4eb90d2ada26a45'
'f5072537fd37f401b22379fc758e5f910f02ae9497a238319aeb078845713275'
'70b7903f5d84c91cb6b7ddede75757bf90f3837c052cc15a0d0dc6d2134420b5'
'ffe23597c8214ebea70cba28ca710b68294eb46d4bef6f388419ab83f6a6490a'
'bad87cc6bbdcfdde2c7a1229f63ad2692e2e228d9959e5db42d5dea972a148a4'
'ecdf801a4af75661579ef9195a24980828152f1368fb220c070ac74fe4024f32'
'd5e8085fe85b57a695f94617e46d5bab1f6107e76a7733b859135b04acf82920'
'd69c5c2cf7d700aa6dedf5f388a008aaa3629345d88b224223c6bb0d91731282'
'cd16857189ddbbed65a432439f8002cbf54b8c16b342e62b2a23c14cd23af630'
'52fb7c4fe302b50ae79fdf8f8b15e3a20367c5d7a78ca76bc46e2a308f85a0af'
'091cad06fba2793a9ccef92fe82f9366224e84cec5e1422cedeb15b7c3720975'
'd1d45af90512ca79d359d8d5aa1f2ba76a24ad7f0c715d4ff6f0383b0f447221'
'91a7145278b65604dcaee92ac829a492f5892d7280e36036db5e8e03030214e0'
'ba8a1ea737f87e0dfe638e621a9843ff23cfa7de7aa28b406a104135c281a27b'
'b47d47c39a504e4e368a597ab0dee600911cbb8fca0de2e08324bcc99ae595f6'
'2d61068df7f9e88e2e920f56aea093c1661bd652124cd584c8666a95b0de08fd'
'e87b4e20b9b5a6764bc1fd4bc2968353422d922953f31d68166d512c3577d4b4'
'7e26680d9db93c08a6f7e7b48cf15d6d10259edc7d90158cbdffb8d6e280e774'
'a6058832776544c4e60e3dd6c06a49326bc289194eec486be2e5c257daac467c'
'002922ea1ef70647d79882689104348acb364e01737ab09da32f8ecce8908eb3'
'6aeae4f6ccdedb2dc4efbde3bad0f8f3cfd2fdfc8ed97809ce720256288f268c')
|