# Template file for 'firefox-i18n' pkgname=firefox-i18n version=45.0 revision=1 build_style=meta homepage="http://www.mozilla.com/" short_desc="Firefox language packs" maintainer="Juan RP " license="MPL-2.1" create_wrksrc=yes do_extract() { : } _languages=( 'ach "Acholi"' 'af "Afrikaans"' 'an "Aragonese"' 'ar "Arabic"' 'as "Assamese"' 'ast "Asturian"' 'be "Belarusian"' 'bg "Bulgarian"' 'bn-BD "Bengali (Bangladesh)"' 'bn-IN "Bengali (India)"' 'br "Breton"' 'bs "Bosnian"' 'ca "Catalan"' 'cs "Czech"' 'cy "Welsh"' 'da "Danish"' 'de "German"' '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"' 'gu-IN "Gujarati"' '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"' '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=" f3c4a7d88ae5d896a3e05408280f47836ed53d1657bb6de2efc894781ec67448 f744cb5c7aee123f168d57d66a74010c50c3f9793995337d7fe8a6dde5de8dc1 5dbaf930e53fa21da82521edb95767826d942ac8f9a82dcc0489df669db131c9 82030ea6870372a5b9fe9f4122ccb5372a30c63091bac016f1480e4cbf9a35fb 82eab7a994a7d844724698a79e649eefc77b5e3fad503b3f9fb12efafc22ae7b b398d8552f632f83bf5323cde80412215f07f1a13e747143ae3b0d7101f1c9a3 8aa34b45aed00891ea0ff26ce8ff5b626fecb376329c9f256a8de7fa56d6fd72 e1d041add7954b914fade76a5a0e1f9e21448ae90f83d469334259900e7aa966 96c7e5622f1b93390132763723f65a8facfff86da37efb3e920135d0b0f4f154 3fbd320efa0e5f7f55a6c9bf17daba1b8ed060f8d4f3f562465fc70415f670a6 ade6346d7c4a0f503bd53e77685f33baa6842e307f88cdd0fe26eab278889e9b 743bd7621911d99919a00c65b6bf28f6bf497c6d6a4c497008671457ed819caf 1c14052dc7090298026b2e5b8473cd447e2d083b2abeec2dbb423b4760602732 01b1b18f9eb59a744b1dde006350251aa21d0d8053c5d3c42ab541014e6cdc01 8d5a82459c97ff0a49ac3029ec133f239129e48a010f957c314fbe5495f68a15 7782299deb270bd67708ed723024c7a5de92dbeb98d3580adcffe0935a8fe4ef 186f6039a579a144ac441fb5a28751866cb6eca86ab3a533c88252ec9cd44965 52169263d83786930e5ca370cba3d1b9e6ffc87ae2139fbbc41b11945fb910d9 8fb4f3dc623d9e59209095885a0009aa2628115fd0059077f256d92b606695db 15022f01d063b6c8b336bf683201b29209a6783e05381174f17c307e1fef3d39 261a5bea7dbdcd51cb219d83c2624fd48fb53bb6055124fdd37be27f9b7bbfb1 a333f3dbc0d1e88758f0a669868291f5d6c4c0c5c311a3f35ba11f36f49ac8d6 de51301a807f4c606d0b9faeb69be7b8605ae555d10dbf2bae84f6306ac3352a 5f1c00c260b2100a52eecc36cfafb47c0baaf579e3e8ed81e2d3f59b7e792f5f 1c433fef4ff75d2b531ab4c388c1bf9ca8c4d368dbbbd38fe7233cc297c4e4f6 e72af51262814b1dd342bfbc8f2dddbae91ae5532f36c98291a46a3cecc3cf05 906d1d9514dc2aaaf95ca8092da7e250f53f9c43fac828e8d343ff4ce56a3c63 fc1facc9eee4d72e2494c888cd93134b269b1bdbbd951167d33bb808c433af94 b985b4c82a63a6bd842eeaaa3dcd60f05929d5932e4a1371d1253a2bcd50ce4d cf1ea83479183837dc7c72471b193951aceff26a9da3182b92a719a86d4b3f72 6a4e5c37bc2803d6d4d0361dc1f5d4ef10c25ce494f4a9e729a257fd4593d859 20a02546e93726649a0cedda8d1e7d1fb4342234d07e252290ad374e44573f63 c32f81eea351def671c6f38ca8ef736a8ba062ce8ad94b395243fadc0ab3548a c85afb300caaa46bc2285f183210bf6bb16d33c48a92ccc8854645db3a3bd774 816f63b9b9e160db3ebd0f6df9b4f271dc4720d9abaca11aadf56841784f429d cd3be3abd31ae0144cccac861ad818e60d168c7a36630075049fab35f3fb2f04 04255887adec2fac5695889b53e307669f47dda0f24574ccb235c06b3ec5a7f6 27b635e376bf978f8a954e73e93f6c349b39ee36915a7d57f57efea03208edec 0a5a40d8cefd5ffb1e0fa6bb5763b2704db1ed1122dd87d0bca55da29aabb2a0 77e7e11d34c8a2cdd017bb5b8d2866c36153ea841959a681c9b7233095851ba2 9480b541d445cb9342f65a96eb749db411d2eb68a1ee6adf57f75f15a132ead6 7e98c7a6a7074455c663e8116203764671a08d1b5d46716e8be31a42db4e8342 9024bc417baf22e9836cf30312055c47eaf10309d474b1d10c6b4aa94a137cdc 78d6633ef86c9f7414d76e12c51780da5c1fe85db4353b87f2365d111e6d5383 02e9491e0ec6a6b2a74884aa9758067017317cbfbccdde4e1c1caf1763146984 64692512e57eea61ca243d50b4a109a44bd2335fb593c27067c7df3ef9f5c800 7d80f8470a04cfdfc80af6d35be303e37cee9433cfee2efba1b979e7a8aa7150 addd1d2835f62d1bb47799331647ec4d82ef158c7d2d77bcaad74ea5f5547894 a0c33b3bb17c945280bc2030535d7efb938e29069b980a4c7d407d53be6ef7b4 649417a550c2fce773976fbbe72093290ce7095f958278af6feffd44c465606a 0190cc1accd327819e3e773f48d00571e2c7aa5ca3312ae39c97c6fb06a75e88 93684b7fcf12f738dadd2020d2828572831c530faf869773c45f6bae6213c29c afcf61c54175446c9f8a0d65f4cf24864bcd96e1bec5e2ad3e1971673507b57e be00bc185f2718dba9be72ae9baff541d0f57b468da68299aaa12a7493b674f8 9866254d18cb985bb37bdc13a067ec283b07a77b19c8977e5f73e5b8bb946a68 d245069ad6e136e5002b320a58e14f3ca994616f907ce95a4fa15af1dab0514b 169f5581e98d9c398205cd115d8b4ec77190bcab400e9d8fcf4a269d7df7ffc9 fcd86e1ea7f7eaa12fd950c3956ce53b08ae91a8b100cd38aac9ef547cd7e879 05582934c6b4a10346b5061496e6bf945974280caaf3f8fc9a1528b0838ce82d 73dde6c695162c41d3abf795935964a622a64a4d03dd95fddf921be8323b721f ce63fd03a213876d4b78efbe266c36519331267c325467c13abdc6c4aa4b00ff 29d89d3378c7124378118242c60bcde1d477930f7b502bf0ed99c9014e7456d5 d8a6b4cbaeb0238888c660e0a8f47490008e7f1b2cbbf2a7ccc1ba8d60343c48 36b94559c34da4ca60f3798f7c57869381054164613d40113d15b1a984f7471c f0ab7ae2db4a14a99c0a1ecd2f94086d994db4a6da34c88c31d7c9348c9c2d2f d6a00cd285f091eed478a2f558e78970ef12f80865297baf35acc1e903beb074 faf804a408fe1e9bc1285ce1cfbd111be6b249860ad30b0b9c4e17a74a1eeaad d5edb258ab602218587cbc7810fa1c10bb03b7e04616338ad75f4c7f7776da56 a9a01ccefeb946f68b718b37ea44cef1fbffc5ab143f9a6bbf551c4979bb7d21 0d237ab95686cc96056e953e31186491009d62533c555a65e01968ba7ce74ca8 7fb163fb2f0f725eacc717f82044d20b78ad37a996d0f8c55a0c87234a411245 c00e91a405e031091f15a6b890d96ed95ff0b1d8d39ff1f17480c8a979845821 55cb5a014d2baba7fa93c7beb85e7ff35ff7b0787d00dc2e79abb5cb8da8eabe 74a4d46d81c91cb35aeffbeec4992379234bc20673a04efa3003f5997b49a801 ba2df36b997c960a22f9d8faf604dea3cae39c3f135747bf729824a98d4680a4 290889c15728690fc7745395152dc3af5f773eef23df0f64a880d0e46b2e6846 707cb8dc49bb18399a20ca5e5c3e1ae66e7c0a14d0660b824e428f55679ed351 b7dc71e2e34c6927e01c33feb68d75fc3ea25f0b62c915d128c4fd1d5b591b27 c9f1d6ee4a4ccd6b3fa1f642e464089a5590f8c6185314fdcef1e4168e8d9f9c 928aaacaceaefb7f5dd6235aaf6b9bcb71725550c846db1a8f71aa3747048b17 fc4c54a9f8a70f1c9844e30c270b96daf21fcbd3b443ea8ba9ea2c2db91269ec 4bda4c866d370a61427136da362904cb3368e854a0bd329ccd560ccc38622d85 dd4905958068ffbc2516edf7905ecc48773a1c403a29266f4cfdfb72a72f3789 e62f7f7daa990f3122babb2b239e15a5f8e2b6259917c2a34b255314e0a9e523 d1c7d020002c91a4c6fe9e2a24ed87e2b2043a05aa14787df2ff01e2216c6f1a fd0c7e1ad5bfc2fe1979c748a84799d066d67f1ac6fc5cd19e3cf5ce1e82b018 "