summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 829aa0e0f474d9ac5ed012a83e0c0c9ea4806f4c (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.11.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=('d8264c2c9e5900c7d5a9bcdb7dddf873bc6078773c80995aa480630a56f9c2b1'
            'ad438e2b7682550d62e489216c9487f7d5cfc2e279ced0cd409572ea8d524576'
            '7464f479f54fbb9532ecd41317da5c58215873d08ed8cf765d4a7eed8f1af1aa'
            'dfb3ec7b24809d99816bac786e3dfc4dacb69155c04dab0e65f80681382bb0a4'
            'c2efca2d447330864fea7c6010354ac2a32743ba48b589944331bfe5a46af4cc'
            '8342605bbc0f79da8fd37dc1332e4f7e7d2dc6ba57acd3127a11706bf2b7e110'
            '46265ee08e465f487ccd78d59cc8d697730e3eb54ff20c4273d1d9b8d455cea8'
            '95c937cf11ab72d07096d7ae238a26db78fc2b840b9b23351e164c7ff38a7ce2'
            '41d50bca725f7a6a6f383979458782c58b4fd71687dfecd0c075a3afb92bac23'
            'f524be20f1ce30d376b2b8af942c1ac496235526e4e80df3794d6ab097f07353'
            'ceca49a8be5e77452a1e944bebd575f7db3b1f7a67db0d90aa5de5f1ae316257'
            '826c194dbe6c2462a04b25eaebe6a658072e825bf922037b1d469119f7e7b2d6'
            '6a2f00930b2f249d7e7b4c2700109c67bcf2b4cdf0be1af4ac9d9a2488b25733'
            'd6a2725ae489e647720de614268f3597238391a5307c7487a09a3a5d53bba1af'
            '6e5935165cd74d9cdf562df2520d7fca815ccadb15292a3b083fc1c7e714eff7'
            '7b148f29bfd329c08a0360d5defdb1cf9d4719a0d261cf235cb1ba426d4ab196'
            'c297cadaef99e40d20504f5e9f55a450feaadcf9eabda62e36f76e905f54f74a'
            'd525db1a5f4e16dd882c7887e551db5d4c05a8abfede513f90819f960dcee8b7'
            '6dea67bb2decf210feaea6540bdc866820c59874bfe33794fb5a662113d4dece'
            'c23db476fd7a55d8ad4b729f80fcdceb59f32241938a2f5eec447bbdf77d709d'
            '7b74866d17de876aa2461af6990212400a65d8ca5a41b1634a74200c1518cf86'
            '47be92f46ba48d6be083bdc9f65b6a5fe4d114ad19e42dabf9ccccda62ef9b73'
            'f56631b47482795b84c84669833fbb324b9d3b2274f0915108be6dfbbe35cafd'
            '018ec313234c5064b7b411af8a66446696d3522b3eabbb232b7c9cc5effba7e8'
            '1a730846a04bbc84d0d0e5a93f72603a4c868d5276428868def2882a43b3890d'
            'c57a7ef8a84bde4638f3b196477f194911d81a3dd34b34c5819f1958ba361393'
            'd525afe5a9cc77744a0afbef98a033027fc72008917c1a3994048cced1f361e5'
            '0a6df5bc19fea7b9fedb0637543704ea4ffbcfb0bada2a560caa79b14b211be7'
            'a6f3858ad20ce0fdf360612f977c336d4a876bdeaff583678eed126e93346015'
            '6e67da2a08c02aad8a094f708767f31880cca91d289a806717383f36cb9971a8'
            '073733d05fe362e18b67af73ba9f2c5d7aeda584b8d156d39b87e275aa445d5a'
            '19204c6bc26dccb858319d7b52f861bf12cac9c210d0cbc839b7fb5d8002756d'
            'ded9d9245a05d78c82ee4367851a7289966a6582100003ed872e132001da4517'
            'ad51ad2d46cd1ffa6e9c22e633b919376e2cb713a2d8d012d316b78b8d3541fa'
            '8d5a830ba39fe0b0515357159e9cad7a98122345aebb50db535b0d1e737f84e7'
            'e5e8dd81616f80747f71d9659382ffbaa17b95ddce49ef431dc6ed5527ea4d2b'
            '1334bf2f46122fd5596013e4d431072f667e96036d7aa0220fe7a73bb8193db0'
            '9cf42941a21706f9ab2debfde64fd897eadd3c82a021303aeb5e33352a737199'
            '7cfd8b892899525ea3c324cf0a6cac30d7cfcc51c9649e6cd03f660a78a2e30f'
            '6bce3ed6bf6f4a6b8ebfe444860a8ca40afa7482dc982fb3910c284c18d6de14'
            '98d7de52233f486ea55b49c7187cfffac39dbbcef4bfe7d7accb58d9b98328d1'
            'd67f03fb0ddb32d6ff95ff966cbafa8e7e184ba49ff84deb38ab0f1432ddfab9'
            '6ab0ab1210c63952c0026d1cb4cfc2a22290a05410a8c2727af57f541cdbcd15'
            'c2b8086b2715ddbc86cfc5d625a9725bcfbb3721ca7cf608193f9da0992236da'
            '5d2ebc40dc370b29c3170c04fcdb59bf290e4b96874085830b3df4503f46dcc6'
            'cd8bea07f975295ea7dd406a8a047e5d3e537b33287a37b675e837f6f60eca38'
            'd3dfbd87e5bab4965db0818b93216c7741edd516d0ecd067ec63bcaa74fe1044'
            'e8b6c03d4fec202e43d631f800762d66abbf28a1449d4bd86426aadc87eebcdf'
            'd205e11ef0d5c1b949d66aeee386353bf8d72e931ed6a06a412f9f0baf52c9bf'
            'adff4ddc06644dd81aa870911f8a98b2dbb15ebe7821d336352b4e80f80b8c29'
            '26edd73572b92e19dc713b20b5270b506c25386ae9666aa0f94df7dfbd83c69d'
            'ee8d4c3dd430893839756cad3047846722cf826d1664b2d9aabb007ae21df927'
            '178cb65d8085f26f1f316a7ccc2e281a45afdb3ff3020cf59c78e9c4ecbd3ad1'
            'f516dc224af9df3d2f4b859f3ee826a3c234b4241dfd3a3ae6c102b752a175c0'
            '0796411127e7ad50c65c46793e08fc134b1483cd34da59a2501bf0c699c823a8'
            'b59cd801990fc038f39e46b79ea1e0350fce83442573d4b767dd01d4ba20d28b'
            'c33df56a8126d48c69755a8c4d39027f181e61ef62661af460319fb87a6ab3eb'
            '4b6bcd43e4aa0251a7e887a9990efab7c40aa828063a65004ebb5c365e099806'
            'db7a3956119233dbfed9148c21cdb81d00b112027ecad45022bb18d67a371ec1'
            '31aed0a804900ec7f77122c0c4421ec7a54d61bf8572dab3f6e5bd526bae3631'
            '25b8c95c65e60c19214eea3c185ae7dfdb849b9b2dc1b8a820fb4fc417beb4a9'
            '3dceaccf80d6be9ed91d29ad5858369172ca35e366b4fbbe554efaebae58410c'
            '5544db33866908b3cf0c6d0bcae51d105f2026c65b2754b95a2da8e60e01d4c9'
            'a9fec82f8426a07a0d8b99583bf5b69a9788c1d3a6a785c9cfc04062dcfecc79'
            '15e908a9140e6410ccdf1157d26a41a859c6995483f89aafc4d06f268eda5e1b'
            'e25e5e99ee59e34b0fb7fd600f3acff814cfdfae9ade53f4b0012f426d15cd7a'
            '8e9c700078da18824a559f9aa36f6bdd48cd721620bb85ec97fbd59645439ccf'
            'ac62e859fde188729cbeb36ca847939deefe9ce7b27937c595c6439b6dd5e46d'
            '209ef12399802ef31fdf763123affa394afe10703229d2f444284ad97d857a4a'
            '48afad3f31750b77cf5452489ef508a37c646bf713cb0914386d36bff7311ea2'
            'b029b3ad5cdedf9b25ddb297f13e17a251d7fdfca309e0f4a0bfef239341137b'
            '0cc21cf89ce5399916b5175d6a1959fe610ded1fa89339dfb6427ccb933caf01'
            'd9bd4a3fd3fdf13b0ce89f058ca5d59d95a836061a4e44ec8af25c7cdc5bcbed'
            '4ae5204fd08f04a60ea87f4029aec82b2d8c4c4d20a1192de515cea9fb80e54c'
            '4f23966369cdb9e93755d15b0282232fc4b9dab31585dca2143aeb8e18bfeeff'
            '7e80f4470e30b23986112bb49c4e4694b24edbafcbb3e0ff984a2ba8e9195fef'
            'c58153324a16fdc0dfdcb5895edc97e658b85cbebf7edd9e89e242bdff52f400'
            '9f0d6443cdba707bf7261c425b64a4e41a035b0dbd3a3e0e5b128adda319a0a8'
            '98d26e9beee49cb31a6ca4fb50557e43e44d3e323dd744e99c0e83712243d8e2'
            'fdd5f8b428aca8ad764566ba745cad4d041db1783f4eeb28b9d448c92cd4528e'
            'ee65ec60b9d24039be7863cd0219315a4cccbb27d8fce10d93284d1d62cfbb93'
            'c0c8d80dfbd736d1d3c6d83f7aee81d7bf52f2937dd191ec970ad19c645d15dc'
            '54f31b712f1dd6c2ec899e6097b330666a83a58c0dd0c805c3914cf9701810dd'
            '5e79697ac5449f30f0a7cf891c48c16451f625a9384c03cb1f5cb88abd99fa0a'
            '162cdacb1df80abdf3efb1553b50600b76b6ddeb5e2d3e1078f5becd998a841c'
            'c8e00aa1d08e80a89acf762eabe8c612337a31250295993d1091e6b1dcdb700d'
            '1541d1b7ed19d99502e5d2a101ca95a20e210c71cf6b22bf148c23c9717a450b'
            'f2c8f6fe4ba8086ed82b1954e1a58d4ccdaa1c55a0e53640cd95012baa79ba42'
            'eccf0dbf98a8c0c64910381ca0747d41991fb86ed7d374cde81b5371a7272998'
            '89225fac84bd45dffba4646f43343352dad2e9cc56d3dd7e74da40aef2011365'
            '642e08b025cf1ca0538a810f1e384e55e4838f72d8191780415b505e5258978d'
            'b6570137f7428a4716ae53b7e78131e5f2432ffde7b29945bd33d470e9b41353'
            '2f73ac7dfb5df594619ab99d94cc562836d99fb98446585090b4be964d90285a'
            'dbb669285dcbe8f45e19e32036ddec2d54804f37367dde2d737a24ae41b89008'
            'b6fc6d4005c94320cb118f5bde2ab8e3e1159a247d9441055fa630e6adeea279'
            'ee1962e7b305bfef1207fc87a18807b03f04b006392a0124726c54f5265ca7a7')