void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=127.0.2
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn "Bengali"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'ca-valencia "Catalan (Valencian)"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canada)"'
'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"'
'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 "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
depends="firefox>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox>=${version}"
conflicts="firefox-esr-i18n-${_lang}>=0"
short_desc="Firefox $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="d8a2b1b906a6dccf4fbbaa542db6d75594eb708515b1d0fd4b4580cacc01dbf1
1903b159fd04b960ee39677c1fcf266f8401ad95c1d2442a9fbf8f9062c6e1c3
bb0a6d0eb8d7f92303de9ff6b6f8ce502db171dfd2be5186cbcc63f03afc8437
99a9dc5d90fec187cd68e2a8286fc1ae6a5516eac14dcc6c740d77ca20d6c7d8
9610cf76e21cce2a7e8077df31c01056d931abcdc5f41f3ae75c5673e5f476ca
32c67b5b369f45e1cfdfd7e4d743a346ebb590b6438f5277ad89a6f77b7d947d
ef036f1f6b65ba7e4dc26850977c2fbaed9e708a4e37b57c7b9b056906fa8ee2
e7637a4c49b1bbff28de48b12f910f4ef25fc11a6e0307327873ad087730714e
dadd22f2ffd38992bc103df39c923070309e293c94eb1ade78eaf3413d3201d4
10693b616773126f9661f7c63c3f32a592deab0abfed7b81bcbfc5ef2c96ad33
e335e429324c2a3b4f5e73e7a3f094fd857664889eca035dae030e13b602f44b
ff4f0c29793fb79822de9a6ad7d84a37386f737924d340a535d847f88a40b5a2
f841b1bd1e5dc35147a81c1cb918a2613cb6f0b9cc969b1e0d1ae9a7a48d1c65
c0fec6d4442fae8af938cf98015fb1d70a701dd778a027f040e76e927fc8b09b
94335a0b31be95026da55fd21359061e50f43914e642913a748025936aa8c524
3b2fc888c8276a2df78a8185c2de90d2d223192b68dc5035985ff9ecbf323b75
700fb2c951124e1ad46ab52b7505de1474f33b4afb6a1e10be61b4aa33792aea
6f2eaad3e688a25c9d91624c1115240f40fb12ce4cd3f017ff6cfa7ea51fd9b6
66681c78df3cdfd61ebe130533a562bffc05d036179c92f2542ffd2ce179d879
71e64a03b1bda29b12028009385e1f4dcc33e1c12a7e12dc3f499646a821dff2
103c177f1fa5ef5cec605ee0cf86c0342ffef4e8f855022a750f477285d24380
5fa802d91b1e3970e0247a99638b6f7f026903dec4482626ed242d3d9022382d
4c9e2f070f38bd6cc8a9f7d3cb61e01763738742f9b64add2a70aa3986c55110
02a161480691a54836fa6cef4848758516e95b28ca6e980b7bd3eec92aa4b203
ddda6ddd5759e2f5cc71f0da48e8e433e5a4f267c43c9aba15db6e80f9786341
d98508c0c278fe8c9fe5e5a82e9afdc19e155704253dbbee9ab236f4b67c1a78
38c0c0421e893a1eb3bcd2fdbad6a68fc7b9ce00ad59ff8c3a306bfa79a35091
b4128a0ba2b05d63e9680f417b3fe6e37e3d31c508d8ed9fa2d7a240d2b924cf
b6dac6c05a7c5953e5333571299307264374719f078b7530f335589c2677ab81
28fe587166c440a06e4a05be85743c001989bd642ffb87fbad14e3a9d4b2670d
198b2ef312df436e111503171fa4be1edca9d3fe24ecb701ff0c881d48125e33
8c80a80c6dc10e8bd6d906d01c84f9da53d00eec888e8ba68cbc4b54a735d7e2
53d46f234df16af3d50b7565de99916d99458db0eb0262682c3e9e9a35fa1c08
fdffa66978591d7a535ad1b2d094ebddc592e33ab65150550bf92b2edd118af0
7e691a22b5dd92b9be92342d380cd4517c08d9ae45578af81f74d962244a7a69
3c238a17b74b5f85d5ea32be96de7048e2faf22baabf68cd9f64597c8aba404b
2f38eb1ff5b9cb87bb9065aaaf544a127cd8de06f1dfa9efac347fe8b157708c
103f8657963a15b8ff89bc3dee006ab57c9858589ce46b99e82c30b0e108cedf
4bca6bad428af46863723bbda3bfad188b41fe1595bda07f2ea6eabcdbe43eda
54c058dd390c210dabb02776f94ef01db7775321b14425c8ae6f127bcfa42353
e4c4d8900f7e44555130717e53c1ed5a125ded11924610dd00bbf6e736f34bc0
f6fe5cb7af3554a8adc37cd6b1d7bb39db5bac8c419bbf4eac0f7f31d28ce941
58be7dc338a57d13758e9f238841d5b8c14eaefdc1d80e796700bf21576a9e35
fb777e48cd945ab22db0133aa4466ed72dac1df2b8596da1536b7cd36c3e53d9
f65120539759933245ba731ccd6a706d33d68066017970ffe4ba26bb10fe149a
64650a3c006a0c0123840075b84757d97e630609105019c6e30ffcad95db1029
a8606e76e310a0f2eee350a2fd2dadc22a468eae78a1a22da2821eb8b17c8b30
6a02fb6bb5b2d804f6c76e77bc53b5b2bb98077dd6c9a60eb58668d3690c2877
03240840728939075c997a0edd74edf71ccab20b4a4860510a84fc1e5d6add1f
02b96cd04f179a9cc214454c47914af7a595b4bc923e5d93a6a7e2eeca4474b4
33ffaef3b90b1f2afb1049ff0f539c5d2edcdcea28d08f28fae242162a92cba1
4c022d1f85f8eda8ef6b9bd887d72081a38e33987859954e20bebff984496ff9
221b8f1910de65da25a8fe001e0a1206d3b679fbf4d4dc9dc1fe51974139e671
542863b6d4aca02d62d371f54faae78b0e781b5da66441c1a8535a57ae3d1a85
46c249771adfb1dca793f5b7e8ec4880e1910146a45ff086e265eaa0308d14ce
8b87a5cdde238d217b196cb349a5f99d15ae38465fc82b759c7eb9c70a0778a2
428166dc1416a518cf448d359a6b3e7a081010ae64bc8d0f0ca9e26b09584377
e1958faf80ca11aeabf0cb1055ecd7842b2dff4ca08c6059af741b968f717d12
e134ddc920db235d79c823ccd6ad2ed697ded8cd9a4033b5fb5b3947f34cae42
4532f19378e7d486270e3355f12418090b22fcea9bcbce4919c3ea001261acb8
9aa1db605e5388d5e875ba3dce6adda25701b2e026f37b546affaf4a9a6191b9
b4e2bda4ce94608477c480b6f8ebb382c48b7250b1cefa1974581488619b7302
a3eb81cc1841f393c2151a90af866905d053e738488f5aea15ab7bebce388879
74319e5aa6ad8cc334a6690a6f16f71622d3ebe4ce582c80dd827640584158af
3e4fe9e58d7ee82a85a1f256a1f908eadd10d7ce2f6379710ac171ed0e64cff3
9e14eac71f0ef663c4dc7a953e0dec576e9a3f42b695433e6cf7c27b1a6854c0
798b4334ed372ea5723c50bdc2dacb8940db98589071e4bf05dc9b2605572103
1e1b3e5a92a1e622df2c922c6802bd9ffb3d26802b49efc1edde0c56797c8ae2
f5ec40417b4f8f94327ef5fb0bb56b8a0757d3df04749c0b55aab507d8aa1805
5790c1cdeee14f1d6288588bf22fe6f04db3762e26f970e2f99008667714ac49
db294d1de11b950252ace1943eeed22c4152f9c98b94fe49b3996d13427d153d
270992eb2be45ad73c76f9084f35cb4c729efbd891cb7381d4f02540b62445d5
0ebba052604ec57f6638d55c4582f0b1b7e08a4b66ab92d65b05406fe2127cab
3b7d0b9b0968f689dcca4fd19f6adb14fce1b0c422bedf8f377eafb4780e6e64
4e4f8718a0ef8afeb63b2cb291696be8fa61a338c269f4f2062bb93dab75f6a0
ef1e0edfd00e540f272ba3b9508cc1568674c4d84ff302f996d4890847e9d4ba
0ae751473ca8d4dc62e16decc635314128a51bb469a2e8b76d0562d39cc7972d
6f39f748d371a7032c226d6b2321bc0d0ceb4748896095c330233d7359300321
511b0717c3f6dc862321865fcf3b4559cef145a7149a229c829b30668c53a86d
38553c34a1b0deb74a766b76aca4fd4e0b90be00149a5e8542e08ef6038fcae3
97ca5e1e8c0fa9c25e9b44af489359eb97cc946094bc66745babafef2f9abb6e
0c2b77a3f222c53c8b7c60ae97ce7cdac834c964e9c998d3fa675c7dde225174
64073a8524c6b6110b0e26a881727b3a97689cdb873b7bff7b82589c2fc314b9
c2b84cda0ca5f04287651a76abf713f3bed9a9ee6afe6cfafe0a3efc202da3ab
799a6a6e653f31d5f2f62464075c750c967098f6041462c9ca86107f2a984d9d
6edb7295a52b027d4cde5ad9616267a4a18fa081988d8686af21102d94845a66
d60d0e99c074aa5c101fd75da66219465faab043c3967030d8cae0b8e74afa79
e7bca9c404a759daa818eccfb478346c30f3b3432e2e28001d5e29d09541599f
8ebfeee13ae12fd666fe5b6eab1f051d3a0fcf911a0390b7722123da4a01725b
7cfe6332f0de717f7dac90c72ff9ae2297405ba19329d3009aa6bc4524e25cac
3fa8496dbf4a7503e7fb395bd35f49130236709f7e56ab748da9aa3c13f8835d
bd288aa2aeaca9b0f186a9e42da1c1dd5a5e204ec291f8f8835d6ce466c1466e
6bfbdff8ef6dcf2cad4ab2c2f72790fd1c6aefd93ee86d8137e2df365c34bb36
74f9b6a028b816d1b8348250077e8822176f37b7f6938aa365e9389f55315170
22c8413557f65a77dac49a577573e6364490d7bd528d1b7570d9bc959ef9afa7
51551d9ae99d5702f41b0767add2ce38500d305c40aa99998a5a79f57b09fc8b"