summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ddd5e367f106d63f7a69682bffe19601cad1200 (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@gmail.com>
# Co-Maintainer: 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.4.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=('35c752c8332e93c7ae10e09691440accdde03232be291f57f106a73e0522da4e'
            'c0a32333c4d33626b108d6e89f0ebae3924d95e97f93e739ff4720d79d895756'
            'b1a51894781f6fb757a4502e5f59eb577174274260f980321a8169c5a6b4c761'
            '925a61467b506d94c59a0003d8e3f5b01d6bafbac612fd5ab52633661939ad45'
            '4ce396e8f2a65d12b082e5d3541069a80ffd79b52286db1de7dc2669923a4212'
            '885454f2fa66015fc772442b420cf9361f0ea8fcc6a861c5b3b8952b999e4b23'
            '433b6de936c7cfb7a025fc25767744c7392386de646724757d10f586aa83b24a'
            '9e17a358e8ba03ff31d98fcb108b0fb42523a1f06a7fb07edf3289da66f65034'
            'ff54ceea34d4aedbb905d71caffb6606a0f79cdad6b2f58017bc00ef45caf399'
            '77e7edd22f3b062b04b89b96d1e8cd03b9b29fa587f401f8fd6a62d8cbb71ef4'
            '7df2e3610c0f4ef3d450b6d8b7c31e7941447ba40f06e4075e14e0a16f5e5a63'
            '343c1db98f0cd3a6e370833947d8e339bcd7c005b17070ec75e087b7561e3659'
            '99b3a2a17e2815958e6987e91027d3bf866efdad694b6701e0d00f96b72a4bfd'
            '8da6131d3857c403def32ac18f94a760bd4fa9734cfc018afadff0aab435f6b2'
            '43fdd1b32eb3fe59853bed4e5dba94b03dcb8d4d6a9ff87869b4637478053c92'
            '9ba43cc29edd3f9b4cfeb146e31eb1668cc427d9bd334e5aa9eb0cc904ebdac5'
            'd1bb088339aa358e9ff7332d40cc7c7ee75e31e6c9653574c03b7aaf01187322'
            '20830119a3ce7f0bbfbbed86f38fc1e623dca824ae6e7b36c80cf4a28e14cd2e'
            '4668d586d8f2bccd1f20905da08c123dcee4f5cf3bafe9b0a0070ea712a84298'
            '60c0c41a9d95c0ae169cb39e84b25a35cfe2b02ed81f2c411067d2285dd95c89'
            'c18a432bcc3faf4a4b5cde8688483cf4a1dc1b1e8e74ebfc64f490a7b45db66a'
            'c019015d322d4b37f6266f49994e3ef325c8a99d11505591db9815600905b9a1'
            'a1285de48c539790cb216c8539c3ac10b1837f0029e7f99dd4247e83b60a40e6'
            '1e21753f0334a39db7deabe2b439e1884ef499c02d716f9d3f9f73feaf6109b2'
            'b9a9a87386d535b131b70db3f7e5d4f3c552fe3e38b21869bf5b0943b58ddfd5'
            'df9ae1d24f07340f368a2031a3c44f14bc15a72dc076aba2c1692a98ef345d4a'
            '6b04111a500d4923e52674874ec0bf76a29522d56b9d19ebc75cae24d3d03fa5'
            '29709f30c3a1ff97371417fa35ee985360bdbba8b01367508d34373d990eed84'
            'fe5eb1d10c74568566c91133af9524108120f1f89b5a6d04fc374821d0c0649a'
            'f8b747e8564a45ebfa4677dcc105180a883a5f022f87e86d96c1ad56f42f1961'
            'f54c672d98ea069b628febabe6120d96c9b8ce84dc797577ee292127000820df'
            '6323c444f9cb9f9430601cfa561249f072edbcdfe664847bb6f4b78ba9d2ad00'
            'af3b9a70817316dec6ffc0cfc7d5405f96d637a5b8afcc7ec4fb5f66b1e2965b'
            '26b1667f7c5aca3023c0e64c47386f1862bab780dfb51ce4f964bb2dba117ab0'
            'd6282d2b3ad88b4e2eaca9b48c108ec3a3cdb575ad507313515335551943af75'
            '9fa91154b3596c6f360053eee870715f6ee3682ec7a8962c180ba254075df59a'
            '15289032b51367eb654e425f3aee15e12d8e3288ae2b3cd36853d137d8489d87'
            'a69bd27e74de22c6e472aacc5bb9d9c4e543027d861791f0417382a5f7f5118d'
            '54f42c8506f639562eca63b63f09566900017c1e22793d233570e28c97db72ca'
            '82c3396456c455b13802977bcda8a5f98f4a72471ad9189020603275348d8010'
            '4538c6d201312b42989bd8d895e9a32aafb6355f83a7afa4155e2c9afa5e1983'
            '4d299eeb204f4e1e8ff7c6c27b84481d1df84d53be1131680e0dab80f4578a6d'
            '37d638dfa311486749f970eafe54790e5a4ac79843a1acffd0a9f10a3e96fd83'
            '0f34bb060b1cbd05a442d69dd02dcf454ed3de8636a2a3989fbabeaee82efbf9'
            '4daca2bbcc014524d096f83891120582294389a727df8608512397b47e8ddbf3'
            '90f8bb64ab8f5b9ebf11538edb7f6ad0f484b3bdfef963a491135b18c9d5eabf'
            'fe8196ebf1940d534eae41f8b8bd481d4b84d306b5f8de4715147e139031b07f'
            '093bdbd9150d86df6603e20097ce4c5db18b460fdc6349c824c4723681bb6826'
            '1a0282846b44a7ba90219c212e50d8784cd9b77cfab8c8ae14577863cc12ebd6'
            '13db9b9ebcb7d9c0868d1260feeee63300910d0e5b193e06ab861e540bddbd0a'
            '3ed29ddb978f2ff7c1672bd6525b5adf6818e14b260d7a0835ebf465f9dfca95'
            'eeb2834967f05b9080a58de1f759406bb4294909a0922c7f7e4e2a69ed22104d'
            'ed5b351f84260047b2f959b7dbeb9a3fa6f4710777780831c4f0259907b5fbe0'
            '1e09c208488553d62fc0f78a926971d3b37d969ed237137844c76f684bb07272'
            '8877e26cde0358319b57ade82c2d6aaf56ba3673517fc3fbf46390907c998b30'
            '4bb3c5aab906d9cfc53494c79e373b71852bd1cfd551c62dd4e5d4bfb95d8e48'
            '5f93db3d3d77dee88888c143e9fdd6c62b3584b5851532671fe14b7d4bee18db'
            '35fee74c18d203601a562093cd67013431a1efea99d930b6012f2501bd8a364b'
            '5c677d1c44b195af914137eafa94191d964ea4e014b7586a6d6c213b5e78fd49'
            'b377c9210c98c95330ebbc74fd43226cb4d11ea5d2b3947bef55943e0fe93329'
            'c6017b6cc9243f558eda77dbe536f3e8089764d490eaa846f61c9b373e91dfda'
            '7c2e54610bdc94c3a3d320e158537c5d6589f24a1bdd9bd2f74e2a2e32de41b6'
            '6f0b776eec863cdbfbea145551ea24bcee9358bcf014b060de3bced4fd9a9f3b'
            '1d93bed629c1fd548bc2e13a25d8fae5dd343888c8c9142f52e8f8a128f91247'
            'e27c28fe6ba9cfc6191dcedf2511092b610b42c6023c27c05fec3273babb4cda'
            'e85ff98db5a5b7aaf1719fe5adafd9555e2fc5d5869a6af636747fad416f3cc6'
            '947bc98e84fa1668beb3dc3067d96b40575e581df997b1cf4ec13b26856b5a2f'
            '42cb022dc9becddba32595855bd358ba8dc1bdc0f5485914337cc087e9c2ebea'
            '45b7fef087f305c963cec517db5518af5d3680230617a853ab677fe241c03a79'
            'b84434f6a5cdc058868633449a984d302b0f0029d605110814e516dc4c0298b3'
            'daa0bbb4caddc4098a451a050d2a60ff8694bee0da0e48eb04224636531918f5'
            '20edddb729bb4a230ded2ba323681e2f6b18b8da6c79f5c78396422affef23a9'
            'ca8eb956c6061f2ebce77b97a8e7e1a9f8e2378e3d74a83e75b5d750f1f81e56'
            '5409bbf56ecd8d1c74328644ab3dd9dd4330d5be92aa4d6d569b3dea6f1aa990'
            'e1beeb8feee4fd13f21ca1bedbb99b2fd060d99e771c52477ab494866b3fe20c'
            'ad8c57d68d36893488ad051a4abbe95eb52544eb0f2f5d8f09f524784633e0e1'
            '3e275b9eaa134c0457a13fdb89207da4f6f370797c1c5fac809bccceb1a8b661'
            '34f67db7354e694b0c9f2a09af4bc7069851a3691280613802eef512fda2e9bf'
            'cc008ee84e7af7bb51a09120022acb39032ec6fa4d59f6cee2f61b7a32b4daac'
            'f289208bfd9981968144fa7669c2872cfe67cc15edba6cc109c926b22596a3c8'
            'c96be633a6b9da032d4aa5e63ebb72924b58d96b61e1f723723a88eafd6c1015'
            '27cbe55e65de1dd4dabed9de5ebd5aec1f59d31735c57168675ffc3878cdca7d'
            'a298214b7cc5a5a807031cda012751692b6d96b83a73c03d82f9f9b909d59be6'
            '19de4d1d77ff6eec0d0840ae7b8c1138ea80e162dc62684f8eed59b47670e4ed'
            'dd066e9bc0d22915388b3be25afed12db90197124afb5355599676a55a2c321a'
            'b6883ba8e423eacc9f5715172ce591bf056891c4420a952de2284a79293afc49'
            'f01104e9ae87d4abd5a54ff0c93f474c08a1b6c28c3a6d175c5006b7dfaabb27'
            '73a0c455ff8e9efdbbf278fcb26711732b85ba3c66e1fb97882e09979b288291'
            '2dc98ee6d840409189208d5e82ee05ef2aa4f9551045e230e07e17222a1db10d'
            'd90e4348ab6d4cd786acc8a474a9664730ec81b41db90585a3531d19996821ef'
            'dfe77d29b1290a17497521e464ca1398f4961310ae07795de44683df7cac2a3c'
            'adffef23919ddf92dedd9c81f5c73cd30e21c9980c354bf20c7bf9ebe58a9709'
            '50124f81e3db868533e13436ef6c17c09b591962d021869a710a0e9bd826887b'
            'ba23938f2767eae74371618aa06d9bf98c70352007d2ada2bb46f3c8e6e26689'
            'aa6c7d37b9e8590404e7e3ad32a1d9845fcdbf799f5b59cc320ec17dc50c3570'
            '2b30f7f634d0f6bb431dd8378e198cf397a8ff7b57b613c085d206b4ec68cc38')