summaryrefslogtreecommitdiff
path: root/libre/iceweasel-l10n/PKGBUILD
blob: f3ab2134e4a5fb171d57ede76341d3f43fe07e3d (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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# Maintainer (arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor (arch): Thomas Baechler <thomas@archlinux.org>
# Contributor (arch): Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor (arch): Michal Hybner <dta081@gmail.com>
# Contributor (arch): Andrea Scarpino <andrea@archlinux.org>
# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Contributor: Márcio Silva <coadde@hyperbola.info>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: Luke Shumaker <lukeshu@parabola.nu>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>


# parabola changes and rationale:
#  - rebranded to iceweasel
#  - added replaces, conflicts: firefox-i18n-*


pkgbase=iceweasel-l10n
epoch=1
_pkgver_armv7h=75.0
_pkgver_i686=81.0.2
_pkgver_x86_64=81.0.2
_pkgrel_armv7h=1.parabola1
_pkgrel_i686=1.parabola1
_pkgrel_x86_64=1.parabola1
eval "pkgver=\$_pkgver_${CARCH}" # this is actually an 'any' package
eval "pkgrel=\$_pkgrel_${CARCH}" # but our different arches do not always roll at the same speed
pkgdesc="Language pack for Iceweasel"
arch=('armv7h' 'i686' 'x86_64')
url=https://wiki.parabola.nu/iceweasel
license=(MPL GPL LGPL)
depends=(iceweasel=$epoch:$pkgver)
makedepends=('unzip' 'zip' 'mozilla-searchplugins')

pkgname=()
source=()
source+=(brand.dtd
         brand.properties
         region.properties
         languages.${CARCH})

# parse locales and package names from language list files
source languages.${CARCH} # sets $_languages
for _lang in "${_languages[@]}"; do
  _locale=${_lang%% *}
  _pkgname=$pkgbase-${_locale,,}
  _src_arch=$( [[ "${CARCH}" == 'x86_64' ]] && echo 'x86_64' || echo 'i686' )
  _src_url=https://ftp.mozilla.org/pub/firefox/releases/${pkgver}/linux-${_src_arch}/xpi

  pkgname+=($_pkgname)
  source+=("$pkgbase-$pkgver-$_locale.xpi::$_src_url/$_locale.xpi")

  eval "package_$_pkgname() {
    _package $_lang
  }"
done

# Don't extract anything
noextract=(${source[@]%%::*})
eval "noextract+=(\${source_${CARCH}[@]%%::*})"

_package() {
  pkgdesc="$2 language pack for Iceweasel"
  replaces=(firefox-i18n-${1,,})
  conflicts=(firefox-i18n-${1,,})

  # explode for branding
  unzip $pkgbase-$pkgver-$1.xpi -d $1
  rm -v $pkgbase-$pkgver-$1.xpi

  # apply parabola branding
  sed -i 's|Mozilla Firefox|Parabola GNU/Linux-libre Iceweasel|g' $(grep -rlI 'Mozilla Firefox' $1)
  sed -i 's|Firefox|Iceweasel|g' $(grep -rlI 'Firefox' $1)
  install -vDm644 "$srcdir"/brand.dtd $1/browser/chrome/$1/locale/branding
  install -vDm644 "$srcdir"/brand.properties $1/browser/chrome/$1/locale/branding
  install -vDm644 "$srcdir"/region.properties $1/browser/chrome/$1/locale/browser-region
  if [ -f $1/chrome/$1/locale/$1/global/aboutRights.dtd ]; then
    sed -i 's|Parabola GNU/Linux-libre Iceweasel|Mozilla Firefox|' $1/chrome/$1/locale/$1/global/aboutRights.dtd
    sed -i 's|Iceweasel|Firefox|' $1/chrome/$1/locale/$1/global/aboutRights.dtd
  fi
  rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win}

  # re-pack
  cd $1
  zip -r "$srcdir"/$pkgbase-$pkgver-$1.xpi .
  cd ..
  rm -rv $1

  install -Dm644 $pkgbase-$pkgver-$1.xpi \
    "$pkgdir/usr/lib/iceweasel/browser/extensions/langpack-$1@firefox.mozilla.org.xpi"
}


