summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7c18cd87880228505c1db8dea2d747667bf5e4b (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
# Maintainer: Dct Mei <dctxmei@yandex.com>
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Thomas Baechler <thomas@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: Michal Hybner <dta081@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgbase=firefox-esr-i18n
pkgver=78.12.0
pkgrel=1
pkgdesc="Language pack for Firefox ESR"
arch=('any')
license=(MPL GPL LGPL)
url="https://www.mozilla.org/en-US/firefox/organizations/"

_languages=(
  'ach    "Acholi"'
  'af     "Afrikaans"'
  'an     "Aragonese"'
  'ar     "Arabic"'
  'ast    "Asturian"'
  'az     "Azerbaijani"'
  'be     "Belarusian"'
  'bg     "Bulgarian"'
  'bn     "Bengali"'
  'br     "Breton"'
  'bs     "Bosnian"'
  'ca-valencia "Catalan (Valencian)"'
  '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)"'
  '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"'
  'mk     "Macedonian"'
  'mr     "Marathi"'
  'ms     "Malay"'
  'my     "Burmese"'
  'nb-NO  "Norwegian (Bokmål)"'
  'ne-NP  "Nepali"'
  'nl     "Dutch"'
  'nn-NO  "Norwegian (Nynorsk)"'
  'oc     "Occitan"'
  '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"'
  'tl     "Tagalog"'
  'tr     "Turkish"'
  'trs    "Chicahuaxtla Triqui"'
  'uk     "Ukrainian"'
  'ur     "Urdu"'
  'uz     "Uzbek"'
  'vi     "Vietnamese"'
  'xh     "Xhosa"'
  'zh-CN  "Chinese (Simplified)"'
  'zh-TW  "Chinese (Traditional)"'
)

pkgname=()
source=()
_url=https://ftp.mozilla.org/pub/firefox/releases/${pkgver}esr/linux-x86_64/xpi

for _lang in "${_languages[@]}"; do
  _locale=${_lang%% *}
  _pkgname=firefox-esr-i18n-${_locale,,}

  pkgname+=($_pkgname)
  source+=("firefox-esr-i18n-$pkgver-$_locale.xpi::$_url/$_locale.xpi")
  eval "package_$_pkgname() {
    _package $_lang
  }"
done

# Don't extract anything
noextract=(${source[@]%%::*})

_package() {
  pkgdesc="$2 language pack for Firefox ESR"
  depends=("firefox-esr>=$pkgver")
  install -Dm644 firefox-esr-i18n-$pkgver-$1.xpi \
    "$pkgdir/usr/lib/firefox/browser/extensions/langpack-$1@firefox.mozilla.org.xpi"
}

