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

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=91.9.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Daniel Nümm <daniel.nuemm@blacktre.es>"
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"'
'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"'
'tr "Turkish"'
'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="2bc70d0cbda5bf23e166c13eb3500904135211f3931e7f47ddeb1fb45f5bbcae
6919cb6c47fe39afb7a49414241f31590c935565f972f82c0d0c7038fba26563
2877b443f701a73cee387e631b8f28f42c750851a2150710334bb82015c45427
6660890b4ce3629b061475532f3295e72a1b7624bd937b3bcaf83fe794f9b390
887ea64a54ef264a3f35612b9e3e0b9fd40b8fd6ee0a7fa9782888406fdb43f7
148c555c47a0c47cc9683e6f469a8dc29a4efb2b869296b89f6f9b84077b98de
8fc6459c9de31065fbfe9e64b36dda9f0355e624f8c3d2377d25794dfdf97674
81d64dda58ea8602352c324284b0d6e28ef40e697f19357c6b6a73aee8c6e85d
8008231903f276c3bdeac6fd720c33c7c9617cd866791f4132b87ba2b94967ac
1fd22e04b47ccdfbce50f2c0ad312473e9fbeeed14316345ebf8702a2e0c0f9a
27f4f5d115c0ae796ac348da5162bc3861204e3ce50414035f2d480dcfd0668f
02d1e040d0c8e84abacf617ec41b6e128a15c1b88eb038a432da2b8fd3c194bd
ebf2d34382902b810ab46374df7e31e893520fe9751415d5fe63fec4fc775bb2
993c6f8da2a00f801421e1dbd8981b67e26c4f01356c6a62177d2987c0b15cbe
c490d94b7595090ecd238cc1c8c84a3bfc2450ef2393bd95d954488f314f34b0
530a1b09162dad6ff7fea360d232f628f1f67751e2cd21783207fc77c057464d
cdb58015b09a861f4b1c02d7fc9823d87974c3f4b13abd8e7c76bd249c61581b
59c0ab8f08edaa9e430a5988fb1890cd3cd5a7dfa785303c8776fb6f38192efe
37e221b2ccb512ead4445b2345a6527a3358075e011a58658158954f052784da
580dc1641d96072ee44800af8c553eab82f158e36a0f13f795a7a51f1bb762ec
9570ab68c643e612aa10818633b3d93607581d0d97ea764e0213f0b1e5769d4d
d2fd517a39874e8f8fb37458450db6ab496cfa1bc2baf0f71e883296bfbdde27
2616aaf1722723003d91aab4e69b4381412f810a439feff4ef2a146e22d9f960
21a06c320fb80e4e45b02ce8f084bcc8900764dd137e2ca4c8b7929c89e0c3d5
59a6e10dedc26f6ebd7755477015d7b3e956ab34f29fd3954f12f7a4f5ee345d
eefd5a4d637fc86281cdbd43a06e07fbb76f8a01e9bdaff181daba5bd7cf46cc
fb50ad15895d27e30c54f1cc2fe848405a5c10917d3d73c71b82e1e93d658c8a
c04680483e96c0c8a77f07b18333b02b8dec4807de332ab77ec3a6446a866dfd
b38c3d132e74034d2659172f374b4eb6261b2346a705988823a9af56f906e155
a94238d8a7ed68b6170c49a07d8d1cc06d8c3a30b5b4746095d559856f30773d
324bb76b3c95fe645796ec43962497ebb03b80b4a068e778b684fcf7a307bef0
0f0df750b7e54edc132133d53d7dd9fd78fb828578d79d97097afc98b8de538a
e77a14ff78e90944d14439d1bb9ca5bd116a6cf71b5bf14e16d3cb593ff35b70
143995923b153cbf6cc3a8d846afda70601c13ede25ef8b193db80fd9f1896e9
446132041fe6f31bd5413735ca9813e86595ce35ed5fe499aae164775ba0f987
0d5798050376c4b7aafc2bb78692056abcd1f441fc131591180e11647c276872
b2e4c9aa9452bd1af2e7fdade9752aa6019f28a2e4599bafbe9da9e9e1d5f01a
cdda19d8b15cf46d6c2141434969d7599ebbfb60b62b29940f52a79fd8cf072f
b6095ac9de172e6df5bc586afe934c327fd5602ed18aa1fed0d8ddb1387c7df9
75fe7ab4377e3c212b256c3391fdff1a609d91cb58c14fd6cae453869fb334df
46706eef7e7bb90fc055b002f627286c2de43ddd5a0caf2b9c06d032ad7d85d5
203ca7b2bb45eb5cee5b1eeb9d24e25520379e7af1ff4aabd09ab25c5b3f3d8a
2c643a1d8696037b047cc06ee0886e4696db55b4c8cacb69ce52066c35680bd9
b7309661250a56ed8a42619699efc8c9f8a388506ae3c5b38e5680d7c7d50f51
0572d0fc5e88798a0f944e5e60e0c95365241f474ae201a85a0077d083812620
d52085185911557948c94e7f4f45e6ce50ad104f3031ba32e62d58b6b581df93
5ea6410c8a42f3e558a3b73993e185778a3f91fcefe37dfb32881b884d9a7328
67ff089e58616e50df99730c33bfa90071beff2c3715d5bcdc218a602346c8e3
753cf07925bfe1c3b5fd6f2947a18b8f826d514d5c9b0d7f2d357fd033b66192
ab291fd924c16b7fe51dbfc06519bc9b1d02182bfa0dbd9523638c285615cc77
9d31e9a493077b8c0409969e4d53102239f472467510b9dcdb7a227fdb6277a7
c9dc5c95b109c895c3cf0fc0f0eb46385634637bce107e000ba42a2f9b7907fe
6b08f873fe1f9dc7d468b710b2dd8f3fe49138c3cdb4b4594a579d0379977271
ad3510d8b699dc71356f622f2e7b9c2dec12096fcf9741dfdfeec03d9382e0e0
5d2afd46ea725d43357c0c9ac6d4d4db89aa9f0c49a4e1e9fc1c124390ea6e20
9ca197bb00e23df520199bbbb49fe66d09e5d5741e7acbd4e93da0a642140ed6
633879681627dcd34759732ceb40cf6b7f803690cd73ae7bcab39459993cc78c
f8830dbd04e1248220fcc7e6eba6e7903bc36dc097a4360279847fc8148df7fa
2828ad3e3563ad3e4652ed19eedef1d3c96c12c295bdc1a6057302bd590da00a
763cf455f806bb30eed4c8b25c3bbfdd500959b8fd0d26713f0c19b2a8429589
2d84d2806ecaa9520f6d6575b6bf3f11e9431066dd133dd28882cd4b4bed3aa4
a70ace7c4803934c4207347a24910a4f7406b79936aa6289c2d078c174f95a1a
d1f0df1831f0fe552ee3b58d83740ee95dce560ecb5a595185dfbd7a11c9838d
0d08b1365d603534d73fb756bd139a913c4b4042c9f40de545db56eb37dbe7d1
79a49173ea82db7b36c019545adc2faafb07d6db31da1a100c7cbc61ca2c2ea8
66fa26fed2113b1cb173170939a0f5376a61af168fd35fcce055078fabdb3288
4b321e39baa8cebbf32ed9e53aa77c562445b9ee2504896272ed2da093f07e26
be1a45a7ea2f23addb28a767cb9a6a9a54cc8d8809d6ebf28a41a03d2d09ded8
fda6f1000b7a14b4e3200ae00597aaf0e5a0e769a1ba5af9c3b9f841e1adf534
7f907551000f435586a43acc215eadf994c590fe454eef6f843949efbeb1b3e6
b7e58ea0c7c347e747f03531dfcdf13a2a70e2d08caaa704e4d8d0a9c139cb86
8b6b6274781bfb5869bf81c0366b768e10b8642139910490adbe92658546115c
a70c758f52467b8f04bbda20d1cfdae79ae99a860b54e1b463d7005f267656b3
b0177a28695c8e2297fbda2f9fe7ccca9142fa2933d08ecfa607019f3a07e7f9
23cb3211b6c66beccb8619606e62011a3aaa4a082b49abbe507d6d9ce081d6a5
3af4c4f8ee80740aafbeffeec8a6a2ed3f091bd4d149f687a302e1d027bdeb9f
467139c240ef5cdb8f522e04b05a1f87f82f0788ab65ee3b135b72b201f06050
841fa5f1b1d810061c2f014bd942f626d30d27b35d07bc7712a323cbfbbb133b
35ca0a96504d16ad7b542f457b137432737c49dbd972aea4188bb1be950d47e1
f837ac7a86a79db85a79b0d1acaac49fe9c18ca15072bd0dd88c70aa9d00c9ac
07d40bfdf5ef1cb91b757f1d05679b18428edaa06aa6ede3eb259e596e08fa2b
96c4523ea1d5285174ecf1ec1a5ef09daa3adcf60ecd8d2a196f741ad80461cd
f94199bb442b47cd8a5abd08a443d8b5ff21d73fd9a98eb93757ab3639ed1bd0
2d09a80290021506b292326b7869d2818d17dac54f6cfa8aa3896dc044f76d90
2fe0a1871ecb3f834ba677de34b5d991e1686681b4f7b4fbf4f03df26afe4768
79bba3d52f9d3a8326b706e6289767e6aab2f6216e050557c787ed7bf395384f
14aae95adc96b8b68f0e3d71a20407fca89c9256a6475517a54026683aae2bfc
af5477c70b190fa3b94eea570b1b8c52a2bac739ecfa37272f39d917ce5cad05
a60b318f6597cadad59728434d665a053f5ac80322e0b532416650443eca8f22
428a8e350f67cf25413e59c97a069fa47a8f814e8073c4a82ba3ea0440d1f2ec
87582b34d4c374b6d828e03282d2afe63513769abf0d4cc0b7f8da83f1510a03
139c2d899969839508c0c05ca0b8d572a2f35d86a6b313ea023855cb9a77ad8b
b80cb04dc34f815e86dbb82d42338bef4c7cdac6a5e21969f39b594e707c7c99"