_sha256sums_75_0=('e5dda36c10d614f4f800091853c787ef5d110a69b905840f366d00f93bc81b71'
                  'e0f7df987f11e4319d8da90e6ae2d2912128ace55274ee1a26f9cf683c69308b'
                  '6ffccb6e19e67504757f9e0459acbf15d2cf3422a9dd8da55b5b37e9a88204a0'
                  'd66e58d828254b8a51f4d840904e7bf68acf1e869798658dcf73a682fdcaccd1'
                  'ceec1bc104f80c0d7ad97d4a96a5d2e351df14b1c345c55eff05ded15d7f9a41'
                  '469f14fb458f4d76bee5be9fb510a2c68a2f1991358a2ca7e8be251b59dac7bf'
                  '7eb505070ddcba25eb54deae280ef28698d88b95419d2fa187eed3bbaa64a021'
                  '0553f92403693eb7a6324175a480b954e3463af5b5c16465f0b3f364fae80675'
                  'a3d6f0f2f10376c9215fd72cc064a59b98727cbe7c86adfc4ad1a4ee8fda03f9'
                  'c0ecfc3f30750507aeea1a66149ae810af22e486ddd81cb8ac20743178e890cb'
                  'd6642d68f75b7e49917e86cb3ff2522f433e07badfbbe19c3d973a8390f61a56'
                  '4cd17bd1278eb4614fddd01360e6975c0ef006c4831b576d3ab9163c035d6189'
                  '44eefd98f77e0ab6b74fee51618894a37a0c74f350ffe4a3be9ec0456acbf95b'
                  '6b9a1c35cfc7c49f9fe1efc1d158d150f5ed2337dd92092a80fe157b052fa554'
                  '45d041e8c17c9cc2676619b8623422cfd05b7cf7ba53d9848cbc2f19ab034107'
                  '2edfcac910ae4ecc7f049beb1fba7e2cc049bc9049bbdf1609aa671d44f07e19'
                  'a943d9f624de989439e0319588bc6767a3c96080890d6ee16226924599a894e0'
                  '2e3f2f3f56f84c06cf37d7c460c4d414ada58d850fcbd16dea5d844df92c1916'
                  '997c0d2c2a440fda6472c4231a2032c1884a7c2527ca0c7cffe9b044456b3458'
                  '70281a850efc000dafe263ae862872abc0b18f35fb6b667baac20fd7e399a141'
                  'e226004d4f877c48e7438a9b05d865527677a7e528f3c54b934f47980fa427c0'
                  '6162c7c6485bb1955d8ab16a4db39b644ace06ec22da71cde9f6deea9fbcc3ab'
                  'd40ea5c03f66c7ce654c56210e8b458b5010f2ebb7bc7977a97d545eee4381d2'
                  '7e8778d8c7397a28df4487a32a9dff246643a862e9711ac6debae4d43c4b86a9'
                  'e73ac9415931ac18fa66c9a5cac16304aa5553da4abcb662d61c697defa2c09a'
                  '03f359b44e32ec38d3107558d47735d7ba7936e819bb862376b178568c4ced40'
                  '80a145a23841e235f89d1eebc7e406fbc7ea17a26f385659f35f761c93ee6579'
                  '58c7249e38ebedc2afa9182a1ebdc2234a01d6435a0776da826906b8e6e3f073'
                  '5db36c91d8b601152261797452160cab2628567573870b65595110d6903300f0'
                  '566d71abde320493996a6bfd0385c6e1ad44cb3f46a42f212f5e0f28f8ecddb7'
                  'ae53e504df34498fac82b78f8e2ad0a9c77236d5645fc824f4517fe38cbb3c53'
                  '69dbafd1ae0faa6ed8f9cbf7927d37ed71679bacd1ee9baa2118b6ef83c3173b'
                  'c214a3989c486be9a1bf091b88105ca1e665abda3538a6a459315fc4d4d0e45a'
                  '2e1a9926988a072f85349c93dae4b5571c48fa117dab694a4fd6b4975c659565'
                  'bf4900fd9f2480a163f07a763d568c4b8c5127333131542ea79fc8e004965c33'
                  'f8bcefa601bec03bc0a2787df72e544d18968442216be275c4c202f669dad7d4'
                  '53edbefc2775bcb5ede5cba22858753a63e54af5017b243cd63ec05d84ee08ec'
                  'c820f2f5c35e939685c20aed0110998da91875ddadda1593071d0fc894de853d'
                  'f7795261423565b5e558d4e63e2a6bafd394f54d4c936d9c0797ba04c46fe5e4'
                  '02878f0552f351e928ad0ac54e4fb20d6c6f74e703bb859eab750ca03367630c'
                  '3c5ff6d373f0d99c4fbf029f3cc3670df44033d2fedeec187c6a2b89f5134d39'
                  '4bf41c42232e52fca4a6a677b9978608865d95ae12af3321f197143880301cbe'
                  '4eb4814059c8966476fd8110acd45c340504b0ca25f29c49db8bca886c9d3930'
                  'a7160d6fc0d0ebcbdf435ec7730aa92464121815b1734418089522f2807882b4'
                  '96265c0d21e16f11f795df182cf3ff65b65b2ed37055c84f288a3e7719a225fb'
                  'b4b857f197635fa69fa3766198776dcace3fc12639a0b2d5a7aa8c92f7b1b182'
                  '3804d17c05ccafce833da6f23a5515776b1b94afb6689ae48fbcfaeadddc7cdc'
                  'ae49b954366cad80f3dbd0f96b8d69e473b0eefea1a24b0eb5cf9ac587645ea5'
                  '6130633cd3da6b69184ee0bf155317d8ca99a8dc057f0344786192eca4251085'
                  '50c5fd4d310121b78ed6677ca7ba3d7b4499cbf6205408740d8f6761d0ed6069'
                  '2299fb6cb4c44bf820d8a0eb1807174a96fbdb149617d543cdc7dc44a0d990b3'
                  '3c1ac78d50573ae276a1e6769f207e7fd64bc908642cb52acb91567c41361949'
                  '2917f585e996c9ecb476f83eaa312f2e74d84834dae385540811af1689f94244'
                  'cf13d5ba5092270622896b833cd0f0c450d3426c52e9e728f7431692651d87a3'
                  '8d7c65158a896ea33375b3be03b0fb99be4828638593f9b30e0373a7000b3462'
                  '2e3ecc911c104dcd79a2642c14387bb6fa8acb18e60bcf52501949c1eb1d315a'
                  'deb41429762d5874d8def44c283e79d96c3259977d3d186f14500877ac76dd00'
                  'f847b66454e3b649b06df2632cb3eb8cb9d921eb14bcd8beabc81446c5f20ff3'
                  'd106c15a3409c7277fd3d8f45505f6e80b7d9d13b5725617a3030530ad744f05'
                  'fbf44bf20cbe164db756a199b95142c7b33293d11bb81edb23e319e79a960e5c'
                  'a36f165d16d2d3066a54609b763909ae266ed200606abfb1174c2e40bb73c2f8'
                  '2da35523f5edc874fdd87df67371495ecb7d1bb1ab45a2a3bf819f018cecc298'
                  '4267209c6f10dcd4a8a58ead1c0773cb10141f0e39d9eb91666be00e203e76c7'
                  '4b9f7e39b9187dcf2e1e991c16c1a145c100fb7368b99ea4b571cfd99d0b9826'
                  'fcb7711b04dc801cfcadbdf43b284973fd5e9efec54f71ce700df0e31a1bc25d'
                  'f85c1263a7ca487fe694f858709910508deb9c619fd108165895ae027b3a3a00'
                  '4b94f853b0477c581b1a25f0272aa736b5d0ea2a915262c7301915d111239ffc'
                  '6cfc5b2df114695a6048124cd961f7211ecbc21601eadf6fa8641187d3b740ae'
                  'd3a445bcc528a1510432a2c4349876bab176d6018e5ed2dd8ec162d03f4592d1'
                  '7e0b96cabe722fe18948d8fba04e6ba9716e69a62d9b9879bbe4c8c3c2b22e9e'
                  'b2100de85e60f53ffce0ffe67568c102bba3e9e854374d505ceb7d80c22f0b3f'
                  'd211cd58612008684e90de29f35a9d34175d5c5ca6333edd44a5bfec129efe31'
                  'b5f616d8549838e87bf7a04f9312cfabd472146e0887e78eb3cc9722587cc86e'
                  '0f86d304565343bc03868bb77ead385c3030a0a989dddf6ff0b07dca09019090'
                  '544709002e3a5d89706336d7783076d66341c4effc2618a8153d64c9619714fb'
                  '357cb95a85a11e2438aeba09c0880b63e29afb6d099064f99e996d2ef3c6426f'
                  '6382160cb1cb331fc14c93336331c9597b843774c1ee5f620eaa141fa64ce50b'
                  '7f532c736de10647ddc36ce5af9168bc37ac45f6fffb220656c148b8e11ea417'
                  '2c1de53b165cd63200042964c507b7afb7958e08d075abd7d647dc3141212194'
                  'b714c22ef01fd9c8156f44f620e5bce1ec478ca9a75dc6be0743b2182ac346d6'
                  'cb4b76d4c7db91ffc3cb9e89d97af3002038d32b08b5c845eb0c7e78ac14976c'
                  '5600e7987085daf29af3538a2f35b214e361f6914115670f3c61ddc99bcfe198'
                  'a65cfdd53dd89b85e522f16952e94b26ad9b9523a91c1fb1b7598eac0c4ef1f3'
                  'd6b3388d686b2ddc0db77fcb1940d16cbf9357674fcf3c21d1777fa4032950ee'
                  'c3f4ec85520e2af70931bf4dff835bcf15c99f9c0a446ce67bbc13132873eeec'
                  '001c5df2e6309177d67040ab33a18d1a68624b53d1f3c5f51c63ca4f82f62c13'
                  'c07faf8849ed1fcaf591e1e7d6007b6cd68355c55af2444ed30e8cff57467da4'
                  'a7ed9e3e02c9101b84f8d00f27ad102a63f5c16ed763ba1d19464baa2d3d8276'
                  '6a2941f3c7efec9f08dd755bb18c8ac1aadbcae7ea0f0782386e1a845a7a919b'
                  '23e34991c441931ca1856fa1ebcc9f0b26d7c8c64ff0d18cb613088d3340f64e'
                  '2fa6848ff382b26ea8096832731170df301453749cf741b54e3724bce003b5bc'
                  'bc65549b0425b9844488a8421c8a7df5067c4ab1b41a7364bc802d6ca06bfb45'
                  'aef9a0927a6354572e10ddb5249475b7b8098db1444e791856d5ecf8b0d511b0'
                  '9718df9fde5116c9da021057344a4d9841f52c5c24b7dee40327a46b6300c813'
                  '16f785acd00278a7479859be763cdab19079adc2cea2ac2b5a2ea3642684f7dd'
                  '8c23b66dddc902afb6233c57ec25e0a7c14b9d2db178180a322b6077887ddaca')