sha256sums=('4867fa9aaa337535df88f42a5ac54d819425da28eea0ddc00375828d721b9774'
            '10aee78559d0c009df933bb606b73fb0874dbd96359e9aec45769b948c915b30'
            '29e0641cd31c17915dce291024d5c0380e223399e4459cd0fb9d5b2634cd5d90'
            'c5fd69146331f88f80fa4c751c30a76e16021cbdc407b621ebc65f12cfc9e164'
            'ad5e8e75a819f1933269f9666f154a638d379c1ea0430fdcf46f8dde0ce73f34'
            '5c2c6e4a78d704a0cfe929ea8c8e4c816a5f15c51aced04f6cde80e37751a667'
            'b8b2ad4b381cd46359dc4c6457ea139321202eb823535e96513adcf3da3bea65'
            '63141833a8450b5b11ea0c3af228299c64a97b7bf5f1713ad0c9b28761f935f4'
            'f1a09f30113658a453fd09430a78cd749efe75e1b82f19f4aebd10a592edc86c'
            '068cbc906c66e830072aa4f02b45d3575d94df494adaf5bb436e08582c193880'
            '5020bd497347a897782ad539141e685968081a5418d37b7019060a13c800173d'
            '4c86a9ef1caa20fcdf3ac110f8d2f57ccad684c963d2a0166a0b29457750edb1'
            '7f605854985c394e58919457e3acda3c3af7e96c4d1a7dc95c72dfbb02a78b9c'
            'f9a6eae84f651c031201795e011e7f6f226de51e0a8f34a4156c2957a8b106ba'
            '229e8f6ad657dcb9bdd9aaffe8d0d0159e0bff9482b5e5e70eae85ab53dd5db6'
            'ffb33b313438cc6b95ffdaf35a90d791dab8ef69d3ad65ffe24c868f42f88556'
            '382d3bf94360a0d4b7ef538135fa11d655c67369fdf90dd50e7b6d6235c88978'
            '3da18e270f48322d010dc8740d9d3ddc828a50944349c9c98d30f306bd6b1605'
            'ddffb0c8094849fcd094ac151b7807311d22c4e08b48b235e0032587a306337f'
            '4043f69e1a19083bf7bfa9d2789638e1b7d4ebbada595466ab43802c4ab5d769'
            'c17d9da8eccb4090bd253ca0fcf805a7e164685661a71b56d852366e74cacce0'
            'e2ede75fe08839156264fb9e84364421be9d5528c64696ae253a2be634785065'
            '136d9f4a13393dbbd991b2390e9f8ead268a0a4aa905151fe22fa63464371673'
            '05f36e730de35120bcbfe88d1a5897180199966469074ee0ac2fc898fad01c92'
            '117e70cd2e070cfaf930251ee175e8c46fc1ad9b5fba81f1198d67d8a7f1c1ca'
            '25e2e2b18619a2e7b5aeb990bd0be043b1069944078feb1f7773a490bcfe7ec3'
            '3d6444fd2296dc1dec82c7b73d13c9981681ea9bc3baacc0545cbf6c401b9612'
            '79204bfb140e0a9a97d41068d86b0d6bb6e08ad21c3a5b8909e6bdc73e49f4ce'
            '5ba424fcc4eef88835fdbd7dea6ffe7ed53d7b260e2a9cdd1cac9251615af123'
            '0e534b6d7051b4d8949f5f7d3dc7ca9d8e1b493d2b602b35168dbf20ecf6900b'
            'ccc796ef79230b7dbec11bc4f7323bff4fbb6c3f3eaa44bc1aaa21f42e0ca9cd'
            '22f21e1022168bfbe98cd48deb2053bb45abe02c0a01acd004a8a39940b1b6eb'
            '404b4635dc922f5730ec95ea38e38dcc24f9a6c566c366b35532376ee49b565e'
            'a8b12c81cb6dfffd2b5fb1625f0ea45b0f5a7183aae8360eb252f2891b1e27d6'
            '1406b19fec5c971f9e0c69f31d5ad2a8de954c3bb633549289181a65c9d599c5'
            'ed8909cb9fa8c032a25cbb73c8de007a654bc2456fc6578e4ed4287930d0cc61'
            '4cec09cf972ac4b9f6016283202ea5298fed5f9d0114a2f8d30c207c4cf1764c'
            '8f393ee1b40af92859c6b7ee878ee343101ded8360c8af5e7b2502c0e52f4a4a'
            'd89339d3d646764af1129a51360eb55f40e652335b84c258638eb77037def89b'
            '33be2ef59376003982bb4990c0015ea08011b91d5b45c4b78955cae685345724'
            '758a93ce97335ea9bf8cce6246f7257e7628d0acacca9df0100d4e2e4481024e'
            '5792489a16f221375c4d5cb7b80c00ab8503e9f66b1337e1f6c0d58701b02f54'
            'd75919a6dc31c7ed3ce8cd9c35fe04617f3380f0b9ec437a0cc3245dd41ff977'
            '7a4148208c9f98fba595506d82c70a0cf2775a0e0f64cee4f0ad94d5ee2cea75'
            '8376dae524247bd97116301c343d2bba91d02d071f32783958d3db5f14a59b18'
            '0b61e659473bcd95c233e67d83c41c5f9ea71aa0696160ffc91edaaa19e56f03'
            '3fbb45ac2cc2b1f1072d024fbc454bb3282c25879ae8b95b8da7ed706d7a409e'
            'db9f831e4fee6317f31c630a3cf183d4533b768497b583fd44d69401ca73d20b'
            'aa00fde9bf568ef0130e9dc9423c6e2ee79ca8e188c7e228d3667a46ce645e34'
            'b41b28424231468010c63cf8bcd018b1f7f61463789861af6e3520e5543fddbd'
            '0e56239439a01416c23eede6fd8e4a3b66d09391db38d35e407ac2bf25439612'
            '2b677691b0d461dc39e19a0a16bcde76c48d3beb88b4cce7a42f490c11107661'
            '9437c8f6f06565c4a8fd397b147b99b1bbdba54b3d6c5d68185be5fc383723b4'
            '67ce35ff06ca6b3636f613e5898bfce5ce4d10366f0caaa85b589c306574d707'
            '364e39052f7bf3761f8113dba4d9f0bc47c48bd2a69ba230041f4f74e5715791'
            '6db207c223e17d796448f286327c8abf7bdf22adcb11ac34b976ccb40f2bcc25'
            'a739396efb4bda3b9a2c3a31a55e8f7b3d67e246c12513a18619039f83c11054'
            '542130776a2934d5a9ff7d7be602a489bb583ad678fd43b0baf46aa60dd97dee'
            'e5945730ccf3d3b236e91a24d43a40451f525e0ab1d71c4ef5eb5fabcfdb1b36'
            '86d8ac5b8cf97c5e6e4fe27b83aa15d04341c8e0d02b6865c692fa7db367c356'
            'd7f50ee980892df22030a007398b9a00a06659a479fd7d594f43c7b9d727b2b5'
            '275baa3a5500d54d69b77dc79b9701a71a4dea7afa8d5f20487166c4bd1ff189'
            '444754ff2898a9fab861c5575db8477cad9abc35caf74c04553c91a5fa2f27c1'
            '902a61b6d1658c022965ba4663eb4c2239c218b59e77e8705f55bdd7e87071d1'
            'a91294e26158b4e150633c2797455766d1e9b2a94bc80c8eb211d314e701e857'
            '3c56a32c8ccfba14fe06eed716609e9c5d9b6d0e7b85ae85c5c6f97dbd8cba4a'
            '0ddd0fbb69b05c31ae62631fc16d6ffb314e955a0b5aa296ba456d9380ea4719'
            'f0a97bf9bc6fc6be49f36657ca1b66bd47e9eb0f314e00d0a6859a416bd124e2'
            'af80914c357070506a2b1d061ba380ec66aa95f2ee4c0731cbb4e25b8c046356'
            '6ef949f1e15d1347ef89241e0a69eca1676454da8084953c45a6f62d8ff4096d'
            '61ec8821f70456126f7d20c2c36487469afb2c168f6f6a10bce289a921819370'
            'acb35058c88a50044b444eead22fecc29dc3ec777d5b3e885addeaacce0d8696'
            '3edd8754c63e7c998057d69b774801f3f773d16bedf07e1599e1d8a655bc211e'
            'f550695b60acf481b657abe62af0011acfbb660def11445f7213e87f788087f4'
            '316cb2c61648de0dc4455bdb7018c0833a346718b07785088a75e7bb7c3d9e3c'
            'f8953d3a602c7ed6ad238fe64cf3d3bbdcb7739e51ce377e0e1a5c1a210473b7'
            '27a948c4412e1255bdc08d6866371e2fba8955c701ce22cf57b05861e593c808'
            '8800982a32c4c580ba65d5fc709cf79ab104569fe29de90c20299c3db25f4df4'
            '0d7890c914d194bb740bb1517277064f5f0224e3d0d91a5c80495a2d1f0f0e3e'
            '6d547af055b51a4a5dcfcc22ab873346e9a8587b7c0b90b658be4d382ff691e8'
            '8e9617683003c67e45383547d9f31a2d9364b511ad588d45aca39b78da4bc86b'
            'd26a87968aefd5a4f9bb2450237de595d8c503d7aa68fd688bc23cdad9da862f'
            '77d8be4092db5e00e85599de9accaa2c33655246f63b694d9fb684f49c05fe3a'
            'abc690356bf53d6d121ed693de162e326fe630a8a85e6c1e7dfaae2fe6310c86'
            'd637c4878295d6304d0100f68cebe9c5427cf875f8cfa0bfd66a688b22c04948'
            'e8b825092754c5c13980e3371179844b6df662d8829b9256ef1bc59f00faad78'
            '9ea78a1160b6f10bf76835beb9919d4ce091d6813746847c99ebd2f1ee63ee9f'
            'e97efb76fbe0027a52711bd6b85983ba0566f52a645a14115c51ea3f066f826f'
            '28a6290a759898d92fec4b6849281689c8ceb61fa9a5e97dcfc373c8816aaad0'
            '1e418aff6a0920faaf8786726c357edbb65710901ec151d4ce57a8ef3e066087'
            'be21563a8e32e464194f6665d8adccde08361f61c520c6e2a75d3ff61ea617b6'
            'a7d112094cb566c29fefc965cae33752ba5f43ada0ca527834e94a916ddcaf8d'
            'b7c3e961e0c931517b4b4cda60e27256b3572b4eeb5a0326004f622c5bb4f07c'
            '9228e46c7ace8cc2515c5a9fc41730b0d0b26bfd9ca6c7bc1289c24b905a9da6'
            '6925e73a12cc93d94cae131cdb3ac92d5bde643e0d2a69fef6b9337d8583c856'
            '3be4cb53b06afee2a20e6793638fe8944ab76e79d57507af15a177a4589ed2de')