# Template file for 'firefox-esr-i18n' pkgname=firefox-esr-i18n version=91.6.0 revision=1 build_style=meta short_desc="Firefox ESR language packs" maintainer="Daniel Nümm " 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="26e349c4fce1e45bc461211fc99777e896e452649972e99bec1bd07c4d902f42 076463b82bb48b0a7f4ab030af3d0123a73140e3d01d01e9ddd61bc43ce642da c54688e23c96524c24ecd3ba896186003f6395f265283d8df0d6e0680f03e57f e442e5194859b2aa6ed2b931827974f2b325f7d2b496ca483d6a6d6e03fdcc3e 5c8761c72e7e260d69f3d0d9e5af87faa9c4c64d5bf936cdb18af59154070d3e 831c20161bf4d27448eeff447b0777cc9d9444e00e692f5612d25eca4d63ff16 aae556cecfbb89918644b8a0a5d6517e89c22a2a6d1f81bea50d15d3d84b46ef 672a064959a60a99863552368c2547171e0a19a1d2a8e367e7bf510ada4f4de1 fbc1b076abcf18184239cbde2e668d5437aa973ab2d610db7eff7af5e9c38ce1 e041427003cb3cdcae0c01d0cfed0b30ed5e382a7e03d497ee3bee5ee689d090 395ee2ce266d96188d91a4580608326e877a3aef7c547b2af25ee42ac8338840 ad334efd5ae9b95bdf9bc3738769535a06d8953864d67b187b8fd9d64c19f351 50213a9f6c2f32ffce964ada97c335d2aaf6bc022fe0ce2de27cb5b81ca1f5f9 0e37238869cf1746cde69b1dd0440b31a771bdaa47f6ddb844e960c64379f93a 7f6c48b5e89d3eb60920251c2988870f6e33e9fef36e48f44c35cf4b0a8851e8 959de89d58feb1e90ea2c12d02b44de9854a4deaa292d70068de6692a9398e31 fd197b8191eabd69d1ecf1033e5a19d5420334eb3d6cf085a7fcc734a7f5f59d 684dbe393b4b01a7195dbfa1b5adb7bff308b88efc7ca92a1e0717d1e9082f3e badcd1fb341fd10d63398d765f75cf86029cf99549ab86eaa1f946d958e215b8 2cb08b847596e919a159eebb71d16731176156402f4282a0d7f3ea304bd038a1 a06b9980e16492776e6dd2bb7323b362172e428a6e9309280dbce3d61bbd8dfd 5591a3f1b44af4d2aecbeba96ca40e02eeb368139c1ca060fdc2f8d1db490e36 d95ebbf6ef473a7985346826bae396f49f1b0658d2bea3e608a6f86df017eb3f 54f512380853e88bfe8586135d6e1e5284bfa0765e2785971ba40129ee92c4e4 30c98ea5192bd5d0aefea9f93a2565ddce0534df4311fe27451e847232a978b5 6ef84347128571d9129ca238cdd88ee07cd4a05ea6c031c55a9499fb053af66e 4c30f6dd5fc7bf48032f04fe9433f717981a4bf2d2048c5e2cbae7b77f987f71 07139a074668572406604b6fc89d6426e0bbe653c6057b1f17b4ebd53f3127ad 2da9a5038bca016401e2c827a00812fc15fdcbfbc24e37b29b3a47fcaeeafad0 4a01835e6c6c7d8a298f54ab68c5c5d5815eec83bd651ce638697cf4f3b4af13 62db35ed290f007b5bebed9157d5dce24eb9cfaef6c7984444e2e5bbd57ef8b9 c6c0a855a5d0356a8c576503be0500a311b81c5889e6d2eea9e3427bba39c8f6 dcf7413fd9784a141720c0b5200fc46e33cf62b6e7189b2e2283052a4ce1c05f 6e6c2abb5f57095c416402a25d2be8dfac6c43713d3a7c34e4ef5854e49eea9b 9b9eb4f38ea40993890be5152f58221ff6a91742fad48e491f3d5610ab7a2258 a6eb93ac5d2f6e3d06d3181794e6fb75ff99d9efafd0787813d2c072a684cc53 d4ee6c181affa0404321fdd40b59b25b35aab10a87016ff262b0e8c9d69dd943 b268a39f6182b32f9a122e0f50103ea8442b380a28476356ea235413120ffd91 af308bc769012d9a909635daa79eac5bd11f8e55ffc78e4d6508dc51787c2adf 6031a2ebf4000f14cacb9f44faa6eb623d08d1ba7313bba71c95eef4f626562d 1195b4574c1c2b2c97742518187a3bca8acad0ee8c681efc9b90a068541a8f47 d98320c38922ddb2984739726027bfb9de1a293c9c23a3b2405ab6eac1dd76b4 ea5664de8b25e2b71276c3e21ea653b17969a8e514c791e439b2778975719e31 98ffbee7305778a0c76bb87e13b035b35fdd2c327dea9680b59cdb6151afc39c f75cf5a40464f6a4d68cfd5359cba5a26b3af9dc98d58329c41815eaf09ef96d 43b2f23ec429350eb43e55b6bb86450caa6bbc225e238252d748c201b6047435 b4da39d2d04f63f6976ec152eff73db33917d22d6cee8f9796fa3e412f343369 17df7e3aa5a7820783781dcd3cff7ac67c6928e8dd24cda12f863dc0f244b9cb d5a5ec172b7f7b419d959312ee4f7188fd8c9d375930efba9587d0044b8ce3e4 b25d34adb7b3c2e766da82602d5333534d71f73a7e2ef7289672f57f572a0cb5 7aeb7c6f0bc2703333d9725b9d6c46402945d387c089ac5df547cb57792f4238 3efa8cd779922500be67ff2649b48094273a4f6f2b971a25f6b686381578610f 4cfb95c8e62d9585ee11f5c0abd1198a8608347f4df1713c79372ba421b8f822 e223b9d0b43fa8be974cfe09dccf881eb8b380229397cc0db2365b907dbb9602 30a6ef94763f5a7da8b0eba094d6689dc3dec4f5f0109145df4a081bfaa3d275 0a6b335ca4adfd53d7a7a3895df34b58fff7516388c52066492b717d9cb22a76 6350b5513131aa60858463bc0b34028b1ed965d1cb101ae77cab6b6e82b4ea8a 8e5d38a1bcc687b7bf838a8551ed01d6f8364d6e6d525989d354c19ab8fa5e13 576fcdf1610c839b19ac67d62908a246603755c714295b4597f57dd21f9998fa b689df1c96b238807a23be81e7bf3c90e8dfce93a000bcad6f62ba6b68c81947 48d49f4823c0416d17a8ef7ceade4b6308c1c9e1d64fd3ae73ca08bcb8b0de21 88268b81d50bea3189a738569e21360799aaf3235241aa7a7066b4a90c6bcda5 8973c7be7aace97d90c57651298254d484d57a88f9703ce96b3044206f0832f1 f9e31af49fecb071f5b8fc818d1916c2b58e64a7d02507150dff176733573fea c3be99b059b88534930fc795bde952318dd766caa82354c43201fa4892c311ac 56e3718d4b5a8bf70b5857433cb97f228663728636cd6edd3e4e59e59a7efd19 cc77ab370e68487e6909bf3fcebb17bdd200c3bcc19a32a36e2c72d1417e463b f0be0fe4dfc36bd95675643d37494747437bf250b82a65832dd6b11bc4e99490 05578860c05cb4a688fdec57f5720aa641d556257dc3c46b7530c31f57f4d174 66c3085c1d0929d3478da66fc383b2c45bf474233802f07010ad952255c38a93 d0cb932951b4b088e5aaf2fa4115c51f2ada1661a958324b3e0e7be4912db7fa 53733713343dbbde77ec44c98ef1904377eb6bb75f0d66e5e0b2f18ce3bc93ba 0137da4588097a1e662c3cafe77d4e0ca0fe554ab342615629d8157f0f217b4e 09649a9fbb2f034c8ae7c9444278b0906dd831616abc886fe3b7032045711eef 37a6b6168082978d9503a6c58b0ce62799f7f070b70e19a7661ca4f794e0e86b 86dbc3b1c659489f9563dd15e85e94357f7ceefc828bcd333345936f3dc7f2bc eb710163923480c1bad315b3e4eaa61f1aaab3e30f659081291b52a0e2621093 ad7924c0a473ed3c3a89c51ebf0d09b9def9cf2ec6f38db10598266fadcd6b56 1f2ce18e0f9033b8a84c30b3ca1d2d771d35658995344cd8e6b8fca09fd6048e 5b96b615350f84a44873125a6d1abdfe76dfa3df820c4f4aebcfd36f3d2d0c67 f74dd9356810f9d3a1dca90d53e534dc0541a7a56c3e877e5234c0f12c39f7e0 0d260486d46c6e352a309860364c904f1687156f24a4ec474ad04acf7c800e5b 50aef56fa7faced30ecc1fc370d52c5d54c6e73708ce5705d70f38d0920946dc aee885b8a055800c2cce6e3b0ee4f604a016818d828d88fb249011e127853691 39ec3fc095961fca458bb81c5586255cf8a5c20716770d1d9cf3bbdd1bfb485b 1e556da079a2ef106e24a039bbc510969447223799619af075c7205191700435 9f15c26f67c5d9d2fb0d339cbfe9c6cabb859e8675a4e3c4c797fda64b7478a7 6a10daecf2d1fd23592cf2ff832120688a78ccd86d9e9510090ad2d3a40628f1 a7f287d37ec3651d68a56f3b2a9d2a22ceeb76aacef95f14bcba91ad95e9ce75 8974f735c60699521430d7c0bc41ad4badc15d96c0eab810bcc8a547793f17e8 e34c02a6c1bd51bc34b36f332346fcbbeb41e7d7c6b3a4928f5864a7c89ff153 e0f79891a14e3d811685bc4ba88803affc01ff0348cbf596fb270dc4e0f1eaa6 45a9ec86fe0a9ae4ecf81f1dc320353d5ba3b1a50a1eec42b4fc32e8ae2257b3"