_sha256sums_81_0_2=('604aa5451e258e79cd757543a99e1354cb6be6c53419d7e1e89ea48e13482393'
                    '1051a08c9d5709e40f1f4a7b4701c1437aa4e39bbfbfa0972aa6b8fb17c53c03'
                    '0bd430da77d9d323dae35ba9832f0cf626cf292536c0e7590dd4ed2c9b6ae253'
                    '2ff2eeb3dc888b5cba7779849050fe684038c7dd9793dd80d475bc1713b6dffd'
                    '9fe4c1a1b3de982adccdf236e643e242db2cef468a06e323ca4de76f13280ff2'
                    '03320db030a298d8dfa22032c991f87b6704fa297caf38c627532346057453ec'
                    'feb2f8d65fd434a16a78f485423172b48839f9d1330e3d41111e933b54cbe8af'
                    '0ec565e217543ae9299473718892cfd3dd4ed81832e80ba8ccb876db27a2c2fe'
                    'ce24295751e749dc01468a01f2dbe1b3e6dc1bea3e54d6cdff86bf5a551d0606'
                    'd134bdd3ae99890f927e795a06e4d54970d6d15d3b1bee81fa239834f2631c8b'
                    'c1f7ebdce0e73977b0bf36e89e0bbbc057bacf018e84595a5c608c08b7c5af6b'
                    '922de30c33b67c787d519b7f9c92fbc2fb23156b1ba9b6ccdef9be9527c6a523'
                    '11d3cdadab2f3fa4659e88e3b963a9e3aa2a8705b15b43aec2de0a1c389fd7fc'
                    'c03061ddf48dc4c89dd17917dd16a11b049a21058578c1275553923484542484'
                    'cd11e2b4bbf67ca7342641380eab80b4701e0fd8415b137db2c7554ae2975592'
                    '98437050791292507e46809183eb3f3c1e95c2fbf38d664b6bd5126d677096bc'
                    '946493acbef2ecfcb18da46f3385b3e6ef87aa352c248e4a8991edcf7d6f46dc'
                    'c68bacfb0755360a8ed84474bcaa9fd91449558d9b790167ea589970369c3bc1'
                    'e8d8c1ae148c4cfa285e62968f3c608611c15819cc93fdfddffa5be29c20520e'
                    '327d3605092f4bd00c0d2f69472e98ae5a1da9dbcbd85b31ead7de08b6c6f2b2'
                    '70969db6ff80f6efccfaa3b5c57988268d92bdcd55a9ce140a8562c4b6c9351a'
                    '97c05cbda075f1d618d60076706fc06342c13923f9f877ef2b3f5f89822801ed'
                    '3adeea323e81c7580bb45c291d39b94b345362402b9322eb1fdf07e217b4787e'
                    '262845b9a68d5a02e012973bc760a523524f43feb463451d9995228e9dc70393'
                    '3fb54cbf688f1e92971d30d9552c776a4fe11152de5a2a28f4a13bdcda0e04cd'
                    'bd265cb44f58cc9674038d064ab97ab4f58ca5bec558721780489c439896b02a'
                    '4ac8915bb7ea75f0ff0dc79c30f8f97da1e5e24e1b42bb7dcba615de67951704'
                    '136fc5a5629e30acd3bceb2992d19316319274c8d469719476b70d930c5a00ab'
                    '36b062a37d603d23dd206fadaf0c3d69c25c73f058c2d9bfdbaee2e3cdf453ad'
                    '47bf30bc53288d9b06aee041c4333082ebc47f7717df50efefa343166fa4be1b'
                    'bd4af27f62fd7530bcf2fc2d643e95da1faff941ccd791854f9d5ea0ab399199'
                    '6b3029586f01df71c4ac24534dc8c7f0e7ff1363084ecf8411f42d03ad8b369c'
                    '33003de372e123af11e9a638151a2b209236b968fbc937fde6048c98c27454d4'
                    '0663318af5b9f53831febcb0ec29d0e6c06bd8cc10f987199a74426ebd7d5999'
                    '4db5d6d77c40b29010ca17627d0b0a7a9d3516e5e5e5cbe1f50058c0ef2f1662'
                    '22a30fafb4682f72d776cdcc3e66405ad7ff80f56ee6b00e580523ba678523c8'
                    '532de501ebbf9c361ddb0d09a1c0f7c82921a5a3f2f3c241f1c0512dcab6962c'
                    '96b7685d5bb55acfde4e327c97aca4bf428e8f22d1daaba685471a6678b0a3e0'
                    '2a2c01b8ae6561daf38f85e30324fd4c91e9a374c3922e4b30cf33a16dc145d8'
                    'b06d4dd1d284e58a87370d95c3bf37c44a3ffec35e3c5170370c3648a25b305b'
                    'ee6355a647479daac3238076ccbdf00cd64ad602fbfccce0b04f53fb3fb1084a'
                    'd33fd5396da6fb088e6bc7f0be618c2bd3cecafdda89472a2449efce51913cfb'
                    'f1d0cc716336dbf97741da8aa56f80cafd01f2a2214eb5037c76d4c157810a35'
                    'bbcc2adf9e57cf279472c173766627b0f7e6ef08425d7f64cd5777db4f40bdbd'
                    'd0913e3343835e4f6bfaf7c6353b9b1cde380d7915633384e5d86c912da7ae45'
                    'a823ad58b57ac828b5e21d80b58a0484b4f12c99b7b36d5eaed47ccff8d1159e'
                    'db89f43db9c82b98a83eff4554f998fc7d5561a8148bcafebb023f9e14ef1aab'
                    '7c431f0e47bb3950fc872ac126018b14f7b20ff8dfbfa309d45f105e280637b0'
                    'b00f4dfc43b14d834681df38415c7dbf13f244ffece38460bf176b7bd75933b2'
                    'fe1f9a0018ae1542e993b7962a21a146fafaa941b5eb2df3e346365967e307a1'
                    '45ecf45822daf34ca903917b089ddbdd1da49bd987a5d37c551b6fb38b8b1ebe'
                    '61fc984be51defc98be9a02a1f89fe8f7286e3e77648a8cc8a5abedb5925c381'
                    'cebb89c6196b5233607b89c07e7e88bcdace37d5c7a2f821ed906c44c9a9b0f0'
                    '66579a867f1d2da22ff329b63f017d456c885bee15e2e5d3546bc5bde436d0de'
                    'deadd03702e7c08fca31a9d5f5bc5210876fffb95a6f4cac08d00cb938280439'
                    '1a3e45dbf4583a7d8c06eebeb92c89e735b16fd9a2c34724f83934b8ef3b027a'
                    '5a7bd40ef246636905b1f31952c84f7aa4579900e23af3ea2b1d34406598fff0'
                    'a1c2e0b4640453fb94395ada3af91e86c6d120c7e48914482694d6feb8c395b2'
                    'bbd50ae8d4c8c83df4f74a380d7d649da404bad3f7ed6ab969084d0451c93f1d'
                    '5c1da64216076a462838b12bddb4da219d30811b0701189a0e172bd77830b29f'
                    'c8cb2caac53f3686cd9ef92efa31efd928902a2eccc692b85fb85f8ba03d231d'
                    'b7d27c7520e0c7a343ff9c714cdb21c9f336d0192a78acba40fc7ae8f6be7e0f'
                    'a6f079645bb17d2b237cb835c6f547ef21e1a8cf1abcacb30ea906a81b9dfe3c'
                    '1d3dc376e47be71de62f7cd5f705b40d2a888c4e53b4f8d8b1f46a48767c3ca8'
                    '1214da045fc77d93d309379f792b29fdae6529ffa61cf2a119293db05b40e24a'
                    'b883c4b009a924f45fb9cdf7c25104d59fc75e09387f8eaa5facc8bbc870333c'
                    '44d1e6451f7f61b9250933bd5bc8c999234af933d28c3fd97c0805e52308dbcf'
                    '49a08cf10d1ba7d5485946f92442e12ce518cf1774a5066ef9bf8891fa297dc8'
                    '85bff6db7c89620bc453adcba0779a37b792c525b375868a5516fede5e40e712'
                    'd9907cd1f6f63c628b0595d51f2f7d82aaa9ae87ac17a871e3d9bedd0956b910'
                    '22fdc1e1f22a5ec149b7b131d590f1f2bee8406064fdc07d482e8809eb7bfb1b'
                    'b8f7ced54f430c18a11f1c0d344759cad4e6b936bb7a75928776f04c845a7569'
                    'fe91b696ca1ad9ae7d67f49624845a24c05199cc514b650076527697c3f79404'
                    '8fcb74a335757d3a71a1ce4f5ac56ec2d28accc6ff55912dcb39e2bd1d59ebc9'
                    'c452f6e2bc80710a9294297cb2f10e007e3b5ff7e23bde1d9f395b8f3401f163'
                    '0a002cadec157124f7e5281769da42e67d108b606e64cb3dfd24682d5633cb1f'
                    '247f57b419d6dcf2cdb463b871bc9798427b5a695118cd039245eae8aa25bf8a'
                    '9d10971faa0afbb1aa5d8702e04a6abcf777c4516102451c6f96ebfbd36d2d3d'
                    '296af22d2aa7da72a9e413dbfe99f267dc11f7d307b051d7165b0773362479b2'
                    'e5663b9db0b7081e3df775e8e299c79c6b6bf46801d7bc8ea2db97e06c1751ae'
                    'cade8ec32b8e3c14a462bee3d1074688537e9835762fa2d1e49c29a5b0602edc'
                    'b06a1487b4881ba91c923112994da35b68db8a77a63dcd51669f1d5d1f6f9b52'
                    '64de1f2fe797ca72fda1058fb3b33267910cf7890b4eefcd1e2c026b4bcdc211'
                    '58eba7c1b53bb988c72d7bb2c006c104957ba897ecf4658a387ae8e6a74ff462'
                    'e07ff12e0d7caba0f2918ec9ceab671b924b7c1793872871a8c7c4cafe48c2da'
                    '606f254c1b2344c776a3335a747614cc4c56548b019502b816dfcaafbdcc3a3d'
                    '87687e8a5db25e3c19fe9557cc8d5d832b2472507846d87e71cca27c63e9d268'
                    '9a340d62872f281d63cc0bc9523cda21afa50e24e162ef4603a1f5d5ae72f099'
                    '7f567daa00eeca8f60136d35a2d9bf7115df61f4053c6a687e485303a290dbd1'
                    '1f36aae53643600b0cb911ded167ab2bf3623d334a79e0a4cf5a967a684f6fb8'
                    'fc6f8d874ad0a4a307109e3d54a763aba158195f12e2e8291c73a4c4f1985641'
                    '5a3f512df7b59b9df8fe8bc58fdf1cf528c81afc4d284585df7dabc8053106ac'
                    '85bd9813ff26b800b2a316f58e3f7d23c215e564a3235d959db28f7e6f3bbc72'
                    'd9e66b9a6226a8056a47f9c475f03486311be4d47793826a2a434f06e6d1a062'
                    'f6f2d3f8573af9281084967c65178c9bbc2fff28b2b3c103f48960425585810d'
                    '891ba81c96b32cb099478c0f34ce2f10c1ddc7775ba4164be61bbedd2760d480')
