# Template file for 'firefox-i18n' pkgname=firefox-i18n version=97.0 revision=1 build_style=meta short_desc="Firefox language packs" maintainer="Orphaned " 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"' '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)"' ) # XXX: Remove makedeps later, just for build ordering on the build servers makedepends="firefox" 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="f5c109aba037c062420f91b4ec9cff445904b5dda0c4808f731ff0846e74897b fa5d16c6fd4d748c73f1d7a1129c5d8c9be41f09dccbc519898f733fa4c531e2 be7e8643594b2cdb0db427a90fe4824a26d5d044fd0d2026362f3e8b3983a929 45e07c0c681f800e8903261d9d43c2f129b63d8bdd73e92d1ba5202c5246403e 9803ff8a5e34514980d237c77af23c760b9cb23c1682d4e4f7f903b8b770912f 0f7e497bc1213467abbc7dacecac8e2ba1df17b2cf7ad72c11c1ea0834a4761a 6651a64c7cb25e84b6e65356c59677f84f1d34d7bce7334783a2667a69e577fe ba5153a0986852eda13a3585a441798c3179b885b3d46b0111f9785d283c53af 1f079894c1986828684c4db6d91bd086d90561f4676e196ba74dd6ef27e2010f a443a8c981beab358cea46c67825f1787f25d6717212fa07224e0547527794fd 5d16fb6c6dd7b5e4250c9b9f4d68789482e9e9ce2e6d750227302a8db4e9319a a57e5b45f709e35d9920d9987a7cb3a3973a38ea13e370e9f9ffd8b5ba059c6e a8e1225d0d34253c73fab01fe11a56217b88eccf29d59072015faa8c0aae05a0 3dc7471fd7353772756c6078986275d5d12dd46149ec1419fab6c5333e9301a1 6a85cfd2447ec85267ed84d5ce98b82972dbc2a5abc8c63e44c64b6d6f8b37cb d7907606e31b1035492989feb37641ce1cd3d58c8206bc523b6f602ff7d286d7 13067e830031996f436d5a51ef9743e5451cd2c7208a746024622c7f8f2b64b4 3d6292692c5a67fd8f83162e38a084b7e150f008d4381630dc0c7485b4a806c8 0429efd4b5370a9252d1374eca6f8a5ddc927220462e392f242fb0f026db1a23 94c56d817bdd52e7df498454a62c92a9cdb30e1a3e928f1b759de0a21aad39d0 edcfa778a08f37f71873532a63c0606916d49163a3394bc12b5b490c7cdbd918 14c7c03c75455c3cd4e8ac3bebdad7017793d4e03cf7d363317c9a3ff3bdeb0f 5dd1e1886db5444571d48aa2ffda239bfebff5ace868f3b0b1f23967d92e8275 a688876ae61a5856b3f5c18d7ecd91b9a187be6a26feead3525f3e7f5fbc8c2f ce667a9f58ce221c32f573b84c92406baa847d62a727b8d89d59e2e42cc94bf8 4a7ef3c9dd0635ae62ba2cc28bf103a98b824318ee3a1398113176e2a9da16f4 677ea1e78246b8508c1e9b2fe04834444c819fcc5d0cd3e32089415d2aae8f36 c573a88384673943e8e8a57a91964474ea80f6eb20ef1434107492a990192388 200b441ab521e5c5644835efd7d4b2e92fe44cacbb22afab542e60713606b162 f69f637842ea9af2149fe8f0bb623a4f4dc21337c5b81e9ae20171b0f8afd146 febb542f1da807187d4b16d14dad11f9bd5f04d93668040a57857b6828ea0484 dedf35b9d445d9a63ae506e1edaade24a10eeadb4e677ab57c6ddac3a52c1eae 4f71b077595d7c9237b303040730feb89c34a86d5c790261f57e0967d16a1b58 9fa80e694f690d210b62de1e6bb7fe6dae04991d87fdeb500667d0da27392d24 aae4e883c14c88863b9d493c5b8177d420f1b91e34549791820e7c6808115efc c8bc14dd18654f01bd0d0d8626e81280866f5fe3db57309bc1a32068981afe3c 7c378bdd247d0dcaa72524e62bc66bc2382c4977e68f03e6e01739f4d17edb16 9fd9d934b40997ff1e39dc3939ec175ae556d85588d9352ca89e5fb50f6cb040 b8137d31f6602e1029341c6a108f777a916e6782a48fbe96f9e970fbf3a58f0f c084284a6570b9a06509c02d76e9ed3313e873b2ee572e93224ebfc7564e0542 3107f9b985907712212891a8d7654430fdfc5d1e9355bbc41c9fb3d538ebe033 059d5e3d805f2800f6d9611432f2bafb59a7ce7710470368a586e2a98407bdda 5c99c2462448cc81002cc28deb9ad8196841d898dc550f43aabc85412bcc7bea 0b4cf05ef019f39168a998816e36610182f558ddde4ce8056fd061b477e7d844 3c521b1550e93bc8b5b580ed11b53aabbf6c9e5e5063917ceb122a1064ff42b7 91b72efb69f23b0a536cc8fed505de3826288918d3456281ceda07ce6c7394d4 d90e79fd7b72d8775a46c900f250bae4dd2001f9f001d742c5decd90248d1341 ae4a4fc5972a44ab6d88a90a3fd4e90dffc7d6255fe7f4a6f1b6a0bc773acbfa ebbdc7015a07abac11cd199eb9a2749034f394d931dea4c60b5e28e31eefeb25 538c5b2e2c2c4fbf864c9b450eb5dc42a789d90287db43e36bf1926b50a5d62c 5cdbd0752143908e5e72fc303f17a7fcfe3b96d5fe28fe98f4b1a5e7592ec4df d44439a6c7b5acbb56816ef206197b9639db3f878a52d5dc21a067acfa789cae d02a546496fc17ff14a016120915e86873c5dad58564ad1b0a35053d0490fb63 82f13866feeaa7f04ea1124f8024fd3c0f7c5b372d061698ca258670e684cb3e 87ed57fb98d505156dea71a7d30e992580e4e38f57fdcc6a839d9487ef621114 b64f8870ae7074c03837a7098467060fa25c43d51406fd8325886b006ba53a07 70f5c04ea4373ab529511b7236aa882c0599e78b0b22511423a3e8d4a7b0826e 094bfe80a8108531a3c05a6ecc801fb40a63e903bef99aded6e75fc7a1ab626f dff70abf78b70030b1e8e44797e195b3250137fe797b356276ed28639537874f ae92d03af7f9a4801aaba9025a563d312da8181833e287d35aa078541c3a5eef 9261db71cd3587ed44712ce8a7b34bee00ff19c8cc230ed87dbbffe278fd1390 9dce626a0a60edca07882c5fc50f9d08215d243a6226ab1367557914e17c60b7 99aeae07c77e046ef7553dd7047b78016a24eafe92287e4d671a1fa2103a4ac3 6fa00300ee566a919d3573494200d31a3333fba810bfcf7cff00aa59767af75c 35958033ad962b519b1f26bb17dc8612041003b7578e44fe41cd69f8bed05959 244a9b24b7dc42c0e2ef199f5f0f64fceccde09512ab38809b078066e2ad6b8f 2f9f92c84bc3caa28c24844711e3bd4f18357ae72ee1d37aa014130e0c151e9b 2de8ef19dde5bfb8cd1cb1869200bdade5aae49e32218a6998bdf1f686dec1ba b03fe90096c697934fa5ea8413cbdabb55733bdd27c2eadef013656246f642ae 7311fc15983412922c068420a32572ef8993cfb8d4f46207754e9176b218a574 8fe4d8bcc856e1dfcd7c1592aa794b76da5d68530eaa42cb385b06961ec225ad 92657144cab62982f7dd77979d15e77f19b021553cecaa7bae909ecbb650a53c 4e3b8e9c2bdb444baa22fb17882e01e80905e532e69643caf0d7373f10e0abff 3ac4a225b4f513d3726d026ed11c4e5b43a4e769d5e0b64aeae1353480d24cf6 a6ccf8b55acfb5a8e12fd27aac87422da5f10643f708cab01532b7d17bb8ea5e 6a413a92097d180b7040292828323f676a6e4c51caed9cd5f6294471478be45e 3ab4b279109546329eba08cbc43cf8704aa3eb882c3b684ef56a2519adf70dbb 14bf21748655ebfe93475106932173fee0eea0bcea1ff499da1e6102885cf260 a07eba9e992fe20f053ceb07636b633a5f91838ff8e8b9844f8c836d2269a6cd 3dcc319ebd5a97435d35617beb732c871268100333bb5c3c435dd13c36ad2dd7 deb561a5857e4d4b38eab3668d4f0a5ceb56f6260580c65130c4d25b7d1228e0 21dfdad27be3d0b7f2243d1470c9390d87a55c0f90391a317500bbae03233499 be29599c7a4bc945848bdc7dcf826271fd8aff957688db68a03b282c3410245e 1964337163f9061da8102ea67e1153203495c2c1b9e4cc5feb7a267aa4ae3451 33b0e8f43c0cb5289aa1fa6adc6f195d6ce037c5c5119584bbb2007e77a4c5cd 0239eb24a15b937b0164ab9ccc61d1d0c02b4a9af1232913fbd83f0d24748446 c88fef821ce20d7bc323cb5e10adf2306c11fd2019ff8efed4fd52ca40cca448 f8ac7c5b1ba1c2863489a01882f986923f0875eeef776662fb7abd5889125078 6158471ad0614b87a91e7cfa499bf6d54acd7ee0cf735d33b2c8ecfca0e966ed 648d1e5e705cfe80d885a21b46165e45ec13ed6858256f72b410b6fd52f5fb0e 0429b8293316c3d6ba7f753427eb8da44c086d31aa297fd5b97049a23014175d ffc48eb735b6939238445c7c8c20f96c32aae70a0694580cdf3dcac575d074e2 aeadb685f784d02daf529db57f7acfc956162e691d4acbf5aecd4bdb62ba4536 5ecbbd418ada6a1a1f04ce85467365e9f723588a7fc9859de58cac6588c51653 2e16e57a3c6b16472a0c163e6a01a63043f0bd236988cbafe1227d8e13d097e4 347662c5a6ff5b23828dea11524e3d12ed155b0b991bbc8372c2aaf556f374fa"