# Template file for 'firefox-i18n' pkgname=firefox-i18n version=51.0 revision=1 build_style=meta homepage="https://www.mozilla.org/firefox/" short_desc="Firefox language packs" maintainer="Juan RP " license="MPL-2.0" create_wrksrc=yes do_extract() { : } _languages=( 'ach "Acholi"' 'af "Afrikaans"' 'an "Aragonese"' 'ar "Arabic"' 'as "Assamese"' 'ast "Asturian"' 'az "Azerbaijani"' '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"' 'kk "Kazakh"' 'km "Khmer"' 'kn "Kannada"' 'ko "Korean"' 'lij "Ligurian"' 'lt "Lithuanian"' 'lv "Latvian"' 'mai "Maithili"' 'mk "Macedonian"' 'ml "Malayalam"' 'mr "Marathi"' 'ms "Malay"' '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}" 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=" 2db50aa5fe8866e0835316817a8f605dd517711fc59ac87eb1c27d259e1dcdb7 b4ee7ec17f3b9334630ff35e01c1aad47a0f493306eefd21b7dceccb274053d5 3d3a2396ab5083853e20b2cd3fa519642e6f4cd2b66cf446e80c7a794987c64a 3d93c078f8f89dd4993069fa673ceba70b3cc5be7c452afd37063b11e8f5dcbe 2ba58525cc4f1393015ddcecc286df6c1c1fbab69fc38e697a694625dc325e71 267db3935e315e28c8fcfd3971b7885f7901294b90172e808fbcd28c2c26ae55 7fc38d646f814b286c0ef2c8bbfd1a7b17c88d3c628c22c559cce018ab1ca461 ced3d6568e3421dafe0b8cda07f7d29c5421e038d42bcac759458133a1f3b272 94f1f7a8decc0cb8c4accd1826b8f335b16abbb259359566be5e25529998d349 c02c9b776479800c2815811921d5c334d3079fad1b10b5668f1cad2883d40951 ad0f3653a2f98487de066e7f2bfc5a3cb164e5a813863c0fda921ec496fa0363 cfdcf39092ef00377d7beab3859b7de11174bf7c3654cca7b9734ac4b255e6c3 1115b657c3899829009f4c8e553d2cba22fba271c5750a596920d81065d6dd77 326ae3e466139567ed2877dbfb01fb696c7a02b3818c48e65923eb64df13c358 bb4b595d981bbbc56058d41ce73e9f6666ab410d43b8bd49f899fcc941a2af80 96b50da1eb50b38a83dd6e0065a79c069dce2c762ea4dbb87a47282bab68ebda 7206aa12af4f69d70f598438fb4c8ee528517f7595db5d1d1b51055e851f3a88 4e10974ed2d4e260c9eb1205d131cdb1fdf9672584d330396e5f53a28b977cf0 53a4d8c6175091a724a5c5d94d552ad761ae6aad2643d8f3a2d068a3661dc117 011e683dfca482754bcf7a722ad46ec17a920aa012d8f238012c42f05687e5a9 7f7a3fbb98c0b0411c81d8fb04f300f0548ddbdeb99a225a775c35742b372134 91c8fdb94a50aaf34cbed5e319850ee6df09c9d2c1bb7d98ec3fbc575527938f eb92618d4ce84735671bec8c9e7d8a1a310d1ce0648e259d8b547cb73ed31c5d 0f38d937e8d6e6560b1907ac8fc21e72c1daef9d87b244d9dfaf7e3ccdf1dc19 bd828cdeed17fe2a606ed6bda40852b46537ea320741619dcfefc0c29878d40c a14285e925cfcf01cde25cec6dd6fd2f7d90c78abc0f0734949a02a48f981e76 dc3a1b1a50dae2885b24e8bdd58e17c67a108dfad4712f291007af4ddc5fe8cb 77f11998e4e5dae7b1e42a3d4601bd32c720df72496bb5b526ff05cd90a65301 24b4d7ab975f624618ec524e0fee5a64b943d90cc339ab37af671efd9448f0c6 5cf55b5a15eb77b13557646cb7db1963ebfe717e9ce291fea868005dac7d7174 f461c631c33b90a738b7e158556408966f1a429f4bac27d01f14e6b823385f75 eecfff13c273289228c20fb710847f74236e60088afbfd62368b9cb66f3b2b7c 1a43ec5bdc3355486d2db56ce77c21d8361a4745ddaaab82e3a13349d4f801aa 2fe646ccaa1cf4e5e2601459452e364f9bfccc0bb8ff37d5105505576d338e0a b03faae59547ccea4b55a12ed67874eb86af4d9b6aa3c7b9a2f2c6a74194b6e7 8be3e3530480fb9fa2b892dc027a78048d947b655c0b6db0e45b83de1288a068 26b53d668cab518e1d350b875a0221148ce09c1fa7c0e5cd106b058532df925c e1295088a34bc6d0c569c79cd2c7beb8f3f0574ff6f315b8825c060ba1bba3cb 92c52452dbcfbf1b5f65ab0f837441bc44c1170aca1bc686e5e64bbd6c5c8d36 d50f96985e4a81f85ddc876359d1afc2dd1038ceffd95c2eddf3ffd704586951 6a3db03de54e4e10bbf980081bac1e980327c8dcd43b2bb40f0bb38d20418b03 97376eef6cfa37909206f3eec1546b61757762a6c3f9c8a1e936cb7e3654ec0c 3b4da4a9088352c30772d7dff4e4b723279b56883f43f046de9419574edf4b39 bfd26d94fba685df3df36ec2e729cf9e24f4c4ff7d12731fc98a4aea48bcc944 7373e4aa1bdc2a39518266db0b117c71b5438a0a72ef60eb50c84942942b2160 5b4f91353db0c74e9af94ba74d0d31b0317b4af55c44a7d33ccc3ffea17e49ad 3a0f000fac7f542811b24b34d2aee0ed4749f1f7337afcd4fa2a9fd57b1e2660 a9a4fdb1b2e153773d9bbef9fce05947d2313caaa608561b73932257704d953b 8da1fec9e5f5db030c17590c875aff0a100afd77db1aad7067fa3d931ed03b68 b4ff63d51449460b758948bd8e73bc932d24b2e14501ee076bcae5b70892be3e 000ed1c4d96b3a8807ece3f502a900bcf3d8ba3889200d6d922e37bba8e135c4 bf312dccb93b24038cbdff0941276c2704f54ea4588a80b9d7a337ed894cf5b7 a8b4024791d910285dc9d763b3d6ec3cdf5289683beacd000fde122d79af3810 2aa83c07862474156bee35da55ad1eefac9ff63624b65ef7543276a8d3f568f3 34cc82b5ea5a5b16e87f70716dc32a37cac72cbb163e804b6c574035f299d67f c1cbcebf3954409cab56825a020ad23c53f8814674d94e4b12dca6f361c13ac4 ded68e952783c8048ba3d190fc97ef49675828b2de0ffbb92bd7e450c2e82ee3 58466c629a402d0e5f050fceaa7a806605dabca3604f8cf8c0e335022370ebe4 8558a01bbcd28a679b8808b579a73aeb95f27403b9aa19bcdd4f7d0188d077d8 db1b8d37d3d77fc3ca0317b10db8e74255567b6c8f9026ab34cd866ce523489d 4915727a4314058a96d6ebb229112dceee9ddeea2968aacbe6420b905b2be1d6 312cf883fa61415601ae510df828aad123db1f8d227f0f4612ecea4582d87ee3 07b5f1fb9cdeaa232d00dfa37700b5553b18ed1d6a03d28fc91b188e5f350c66 11c844e878c0ab1ccd7f7b8ba317702beb75bca7b64041d8a3694ba66ad92368 7cc499b354635a0413bed4709530383c0f63529ad3e078dda11b4d550d186ceb c7b5f436bafff1e062194f04036baff0737731775ec27fb1b7498ed69a8490bd 15e2743d9b401b119eb8f082be18e6b29f7002ab21f7e316d0738731917d556a ab72ad3b2bbfa2303058cb889130141ab7c8c08aeb9a5b3fe1252d7426037452 a6f5c484cb225ea7020f7480415b1f72853a971ba8c49c211b0678126b55ac61 6cdf475cc23904f2c24de602c58a0f9bfdd08961b8b5dd6f1f9de91f83eb0190 74792c022c5cbdeeb99d0588de585573c303acdab7d99837138ffaf588d234f5 9c2516ef38104fbf62279bae439cdbbc15f79f8071f39dd1f59d5c67e949eaeb 6d0e717fed5f2d17ee75922d38b1f743b4618427e9eb157e0237972abc69b244 8bdab7ebe72e9c03d740c1b8769f06e9cec48a6071c8af2588ccb52b59a280de b6290e686bbe6680dea580fb13e2f49f05bd99a5f86c3ec23075a570684c7811 7eb86699ca252c33cd8b0480e9430272b30496074b6d1ad85cb69dfb0aa3a4e4 882c537350f8b715616619f016c9b83dce584e447e81841259153613791587d1 56d8da862d4d06045b80a6922c53b7a65045ff01cb550a7ebd9a7d744b407808 c165029f40839c68caa2d28f21991033e198ab83829383127a37aeacfd190aca 24774105439f44489ca6b474237958e0854b1990ea39b281c963e6f3931e7c3a 34a51884ba2a8dc8873cb92a79f9337ed4c689f7aafe9d5de759ca401f358091 2b5a18643ce387ee7c5b9e94eb34a842c7c94f247109e2206dbbddd3fee92d9e 485d05b53d78f0d9cdab9ab85f008e64e03ee95744b233527d813fb233f9feaa 44a2655b3967c7806f490e98516102568b46f209e97c8598949e2ac37c10f39c 745c07248cd06abb4e5b991359e4709752116ecae312dd2f20e74abfe78a721d bb08a8d7dc74ac27410023b64a68e4ca278f6c5e08a921d6fde03e83349992d6 f8115f22024219571e56dfd14eb750b6f95cb7e9703cf4c2cacd0d179b78c966 a27521d0f47d58cf075f75e24a63e1db7c7e26064a8f3a89549c504137210503 4a520e048ae526c7728590d0babd73d63fc6948b5577325222454491e57b4ffd 9ec030d762c6d574a34ac141006e3a124e7b9b20005f5e9c08eda25e3864406a"