summaryrefslogtreecommitdiff
path: root/libre/iceweasel-l10n/PKGBUILD
blob: 305cba76b6dafe72c4e20564320f0fec53aa39f8 (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.1
_pkgver_x86_64=81.0.1
_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_1=('b80545063b8332af0bc57ffffac7bbdcf1598f7cb0fe881daa08be62f07c16ca'
                    'bc4c202c2b437d6b489365178947bbc21bad1bd70fdc6f690e43e25ed18c5ff4'
                    'a1378f766d8046a0caa9dce32766a039a37e91b2ef4e0f47c78413d2457bf6d2'
                    '76f41e2629c8cdf86e71d8142e365fefd758629b281697f338d330110f10ad12'
                    '1d50c6af6f1983cdfbaf1f1c842b25b327fd09e391fe93a64315291a2c1cefe6'
                    'bcd145faa471f3bd2b663983596b66c6b7c92feac39529d461f7d880598d23ff'
                    '34d311aa6818d532ac951ab079e1b6dbd676c290ff02f4e14f8b78ba37cea4d2'
                    '42e72d45c69e72af03568d89e3ca2f5d8f7ee1ce40c32e78f580f4fb058ac748'
                    'bd236745ec2bd3f6df17e3e61c50836c07a390297bffd544cde179a2ac66d8f1'
                    'b607f84d2a59c0a6b7e3d0b188913e764793619fb45ecf3527877f714e50df66'
                    '9a580d4872f0eb9ee515085f649c9b15f16e17b7ea68e0c2f66b817471a4511b'
                    '5c365a320f0bd9a51171372b33465cfca9da05d85d6c6cacceb830f94312618d'
                    'cdfff130f713350ef14425f5cb9afa2eb44c64b8e89f81f8cce3f40f20507f54'
                    '9399773cbe866e19858446057f40c72863d0d129c4703bb56bbcffd7e75b5b36'
                    'f44bd602e7e444f75d10c09ee634ea4e3528f872101628726efce1bf8fb39b89'
                    '9ea51ece2e73c8c605b9e170d3a43db2275dee843d66c1823b4afc0ca06c0bf7'
                    'c4a46d0b8f85d6326b1d27cb52f1ff754d50500449bb39f42c8f4af2022714c9'
                    'cbb416d5a3eab1564651ea5d502ee86edc3c2976e68564b1f981526347b1b40d'
                    '09bbcda63c0b12a889d256bc5c6ad19a6cef5b97230d34d3d8566f9aa7cb83e7'
                    '593367f1901c894d4c9815f6d58ae84bc7ca452894d7756b9e1abc40c400c7fa'
                    '84fbfc3d0929818073ddb5925cf999573221de9fb624f9dd2ad0723c737dbb36'
                    '33d50b336e056249a2bc29f7bc2c702ca850f9f7c258ddcb0dbbabefdaf87b82'
                    '0f74caf4c29a02e208465933f478cc6890d41b0f99c30172f4aa96fbbab3588b'
                    '59ebb5c63a45fd8043f84d5c988ec764e187f6eccc6b5e271596c2c9fc05273b'
                    '529363768807660dde4131d13c047d653dabba28a62f2716160c183ec430b73c'
                    '1aad703e2c5c9f044925d101b323e70011c98305771b1b1a6744a81ffb8b22d3'
                    '927dc690a463cec0fed9031b5e08b4600edf9dfb852861d04faf5aacac22936f'
                    'fb308252d0ff4e304ab64ef1e2ed1731aace62962443e74eaa1cb0a09f950429'
                    'd5ae7855411c7ddd5091ced66d384340a07532ce4770dcfe3aa4a4cfb7690e94'
                    '73e0d7e4fdfed95165172046e2a4fef7999a2803fd28b67dca2534b5e27e534d'
                    'd9faed065ae81181d0a9579ebb4af1d917ddba7ecb5edc10718052018abe8f93'
                    '44c9132438c65df3b1626c0e7b503c14451f64b0d4d399cbfeb3566d13adb113'
                    'b381858f0de13484f4247492b51e427d6d47f3eac40497ca5c92eca519c2b667'
                    '78248e48306af49a48ef5c4264a1070ac701d4c809124012f57e3129dee19412'
                    '6d0858efddfaa0da0a86d8c63d712e0ce2847028d6f9e7a7f0d192e0566aea9c'
                    'bb53aaef0fd59176380642440952dfdefdb3c5c78b75105bd58cc140d503ffbd'
                    'be125a2e8936e9bd3d4686d0f20e23a36bb9be3037a513a509742c44dc7d83d0'
                    '3a3dc9e63033b2494b2d5255bda4b66ff1c8f93bbc3639d6b1175d9e1064445c'
                    '2f7c0b8ef90905085fb551f027c7a8a82ac76db3aee477e6e338a33c8eeba041'
                    '77711737c8ce30ed94ace4f7013136ec80a915862d664e79a7ddf5487fff9d49'
                    '350e51f845666cfe19ee82eba4e462942dcbdf20bbaa6039a544006a1bb9646c'
                    '6691850fd3cd59bd7de7f3e48127a9e4f0ffe2bcf2bf6572be10ff5fcf682e90'
                    '71ea39c72fc2fc106a49252c9fdfb115ce0196a7672c4b82eb25aaa7a5244139'
                    'bbf0ff350333598230ca634633d5defb28e92c77e7803e6e11483b87806b6d6b'
                    '32484150f3804f724e2dd0f3db438c3cd2d4be573506faff5267d4f30dd434b2'
                    'bd0691593ee3bc5bda3f22b8f2fcb5a314c878ff3ecedd454329729cb739aaba'
                    '91e63d40fd4ecb3ebfeb80578750007cc62daf8a7a834681a2930d5c6c3164e3'
                    'bc21bd7455f51fa6a654ab60576897cfc5d70148b75d3d5f18723ae491556232'
                    'b998ac36f4d845c4cf2b36d8305dc77118d35fffbba26596e7fd2e8e7e55dca1'
                    '1bcb05fa7ed3ee0d90dc476176942617e3199c5d1ff6531091a88f7078ae4570'
                    'ac10f964db908ac2455a8bbe80b8d6bb17cf5174a533e80b62476104e130565f'
                    'f831597b1bfbc908695bf6b71c2dcdac9f46e0840045d3a7cd36438c4faaf3e2'
                    '74bd3b8eb4f372e8e67417558e8558b4ecb25d61330160186ff5c46cede5ec26'
                    '2ac75bb65ca8559e0185b12e5c16a11a691dfe08f5ff049a3f007d5333de8627'
                    'b77df8ae24f7c68ae28613f694662ff5ed4449bde5c6adb5393af9800c8e2380'
                    'edf9b95f1cd70a76d52086b5713306b3f84989e6e0eec641b4bd259867c5215c'
                    '716c0e5c1f896b148a238273f98a5dc1545960fb73499b65ee6c42cfab79d9af'
                    '77f6fb44aacdb081321172271cdb01f3eb66151ce28fe421e09b75f308592053'
                    '7c23271bcb5c7a791b5c605159fedd9896aa70a5083d5177fd42b97bd58e4cea'
                    '4687168f863ccf168f78fdc94505fbdc77f49805318ed77e522558e32363a515'
                    'b4b1218df90fec5f05169e39cdca80756447ca4c41322bec5108fef5b1cc28ba'
                    'ccf79cdcf64ed026e3a5d2bd9679720aa312f10ce267fa3dcfb8ed2f148ab800'
                    'b89db1dfce43316dfcef2d97d5fa9d3c4c26e1e83529b216fdc45addf06ce5ea'
                    'd96742303bbed71b23c1e14d1d76427c11fb2e437f4db2edfb745e154b476ef3'
                    'cdf3da5b5d227bec3d0824deead072985aee060152d50e3712e74f22e6274f45'
                    '64f7df49133d6ad0f15a4cf2c9f7eacedf38dd94af7ffc665536ea60fb4a4515'
                    '976be66bc7376f609e8fb88944fe131575139d11ff5b9375bdeedcd38efc9ddf'
                    'a0b94a4af625113ebb1aa09b5f41afbdc1add81f7cab74e1caa077ade6bb27c3'
                    '679cec7e0c0b282a1a032a00c4729f5f30f727910af4bc685b5672ac31db6f76'
                    '14e6ffba7d62bce37cc4c505e6ac7ea3b2ab34e53a3992d889ccba6433eba6e9'
                    '0d703ba3bf8bffa48ce9bb2442c492cd812eb1ae86a688640dbfe1b1cd93ff42'
                    '987805b3ab61f726f1ac9fdeadf82a4bb56503ea26e06dfaf61e9c6fa09d5865'
                    '5bbc89905e44bf580407f45db8fe04a4d313ba97fa6ba1b6a1828a0a5a4ac6ae'
                    '092fee852b8fde984f58b2e121708f7794d98f9cc4c3b3f47b40609faf2c8a0a'
                    '94a319e1a17e492d1eccf18312bf5b65d122d90f2ad2217e46d0f087c8eb9253'
                    '401c7b763961848ab48b604f48be11db1d87ef1552cd929dfdd5c1be44bab515'
                    '7ada70c80a653e5b6391fabd3c110b1baabe46c65cfaa12f64b2a86f6208dafa'
                    'fcab8809b3923455e8edcf1ae0c7d2288c9104266f34b7542bc5e28436276f7a'
                    '344c4ac298b5b22fde469b2f52c2aa8879c4efad1742fc7fd0e29a1c4d3cf820'
                    '075e1185ce3bef67d523e32eb9e2e435b66e7e83e91657b7bd621dd830b97d3e'
                    'ac24e41a476225d96c6d69befb3c3972cd8610e47144a1c44bf51198e8e7f653'
                    '382a72bfa2b89df96e5d1742299a95ac6036864aee4cf9ce5decf47255d8a8db'
                    'cce4fa1180207ea77a4fa1a5de692884aa840626931a4a80c1029dc94305e0ec'
                    'b8476308fa7d462f6a67f71ad832045af1dd1a711b8fa89632a25fdd3a5a0059'
                    'd8aaf78be8fea6e58c7efd5a6f0789a4fdabcd8ec434c8a47912a7a98118d59f'
                    '384d7d005ee4b0092cb0a7693629f15c2b9b243c9f800caaaf0848f905e035b2'
                    '8d1cca47dd83ab6a037c9b52e269196d184da3b1fe6cf5856c07d04fca6f21a9'
                    '8225960433717790c1f3c3ccf09e7b6f79468fa19825e4a12591a9d938a9edee'
                    '89c1a498975f1dcae930812368ee7f13debfdd95189a17a8b7c712ad1c2aa09c'
                    '01579aa9869994466130cf3a51e89e911e6ee8dd8dd3d3d0e93e609653790374'
                    '12863bf24aab1e0edb82993eba6d7615522fca86d11ca00ce5b55c4f35e229af'
                    'adbe00701a0c306cd9184ccee72d746683f8fde7fb08a825c012f1bcbd1dff9d'
                    'd7ff7c93733a62c8db4514392727eedb0b7931f2025787923f2bcd3ee2474887'
                    '3d4a1fe26c2725cc47f1b55ad944e4aca6eec524c9f3a79eb9dde85af0a8cc4e'
                    '74a97b692b328e44905587c94bd57dbd8daf23b27e2e9b64d1a7f55e8a8fb7a7'
                    'cb0082ebf90c3bfa83d229979799a403da08c0e3e29d7c8d1969ae6ea383aa11')
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_1[@]}"     ) ;; # should match arch sha256sums
  x86_64) sha256sums+=( ${_sha256sum_languages_x86_64}      # languages.x86_64
                        "${_sha256sums_81_0_1[@]}"     ) ;; # should match arch sha256sums
esac