summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bcc37c69996ff21bf889b32bdd25671f9bf875c (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.2.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=('aef816f612dd00f1e1bad41ac38ba785272470f98df681b0684e5756b1be5d37'
            '37f4dc04bc9ebedcd9c375178cc03373532392899ad00c483d5bd7ae23457df7'
            '7269ee12161981a7eecab7373f5c85b7f78e2e6c9cbcaa269f201401d8ab075e'
            '8239272900796f575c9986e396e8e3ea931df672c978c8d65da64f442004e2aa'
            '71d4c5be54a1e3abfa7a68b32038e0176a206569a006339dc795f5a4342992a3'
            '028ca76ff997eb5594048c7dc8f74a0cdbd5e01d0100c3da6babc2e2e885bd41'
            '654795be22a2397a5f3b3dc16f3f969b2b7a3e15494244f0db895015024e26ec'
            '52c14bbd1b989a5e60dd9fbcb20de1d714f568e127fa35a80f36be541a496d5f'
            'cccc40d4de69a58b1efa9ec2712413dd953f30b1d9f1471a1fa7b5d3a5fc68af'
            '2cb4fcc1c3992b486da9e3b40202dafbc7c7f05a742fad407550b50a97c9286c'
            'efb1d1440842fd33aa191f7be82aa4c01900b7c88285bf73a074c2b559925414'
            '5f561a0febbd26faa99c198424d5fecd7e54559b64eab0d0403f18c0437f033d'
            '874241274a05fe3f5d2bf357859cf9137e555ae75a0e10de29a0c3572632ada3'
            'e935c4af754a6513c179c66353a9aa85db4813e06780b8edab1f4d4d7601f4e1'
            '1e2a0585b59446a4a8ed311dbdef0861ec428bd51554ec6e29ad9b24e3bd58c5'
            'b975f57f3ccdbb1d824ac4a12515aa5c35bd20b0b6e775bd6e25dbd958f30eb8'
            '0bb1bb935ad3c48f25aedfdbd8281e71ea13ffa6139ab215208794343f634ef7'
            '0efd1f62a253da483f87cd0e333692d315aaec36b2b0d501a9f41f8dd3274f0e'
            'f4585a56975c8682723972154dae101586352511587bc5e73054490c604c651a'
            '37f02875d397eefbdb88ef88c8012a31101fd9c0cf9a220b84f6c1bca02c8584'
            '41093f3ff2f2cda1b1b75cd97b1c7a0ecf7539044ccdeafbd60935e991e1e7e3'
            'f1ef9a623b436f97ea011829a16922e0b0ba4a1838703eeeb1fc8931cb53fa08'
            'd45c85a8b7a1b1194fcaaa3993f3c4adcaea0006ac1e5347889d581bc29a11a9'
            '035096f0432d5dfbbddc416c6063812e590995e12bff5c89831589e51245d967'
            '6d510b5e40d4126a3300673a4095adddef0304de65dc6ab7637e0b2c043c40f9'
            'b4e8bf3361aa79367cf0ed6139f168cab3e44d6004e518f4071f95cbca332687'
            'af3dd779adf4addadd04b5883305c422b2d3a07c1e466a985f0104cda9336370'
            '987b858b45b18b16598d0eabd5b58fee2fcc2ae9f0c9f0a5376b89f7012d3ed0'
            '50a69745ec20583c1651157383c2114d7cb7ecd12d4195f075362b5ccb768461'
            '580500f06492dfdbda48a8522f5c15318947919642227e5a243372e6a3fa5ff4'
            '20928632c7472ce053e6c104cb13b63df8d4708c32450e8a6eb62febce131d95'
            '5c7e0d450a58fddba76b474fafcd24867403536685eb7c7bb2d17d0b94d93f39'
            '9ddc15b3d152b14443df65bf65a4613118dcd8d6f67261f0dd0a9cbd3f183ff6'
            'e808c527c63b50684286c4cf66972feb590a96ae55f4528ba0df11872488541b'
            '044f76f7c07202ab6c3df8cff75e47955c1fada813864014f9a1030bcfcff4a2'
            '82e3185a26487617c36ebcf17a64a2920c67935fb8e32b69213f13297803e170'
            '8d5ac7ed9fb62495851294a3effdadacabf28df3ee0c1edf718ce805f1974bad'
            'b8c51b497862bec129cea828c97c82a40e56720f1c1a91c9c091a3cc056d364a'
            '4c9474ac88dec604ae3a16c46d29bc3d57e68a0c875224504ff1cc613e517dcd'
            '94814486d4d2602e54390ee082fba29c24abe2b0ccfe3f277f31005d47cbeccc'
            'adee507fc152a12592194ef9dcf23cfdef7d8da062281ef83e95c1f1566aa0de'
            '68732c18db969fa72a27c0ff93c425de8aa096ba6508dba7bbd4541dfb10fe26'
            'f245820bba404518460311347884e68dde5ab53d76e3af409115b964cae5ed4f'
            '1583e69f1001719c4186eaf1a4aebd489542fbb53868ed12292fc3625370a5fb'
            '7387f11dec7ecdf9763688f873a04356677517bd0842623ba7d87f2a5bf4f237'
            '3441a9dfc80fb6181091be7d39f624df400d152b371ff1f9ad494e4fc9f35f76'
            'cc06f5d3d1cddcc38ea41859356468b1562bda5e121988422cc2f041bb42f881'
            'd24ced77e76f4201d57b8a022e4a0b6737bf9a4d08c01e571e17c8bf2a8c4400'
            'f8ab7d4818992c0b24c8e4bfddc93e7b4e13ae6e87c8f81ce7f8e470648c5e5b'
            'b830359182a5ef03f0907d72084e1d3bf54aa737bc206c75692e4f82a0302071'
            'd3e20e1eb4e328fb2f646248a2c38b4b792f74e8f71ec8d8518b94fe948dce83'
            'c76021f3e9ea41cf850d113d763b1466ecbd4e03a3cb507aa52be3e688823ff0'
            'fbc150dac8fb192bc00017644b3f0fb4fc25dd5cf1e67468a0ee722c35288739'
            '92a99afc966e40f9c42a478facb43b6e431edf35db5b09146dd5ab5330630a06'
            '3547714a0f0959cf8b170af2ac25df0263f4dc6fc5504ac26314ad9da1a9d070'
            '1544c862c9225176eb173297daf7c6b21424eabb0665b1ba2d695587f2c71129'
            'c565c3a9a1802b125792ce00d304bd8934da533d171e3e673d1d9a994e4ad3e2'
            'e09d14dc322096c96d143fe277e22356ca9b4fd2d93c802ab9f6fd442e36f149'
            '87d4b8066c5181cbdb77a9f56a36852cf2c0974b4b75157ec521a7409d358c33'
            'be788cc7116ef303eab2d08f47507e5773c1c0865e68dca1fcb1deb89ff974e3'
            '054458665bccf0a39ea63e784698939f363e4ad9ff39d2e791e2dfce0b923fb1'
            'ba379101748f25303e41d2bdc4c1935326accc70dedbf19af7ddbfb447473db2'
            '3eff39730b6b4bb8f639cfc3322c53802ed0f14ab71df28a0944e4b3197197d8'
            'fe0bb0c84a4c99471603308e2318abc68b4bf3cd65b5c4082c8255f56bd79406'
            '79916cbc2588b9a318f105a4a5cdca0b5109c13dd3c864bc5ae9d5daf0e3d7f9'
            '8d9edd63119e0d5de547a78c056bf086f63148ac35f8a93f9114feaf48f42aec'
            '319537eb5531dc8782b37477e6e1c7bda7d76571ef409329d1012a9995af428d'
            'a0af2465f6906e5e14d06aaf6f56e5e02a7f484f1efead9d3e2ce4178ad4bc93'
            '133e843f1035deb3b48de5fdc2914cc881b07fbbf0df7084abd8b103129520e2'
            '1162eeb4a1c5ce71e6b50d5292038dabda860b16e3b181339667c76a696af625'
            '4f81a7e0961e0b9f7004b67c74790759b6cd7c70829ce8ef5acf50c94765c773'
            '3c0e057679c299cfe12c28529f6a9a062763660634ce52e5b6aa620d30c33ec3'
            '7262400268cbd8ce5d12957bc031b94b0e72de2d04f507932bbd2318c849ee5d'
            '719eec9901a10ec18c433a46e74d97a194b0149313d5f50e0502eff11b126987'
            'c3656599f9d6f4c77a095c4fe15ca801e7fe1dd5563b770709c4330aa0159904'
            '82ea814d5c6c5fbd25a22dbdbdc1981b9aba7adcc17180278f0d8b2e481666e7'
            '4e2307b8bbf13368afa20dd99ad22d1f2d0ed090fb7776774e301e41552e40bf'
            '177637040d9f5e3891ac09db4e2d265e653359b90ec7f3b28c38d0bcebb96d45'
            'c6852e5075b071698bf14081ed0731ca2b4bb4b4e5b5bac7db9812492f0dfc11'
            'e543688e3341125d46264b9a9f93bde243512915a46383564b81f0d95d886a5e'
            '194a89b65fb613855be3a4ce5f62ebd8039a8f38a4ee4ff6a11258a98b210bc5'
            '808c121130eb3322e1e0ee31e95ce9649e38e30d62febefb1618da660e09e1a7'
            '6dcd47ca20a3228de4b474c846c29466395034dc5605fdebbfacd79d6cbef991'
            'cef423c9505c825503728f84f73dda6c96974ebf0c2fde0085557a32a30a440f'
            'ae42682246c494f129c4e3a0118d6809305d5b77376530d34d92a34675079b7d'
            '4f1e2a99f25fb408db58dc4ddc932fdec62ab11b92951a6fd396ef1226c6f8f7'
            '247112ae7a808ebc4c70f5f4d056db202ec0e82472b4aecd760dfb5d7e934aac'
            'e52f3da82ebc523d1aa9b450bb1dba582a0884b07f96df82a968a59d3c3a4998'
            'e8c1beaa215f548f578f44815c417c1d7b750f2160efdc9ff75281b3855ea8e4'
            'd757c4fc0e892a7e42b40d267765645ae3a103a2c2b4fbd1c405555a44b9de5f'
            'cb2933d8568b67cd730d8279829ce0c756a8147765b56e84d8c873f6942e8bca'
            'ac22ecc2fb9017e992408882c448da528bd840baa64164140e5ddd37d0c5ca9b'
            '7464caba30b283b9e9fa22841bcb4e0d9244ec3c14cad4dcf8dea9c1e87e1be9'
            '6bb37abbf9bd3209a0922c328451b2fef5dbda6ffecd11c92ec94ff94bfcb7a1'
            'fca7b6aa3e20e04f41de2957eb1bd5b180fa56f0ad1a54cff6f7cfd606697435'
            '77ffc158df4f6e5f87567706c92d78e71485537a273cb1b20e46bc6faf7e11c1')