# Template file for 'firefox-i18n' pkgname=firefox-i18n version=66.0.1 revision=1 build_style=meta homepage="https://www.mozilla.org/firefox/" short_desc="Firefox language packs" maintainer="Johannes " license="MPL-2.0" create_wrksrc=yes do_extract() { : } _languages=( 'ach "Acholi"' 'af "Afrikaans"' 'an "Aragonese"' 'ar "Arabic"' 'as "Assamese"' 'ast "Asturian"' 'az "Azerbaijani"' 'be "Belarusian"' 'bg "Bulgarian"' 'bn-BD "Bengali (Bangladesh)"' 'bn-IN "Bengali (India)"' 'br "Breton"' 'bs "Bosnian"' 'ca "Catalan"' 'cak "Kaqchikel"' 'cs "Czech"' 'cy "Welsh"' 'da "Danish"' 'de "German"' 'dsb "Lower Sorbian"' 'el "Greek"' 'en-GB "English (British)"' 'en-US "English (US)"' 'en-ZA "English (South African)"' '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"' '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"' 'mai "Maithili"' 'mk "Macedonian"' 'ml "Malayalam"' 'mr "Marathi"' 'ms "Malay"' 'my "Burmese"' 'nb-NO "Norwegian (Bokmål)"' 'nl "Dutch"' 'nn-NO "Norwegian (Nynorsk)"' 'or "Oriya"' '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"' 'uz "Uzbek"' 'vi "Vietnamese"' 'xh "Xhosa"' 'zh-CN "Chinese (Simplified)"' 'zh-TW "Chinese (Traditional)"' ) 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="a560d034cbcce29fc80f04229eaad4755c9613b2af9f50c882c9222e992b0b12 88dee557f290ca53c25318716586c504c8b9a42ad0378709b85daa06eee0f3be b20fdb6be0b49b58d46ead23a6a302b834d6da88e9eaeb9433ea55508a5bbca7 15cd8b0e6fb56ea895ee513abc0c4e986d1301abe8938afc75b46086f4213d8c 924cf4a22b76bb7449d3551952662f796f91a30ab257aedea5370d8f86064ea7 76fc2c3a5f55fb47fd8e69b7a6d0fd7cd099cc9c0851a01a8a11f7d2de9cea4d b588ed21b5e28cbf55e43e16b7cbce53f5783c7029f17f7a2b23f8d507dfb0e9 1f7d362f8b1f86b81972d35877ff7119e4ecc713898149723dffbb47dcb4cdc4 e102393b4ab2501d400d3c0d410df365d9a74a898a6bdd5e9443be63a4efae5c 28dc01ebbb5c5277360b836d1dc7db6bec0b4b84a4d215ab8f72db5f4509b0c7 5b430a666fc4e3d073f94cb0d507b31fb981059a64f3b89f542b4516ddb07921 abf4b914c042113791580e4b661c96f7daaf41408ece69786e66556dfe8102d6 60101d16dd0eec9d742165ed08f648b219f37ce8562d9ebb1030dfccdcda37b9 4e90eb06299a978b87893c71f28f7a678dde12b729b4e661a162341316854afc 93e16948ded48f0abdbd28e16e496632f4dc8d9ebb0780d487e4d807b449177f e2d007fb7acada2bc75fde170466bab528b675d953786beba0e4fea348ba00fe 4d586f15ead5c2d61023293a7634b2d799edd3dd5eac02c55d6b1392066b0eb7 ca1ada6b301ecbc85a0b22a28fe2bccb1eae24ab5b0a6aa83865c52286247b15 3c62ab2e8492068ca499601e8ef663ff82db8d21c45363ebda11f4caa3c93958 4fc3bc5e7a4d9aa992b35a7366a381fc0fa29c7d25f0d6266f31bbfdfe4c96c1 67fe51ac80cd99714af0e4f5b48f4350e482ee4f0861e2ba5c8c0d283a9271f0 8ecb7ef390a457c1972ee64add2e2f72ea2887070672f875da7f0414cb7dee44 2071ebd3d577c9277748993c0700572b1fcbf21064f7bc7edcefb6a7ca499e8f df850f8d2d356935bd0841cedbee9691092613a70e63e6f465328466d83ab85e d15e352228030031454b97ce4747375f727e899e5fd3b9f7458ec8de4a18ea14 04279eb87e8848c19c765f651df4c462f81c115bd13d5840035554386c3b4fc1 ab39c252308b480daee669fa14ccdaccaf9a1d24085b087f409fbdb18ce7cfac a685c79d92157c89d48c9f74160060acc1437b7307ea03f00e5f827dc0fb19ba faa189f20af654bf1e1c53d9d31c2b9f8dc7dbf67882ada1033d249cb4b1cddd 41a97650489e2e9342c6dbf4c290e859d971f7fd72756afbcd0446b0ccd9217c c76846f94a2816f64a6b2fb826f94286b355b985b415d4970fa0b5b30fab7954 2e4952027a922d2f0c4d18ac236102cfeb6752d4590f6518cf129ed6da209dd5 9a60c2fc3f0563a7e61db9fe008dcfe4124b218d454fb37f539bee84abff1e75 078338e10c4c1bab56d6890530379fc9a60a53fcf8367c8d75ded0b1063cd4a8 aed2de4d7f50ad68c6d59519daea01686eb3afc4759dedc858583d2c3914e60c aa2ecddcbf59b5e43e14b9e70c30ebe7838d5d257c012ca09046bf75d08883eb 56143e298af8550b040a5d5eebb76229b1b0afaa85da4192a750089ec9884f93 db9659fae23fc47b9acac6db7fa2f567a903b9193cd20024edb40033a08dfdc0 f7ac1e43ffb3ebe64a5eac609064f53e1fc034c4c5a9fdfcf0ff15d613bc570f 320c3740b2a7292ae67831d288372261cc458eb3da82c0799e09d6aa2f2e0044 1ab314f62b2a9a0d6801b6de5a57558b90638c0eac0347c5a2bc79fd0f76fda4 3bd60fe38a1f016156c3ab7512c19391ecd454d8f125b4c35b7db21e88f9d074 6622fbb8956951c620c4ad1c4ba5379b230b974bf2ab28cfadb2f9f7563bd0ab 1df04a3b16dc96cecccb4652d2b19155a1ec6505ef51ff4bc6fab88134a49ca8 2392bcf1ed038a84b70dc78f9ab81ca4ee3b9b7c981b33dfe438f5b17c390952 15338ffb8d7082d7242d99a73ce749f759f24d67df8a8e19ac772dcd4247a9bb 3e04628da3f544cf9d40f2c97a3feabdbd489ad8583d23a4c8687fdec57928b4 dc59ce70eed64763cc223f91a332fd9810dad0081c37319225a002eb6211f26a 6c00eb006c1655338730cdced13610bf41e0290ab3fcade4fd13215058e0de16 2b7ece363b25f1996532ff736c86beedfd4540f399b887c19652bd37b3b88a99 f4828b495f8c759eae589fdb41e4ac2b9754ea4aff9c9001cd53d99a4dc44f7d 0835f3325ac978e0f0d1edf2e1fdc911aeb500e152612d67aa03fc212157653b 9fef60374093c330802d78f92840ed88d46d742b58ae09751f13b2c3dc0d49dc 7e58e76d0ba621d8d330376d3e4c9677328914597cb11d0e9bb53677b889fbda 063198be88f0a99cc79449e625d427d3a509c7780f1aab0626849756a89a64a8 a61bd0aef75ea4f0740106c757c73e8d78ec268273c9cca0c3c1d4e691210871 06806fba771de785e013434b957c170e08cec9179f3309680e7206a1b00443d2 17e7581d72539e1319b7d87ec2c650ea4343318eb0e2aa9ffc1a496a70fb3fe9 de50aec410e7a0209b99c75d37c4575deb0527bfae5e3ea08150be638f5d0437 32b7542a61f87136d46f82c49d028846461835fe63e63a9b287a7f388e7bef3e ef73946c7b5cf59336d18f49b1f98a572eee3f6371e36445425217379be6e06c a1ced949c8936f5d3410bb09243ed036d9312636594526cb2391922af4c29b5d 8a3ea36e643992cf6be0ae843fcf10244ce3632e8894d78360c0ed6147381451 870fbbf76bcd1964dfe1ba7b7b09d8220781fcfbac712cd4b81fe64ff2891b08 de67289f6fd989a056c7f6ec66d4557d149955ee913d2c6fdeb4291ff755a1b8 18876f36aa147b32fc3fa7eaf25308649cb911f0f1498d743370a3df5586d78f aa4f42ad06ccfddc38bef48cac6bf4193686f8ad77cb8d7df3c96072e7400025 087adbeccb912afa732060737ff6fc5451c7f700cd1ade55df3138c43096db53 ac5915e690ea42179f89bbf4f8b85e061f8ff3e55fa1b313bd202b2692f90c1f bd8973f610a2ca0487be1c51b72aef7dd7bdcd31f70752f3c18d0d7fdcc5e06a 3c552e0834191c7cd8b52ded75cdd1a0a36cc9cd29e965bd9e12488b1de744f9 0222f578bcb4e789f6f6fb316cb86254acae3005a94ec4b1ebb0c1ed45a01a59 40b5facc71e0977984c2b18a5b3bf900a0dd374759d883a6a256b0621690db8e 6eb09307b20aa549d93c0332f88e55c991338c0a4fd579309a65ee26eda37f5b 1a26257cf9731e58925adbe272634c255dc07cbb4eccb039ca29613b668e951f 710a746127931271f2865ee564a3685d28ef2dfe0f83e043a8529057e09ce834 75eac3ce101b903bc8d81e226f84e3dc1f6f906b59c1e26d06cb163acd0fff11 60000ae7f36dfbe0ae6851b7c63264f9ee98280473e98b7a48f4501543e9f891 aad3fe09938af2777399766459faeffb18c29fa584bb04433a7d9f8f06f35f77 78adaef48eeb26a57f3887f61b149c0ee46f40b58be3543221b4d78ab8892593 897a71d22d074ae5a4fd1a74cb223668d40feb2299748191650bef280a16fb89 81873eb4ef5dec7b995f02132b55c7c6b337346745ea8032798da585265fb737 52cea818b337254788ba51141e2630bbc7babacc8c5ea12ca0d88ceb34c24d65 e546d7ff02fe6ad6656545222f78e2ee1eb25bd052bc5ba4ab7b2689049135a9 22aac38c33987e3cfc8fdca2b563a0ddb3d5dfc18e2e941c9a62d4b36852ace0 36a09137665e6a59729897f82dfefcd46d1a8ab9cd2fc106edd2e14a9f9f998f 79477c65dc5351f9ab617b603b1de72d5779b3dbb5373632bbe82405b4a2c180 44a7eb2b4ed0a6387d9cd3702c51e9331882b02d46623f55e37f57730640c4c8 70994b10619b59071107c2f231ef7a8025c15c48523a66f8c3414ac3fa38887e adefa560ee37c53f593fc014a2136c37a1285544c59f30456feef6b81e934bc3 07b19bee5c4fc6555bf4951cc02dd8ee53f93c1d52ca57c2d6196eead82515bf 4ed78ae348f4a228fc3a7f7b69d7e75861627fd146c344b901692a471874628a 152f68c466d0099b7ea7754b4c984e81c3629ea6e20e9475d6c3da1be81e6003 0172ea1cf2ffc935256b7b42f99f3d6d9a1d8b92296cba83774d8a277fd949dc"