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

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=102.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="1e13cc34d1526f6e78045963a289c55c906bce66ed23f0f39b4bedd6007dae83
6ea5d6f24e52e1306c7e818568c3fe3c1d8c290812b9df41e72607ec703ea726
49471806614b546f23ded533be9629750f33c83dfeb023a7bc217408dbfce874
ef8c9916ad531ec6a7e662b7dcd492071a251d015d07bb248555a479e3ce6450
475a33423d30a612ef7d956ffe383a2d34689c77c25305bdbaa22c2ce5d00149
1e5d8b29c1ee98f37b46c08e5b68f4011de940498d154049670d4571117ebd36
c4f6c6ade6eb9f2f5d3b233e06f09cca0b7657bf802af749a355cad7332ec8c1
344b7d7591004eba726cd2499bb1aa4c7636fca50852b092a6c8559397f41f8e
f8b959620ce17d089fc3779750f14eb710a237d69d7cb36b78db07a91bf6e99c
738ee09d534ad40bab2b094b725346b60788c48b0d257f1caed9a2b21950b722
12839ad5d78b2b6e810f5a37f3b4a6bea71417dff178bac910a5afd0f59a5206
151f44560bcfc2be0c9fd8806126e311cec18c7061b9a72a22f088d17d05d13e
2ea4b79eb1ec87236893906290be615d2309ce8733372e67be256057ca584391
3b3478e41f92a28ad72fa28670b15db5a213e55df36683f71fd1a24cce6b588b
20f95dd4e38b1b9516d0632ac082780672ca970cde839d2ccbd5db264d77db8b
84545ca25ac0fc428d52e2d07df502147bf77c0b128df1c1f1100c4e7886e823
8838d18211a7ffe0ad6a438c67fc0459663d63b5149c44025527d86f21e744d7
bb328fc0eb2c3cc42263152ac8a113eba76b9f716b497964b6e75297a237e1e3
d53b00793deb1e15f5c5e796b816e73367d42c4ddb3526f7865e5755728fe9a0
f6dbf738dc1e7608fbe9cb2829e82dcf1622f1a97b58d19469c181585d6f9682
8bd100cf913b5c4ec519ea05d3a9432f724fc1bba3347a28880cc79743994417
6ee7ba401ea6d9cfd3bc8863caaf4384dc76dd1d3026364bbb2c737943de3c3d
73b98fd282ad0d534fb6bac4bf44251b52ffcde743542b262cbe2121726b57ac
61ebd7421083f7dfcec4bf6d6036ee783850648e5f431b56f46a2bf709bc0b44
aabe515b2d646bca3209734b38b06dbd4be686a76fa003000844877fa74cc067
56d88fcbd66d96a180611a721e0a86410582c09bafe42ade75b4f4171620831a
9f1a8265b0ed95ca70f26ed719fcae7f10cf6ba182d054d448681c6387d550eb
98abbcc6878dc04f9c9181edbbd1fa425ef23b460bde0be2ec06670dd17c45cc
da05d788b90c2d2226a65413ce0cf26f5b23769585f8aaf74a033cf4b80f1099
a4155d525b02556c09c502cd413aa1497d51e81d15105283c93d77842b5662b7
2c5f13b07d13173c56740a5a9ccd8f857053de7e50522eb763c8670ba0f756ac
6e14a53a463abeaf3b4347a1ee5bf2caa11cda1b55ae9d193b4258b5a23f6f0c
205fc19b69a736d868814a079f72b4c5404d46d42b678740ad3b55f2b28cc6d0
77a0d7db72393332844d61b67f195c5971bd6fd699dc0e7f271eaf579c9f0bd1
83d56f64c1fc1070e6cf80658744542766cea2ea559e76098fc764de2ed21816
be6e94690e9699005a8cd86062d8167ab7d4925e354ddcdd09bb906c7eaaf829
5d89e1e0cd3f22998b2305f0a7199dd1306edc9d4a03f968fc64b18eb1e67fb0
6e5136d926c37476f3761ddcac01d24842f0e54c437b7d13378a955ee98f51e5
3005bb6d346b427232e8e57808517a96205dc5dc6b6c610f85584c2ec20de3c4
4188bbbc312fd248d8ad148e3b4442b046d366675f30cb913f0bb484fb1f5012
19e7a5fd6f6ac2eb64340af40199bdf9922af9d2e794684d8a43c0469e9c1624
95884ddf6d39ad0bcc0c04e8d1f15e79d823728c9bd09bfe120e04612284a8ec
0e6afbadff1245005215819c9adaf4ba0ac9cea2cdda5ec3892117d60704122b
c86e9925ad7810aa361b7168a6317f1c59f8814db62244ef58cdbb8e8aeaa82f
593563253b484197fe6534b8dbc45279d6f55133b8ea46073ccd65d6c8a19171
ac0ca3cfda19da0774613d8aa7874d7a66149e8ecf3702bf7e46a4f3e3f661e4
77c3cfb4513f6f4f1d448980ad7774f64e1cd063cebf48de21798b854655338e
03eca7b32b60f5bc84976e4e14d69ff36bf264d735144288b77357e332810cbd
99efd1af6b6008323d8af88714f1e6de3c253410db37d04880ecc77c4b62e20b
d55a881dcd36b15164c8d54f21d3186c86624c74418c77599a9cdecc7d90ac30
251fb05549568dbe221a130147c14c2b9b6301d8e1b00ef7aca2de248460290b
eeae1335cb94d653580ec100a8d8009dded5ab9b9b06d0639b0c0d05f9628458
c50cbc3990e87a2d2095e3ff878c26dddcaf55672a55f0f7f03be6fcd8962116
053a0a559c9d0eac796be341cd0f5841918b034ad833f35dc2e96d853417c0e5
1682066bd91b7ab69db6e862bcfce83ec30c6f3902913484cb6b22782b4663d6
98c6344e46e25bb91470a93b2e77f12f99ab213b05447b871cd3abee09403dae
7ac7446d40427aafe2b38d1e17394eca48e2c1e2e4465321f314c39c8daa5989
95f77bde542dd0aa2d2ff4258187a46457979b9e6e845b8374aabe02d436db46
a7b0a4d57839d5379250080b124ec063790eafc9c4f3de7bbfc79718c562d728
cb9f627e363587828621739063849c0513bc8e7b9c307a4797e1a7612bd04d29
05da3d140ae59eeb0ce26295ade00d97548e4a29bb8c23b9c73ed6de95506bda
688320bac5a23f211950af8f1cc4303ac9706410b71a1973266a075dfe99b5b2
b64c5a923cde2a44e241d577b0252cea6e6b85a62bf5b96145b2cde719b31715
0e79f5c38aa1fefb1adcd85a06e9b4349973c4c0e11336033c5623a5e240fae9
85326df27b2326ff8579f97e4520a2b87dd42e34082ee6a64e7674f890b25e53
31c934fcb9143d117ad61135a753e9f5cb443926d2e9ba6a840db4b3746cf335
20914bb0889af0697fe6c8aad33dfe461d3a4a3f3979742fc7a1bcb09f8cda90
0628efec2b0a0e66a6bfe05637c9bb4efd242bf24bc63e0cc2de490a4be1eacd
93040b93873692de2266cef86a016c8bf4b0857a80975851d2b10bcef95730c4
71dba009fb6895f8db9605a767208c24fc6253ef392f33ec67428e4eecf36e35
4c15d64b68cdd6122e46128defc5a9166b6fdda257c87038d72e6968190bdddf
33c2513ae10eab302996dee6b3a8f2c431f4d60800119a945eb56b2348bdc023
29c642a62d9f741ea944f0fcb210f42cff740c9e5a14cf84d5dea93b868bcc7f
ac70da8f36db9a7e2583bcc3a921e57ebd8838c8aaa236ab533c63c498c4c4dc
e963beb9cfc49488eb383d149321d4e9b5bc26a5f097880fb532937020e9e682
5e0c3d30d62144918239e2dfb0392d0b3d11eeade4c90248abb238ac862bc3a2
88172af2e1b545cdf16b8a2cf835a7d5af786100c96fd99b21e4b5545f849282
7bc6e32d4cc3ad8733ab5b59623569aa5bf4a732629e3a89600415d81ca88e76
352e0d1bf5d4ce6fe5eaeeca821dcbb977cbab051202b7ffc4f3c852437b7b98
f1e7cf7895e7900857d8d4ad6377e9ba161d3dcb484b6ba2f3acd5045b59ae14
9161787102ad9991f07285f7dac9e8be25694a40dfb1dc5d9e26d3e95658ea29
3b4c459ced0e473fd6f7c60a0c14ea500957b7b860ab6b62f760cd89d79a5ee2
f8569908a0c387a1ab78c71fa89cc4a657d9b56ab7d7084f72494b83867ba77b
7464e2e6f01436a81090b59d57aece048dc9e1b5ead151a7431fc8aafe2529d4
86983b2f593689b2dbb7a7ce0d899f97ce0873c8f731a981b4ff1a6490f94593
9a75da72b9e37e0ce4983a85a011d7a717380f7da564fb1590bbbdef87c3ccb3
e79ed3f32596a33fcc6aa3c8d19a304c1079bcf4192c6ec9e90c2c1f37e565a9
541a59ef24145cbf526dab32efe0fef49926500372e715e25f77d73af833e6a7
a2eecd76f82f59f4d844c184102779fe64ce6e6c0e50d38b8815ae7c179f1af1
efa710db348e43463ca69619e36e11c2e7ea75d1e25027df3c258e2274f60144
3320de5600839a8a765ef61bce285f9a90b6977f06e12b36badb95e8ca7b023d
7cf21d4f66257f869ab49d8bb9787cb444807bb5fc8d9c651e73c8a4aeaf9e07
10be88f929cd65a85265c8577a8c23b596012eac9c01d81c56631986c7b9d099"