sha256sums=('19ae5b59e3d0b4e880ee40ba7f34279f83d65b0af6662f8d8cbc733b763664fe'  # brand.dtd
            '24fe5985142fd7f47e482c8e9ee18b90dfefe522c1cde4d42a33b8e289835fbc'  # brand.properties
            '81d1f98843f29a81c10a9a96655505c72ee34acee45225dcd307ae9a123e63d9') # region.properties
_sha256sum_languages_armv7h='ed146596ac6790b24cdae2bbf64405dfe221fa12512c7da8c6f236b7a38a641d' # languages.armv7h
_sha256sum_languages_i686='11d22076b30809bae5e3237f8d9f858ef89e360767ef3f10fdb894825a2a1dd9'   # languages.i686
_sha256sum_languages_x86_64='11d22076b30809bae5e3237f8d9f858ef89e360767ef3f10fdb894825a2a1dd9' # languages.x86_64
case "${CARCH}" in
  armv7h) sha256sums+=( ${_sha256sum_languages_armv7h}      # languages.armv7h
                        "${_sha256sums_75_0[@]}"       ) ;; # should match arch sha256sums
  i686  ) sha256sums+=( ${_sha256sum_languages_i686}        # languages.i686
                        "${_sha256sums_81_0_2[@]}"     ) ;; # should match arch sha256sums
  x86_64) sha256sums+=( ${_sha256sum_languages_x86_64}      # languages.x86_64
                        "${_sha256sums_81_0_2[@]}"     ) ;; # should match arch sha256sums
esac