void-packages/srcpkgs/firefox-esr-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=128.3.1
revision=1
build_style=meta
short_desc="Firefox ESR 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"'
'skr "Saraiki"'
'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)"'
)
depends="firefox-esr>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-esr-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox-esr>=${version}"
conflicts="firefox-i18n-${_lang}>=0"
short_desc="Firefox ESR $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="ae27d46d1f2f79b895ae39a292f5dc82a036141c56b6002be68f2e414af3b502
16b6f7dc74dc03042d837dfece86b8dfb9e9b5f3e83b518ba38284c15b0fae39
c101476d94639d9f40fab19012e53161c8b908c981eba4b61409451de871cd0f
6a2ff21c9dbaffacd06d20a4c15ae4c240db855355ab4494a2fc1025e2d7c422
5affc4bfc88e66323eec23cc42447d7e42bdc07d578cab62552e6b70f460f67d
56960bfdd90c2be9d2633a47d3b4f502ce79bef2a75b3944eff91882a87e8663
1cad9f5003bdd440664a6918541f5abda8a50756e14d9512af9b6478f06bd7be
bdb202a2fe2e3b50520dcfa7b2868926ad4a5ea674be3ab60b3db999d0699af3
949a6f5d35bd76032f2f09c16263debabbbbb9d52294edf2bca4c1dd46535d06
87c501ae8daecd95d52e0704cf1e370e67e955e5720bfa3b02731cbfb7af4f33
5af3c40e31a1b7cb4a04c5e25c23cf41c9f7e828ba5dc7a3881df3ab887b247b
df1f8dd88e0b1b270e5aecdbb2e9a3bc65176fde7dfbbc6c6b6179aef005d5d5
3aed792e8d1bf906efd291ccd8bb4b5466820c900ec9d46c84758ad7998d092e
88c344fdba22eb64302726a29a42d275cec8dbe02cf10fa0c927a39b9d038f0d
3ec6717085812b599b0af182b1824bee6a6aa63835d6198e5de426820c146759
cb374596d48c8365d627f0a351d62177815af8d053fe08eb5830eb650b2d4458
3273bebd78b951f5ffc7baf3b4db81ac49df3cb10c0b744ce3219c77a2767302
44aafe25d1862ec3456e7e1feebcbed1e13a26b11b4740264119f73990c2e63e
71f40b5dc43e67932e8a5b0ece09df16eb1cf1f04a6209b4ab41cdce358557c6
d86b96d12cc0061995ea5ee9ca878d562103223ee8263362762c96b38c131978
e088afbed9db7fda5f9b2f9fb1962135bc614bc8837dfd360a155903af8c7896
d8d41aa9c0a3fc30c038a3ed26802be4d0d38993a94a0b8a82c579537099467c
e05bb65df5ceab0293bf827fddbfa42be42d01bb4dacc6b4ae4a307da3f88464
1c3ad14d69449616aed9402e7335684aef353d6268063b2415a6ff847045fd0e
7cce7daa93b0d9011a274b8d781b9ef892ba7579981020e41632eb5b56e71084
3ec8f50d361b4dfd971c05741f895a1e628ca79cf16c49de4b17a9cb4c816082
bd358c6e45b590b060c8f0a02f56609ae98031f3455c8f6bb07cac000ca0f37f
ec86739d7c9c69c86c1e62a27e3f6fe81e8a9d2a0edfb91688d80c0c53e1ffcc
2c59c7dee1db9bfa6a22818de16afd1f959e131324a42838ae8e6ecd57143832
7240901f9b8eac60b02eb7891d7d8e0739acd77374df2f1ea217c9e9bb8da98d
d1c2f4b384e660c76ab58c6ecd1a041ced113ae0117ac0a0fc991113079eab78
21d4143d265ce6fdec2423a59035570e33d5bc0077934a5b877663bbf458d45d
05a2164c9c0ec0c87bba8e32625ee7d6a32c352bf8e156246fd03b4664a0db24
4f27a9ae529578a3fee1c83140466574e968df0104ac49ad895de7905ac95583
a1dbf126dac0574402a66cf96b9199b572663dc8bc15031131f0e3230b873a88
86c5856bc66e3a942009c5c5de0210b7cfaa23b635a415d559fe4ead607403dd
b5f78d813eeb877a034fc392748780cea07e40a0807a967e89ce106637792188
082e984c977a30ba29c2c3fb1b2bd4d42eb89a7a249fd7d2b8bdedc034f329ec
36c33f27125d242b7874b88c536b8eafd27b40011bcee2d3e49184348e8acede
a329bef2ab28ddbe01e684529f59764db93b3207aa7c5c1d9b7982c2b92fc4c7
da9973e330ba11d3aed82a2d5b312c89c880611feb3a9da138b417fa5ad9c258
9154158d01de5587dbdf336869ce64fddf875d743d90c59fd52f73c47f19affa
a5a846b1b0496f7fb1ef4f9f6d2c453337ced80eafa7cdf5302491ae033ff105
b2da49b01bae5cc2bdde845a121c9e86d55293274b0dc65c568d5d7863387805
c94db8c3a440c4cfd416b058c620263f17e34de62b35661390ab78cdd92ab064
168e8b0a4387ade0340e4103f8e61b39f1571cd3a98ada9a6a3cede754cd33e9
7bedb38a299094b693c6b7c429564dd2f2d02f1c94e3bf836dec411320274322
c3d061965444c42ff8bf785a97e977ec8dcd394f953d4f521c8b267468a28826
73c5af02e8c5ce19c83ff5182a8381931164a74d6ca224a64f7cdc010807152f
04ef085240f3a1c064d95b8db7ef17c96c67d869310b3a838ad27749c8eaffd4
e66d07577519b3d8aa2f49a0b3723d889c145837ce42c88914d8e14c75b365c1
2283ed49b05624d2db0ba1e28fddc369e1e499646f2857d0d522c58a35087f29
66bf3a647dc9b47d884c98b0f5fbabac19929c8b9baae8ff04ec7fa193c6e0ab
46fef812a59514c86e0c6cf7e785f7ca4ff5ff812dac4c6e21e62aa36f6d6fb5
f0a8941b9750e5532aa0838a6e74354ac34b723c952e70c7c17e7621b637724c
def1d54ad5360427dc59eed8fb37c8c6110d8babc8ffdfb3f7ae6fa3f70ad673
bce3999a933be717019969c01245affa95e624c5ec1e677c03035c7d35c3c119
188339a220924586388d022a49552aa8fdee0e482e2c8091d14ee294b4a9cb12
118823191f4133e5950d765ea568e944cc2ed753322d2e656d8535feb3c2f1df
a66319579c5eaee3ab3ed943df1434bc68635ada3c2fb7d11179a7e594ca4a25
420988bc00b81d77755a61546e4fe828f3a481f6d68f12e218a0475c3343ab01
60fed51397e8222b328a3eed4326086262977c8c31e9b42d8e243df58ecf671e
31d9c4faf841434b4420368b3e2def46285e3d0cb21c55f8e6eab2b4f44e0d14
2d037f1e3d7c2d31514d35f45f337f286f32c47b21e1241ba757004d1b98c365
7ef7952637c91bf9637655eaa02cb13e2ca474ef56bb5550c57ca810b9e86ebe
46bcaef231e0dc7d1c1e297ae10f990dc6e855583bffc19cad276b9e83d7e80d
0cd56c16c57af2e0abb5b764b8e40573feb073d3488c60834ea37796c995dc56
7540f7af3d08a073116625834af1dfe874c47fe6994dc3b8b7d4dca12523b390
85dd2f11339c001f5baac066bfd24208542d58eb19e1fbc3154e0def0b1e6ef4
61e1cef8c7074e7d95cd54b1653ea9acd0fd9d5cbe317eceefc23d82448ba10e
b70147c00fda49b65b931cabcaf58ea25cb0e0bf09caef27f1944fa6d41c2a42
82d0b356e19bf35fff7fcace405755dad129a0b11cc8223e515767c6f7c50801
82d103e36499a9b5eabac97aa3220912b14fa92d0cf167acd5d0adcf8d973d47
2cf4afff607c92c77383574f2677164912a5ff1df737fcccef4b42eb179e41d4
ac7d512c46530beb91027473d8ea11fce9c5b11934e3f1523d4b2a9d48614edb
1dcad355804f769f9ae97030dd784e2d623363ab45bcc96742b87cdb2297d058
b78f7c9172eaaf18b837671017c4a2707beb146b4adb826c7ce262a506de8f96
b53c5309e8fecda5b90ad94881c22627cf92bbf2b4fc01c491e819dc04d7df61
cd0c52ecae12e7ea65aad15c1d36a3d3e2602b40c5ef7ee5456a52ebb2b62160
2044ecc1f7b9a5e3cc1882ec0b65c73148de8f662c14c0314abb56533c7d68d2
13d837938dfdee2ff59ddf6a7ea52a107b2fd8dae8525ade3a6642614984f977
3f2b1ad185f3042e5119f39fa200afa62cf795ed44dba37f3f75237572275b66
cbd572c775be0a8329c1ebe3fa90053402bf2a800b98a4006569dc2c3f371037
7975f07293c6068a021f7a16b935898d3a10e57a4e73e8e7c997cd18a78fe155
4e5f5605bf09c24000dec976d178ab09447f4a0328e4e8107678afd55481f832
9dc8e724fc9b80786a773d0603bd84286fd2ec7c072721dd4164d707080063fe
bc6d503b3c9c51c80bcc56dd1a0336c6fc7d7fd57a2c24395efdb17e33081bbd
1f129e9330c0faa91d329c859fdfce2da7b9a8267a39ef392d8dbddcae6619b6
4cf0c6b755c1b981a7dcfc7b0ac34e699b68de24d45ab2d0f2a53755dc091fc5
56d0c2fe940b7e4b9510ffa65daadb782e7298e943e0e13895a5a421592b67ff
971cf1ce3019f90eed279ee3d816b88c9cb2b30a9c55301ad50437a94075a8ca
bd80c39d13a77390957bfad51991ea9d8e9a8f4266f816e4575a4f51a4ea5198
08bf08b10035e4ed8a1831836f13823860a16722cb4cd852571d14afe82cf700
7f8a1b637c2a8885a5d4609f3f70318bc964f99f3890e4a393d4831cf2d5dc39
64ed9ee9e1f20638cd34adabc6615106d840596d9c33a2b5978f9c226913f964
e354cefeb8c55c791ba5a008f286a7f53f9bb8dad3238673242d945c5212fb44
ed8529f673a2f88b308f3d7e053fc3b5efa396782458b02bb4e458beda42f8f5"