# Template file for 'firefox-i18n' pkgname=firefox-i18n version=44.0.2 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=" 78dd4f875e94ef5b1dd6e4ae3c6383c0b5a9dac21d8906fdd6773515e3f79c6a f80bb4cc0937f2f355d594ee1e7b771e9e3f44672161403de8228d9fd0429e01 3c5dc9c43221be35d0234a45899133fdb0603622352c60a5992d633a1b577be4 bc0c64baf89b969be23cf3310a288717fccf7ba186e89eeadc11829efebd5587 8ca2d9c3baffcaaffdc55eb2abc074f0d58f9f68b3dd1582faacb3f7492b1fed 7506051ecfb2a57947ccf53e0a8f8234badedd8a9668326a3e3fddb455eb4673 8788379b0978281d0e8d75e2905b67473ed80cd8c3372c3e7e3c9d723bf7b605 5c744cbaadea198976b091c288efa4a17928a3ccf2ada2539b3134c694efe41b ecc8fffc55bc95330c33bc8c73b365580a29ea743914c392612733e8144fba8f 19940df3112df882b1a300f4bd7e7fa37a71e2c71d1f18c469511af5e3f211b4 89c22568ff520a236f8ebbd8341d353af4914a999d1e3f3e9bbf15bbd5813c15 8b8743f5b80f13f717e81e8742cb924d77fddb7d500e96fea5e5484d641cdc34 23bdf6db8bedc69a32e6dd5bf5a606311f9c3bf02e80d2e496f475845bf8488b 0746fd83deabb832a01833689f03db0df1c691a2ad4bbe1d4ded93972c2d59d2 5b8e07e055ecdb040c6c46cde65dbd9745eb56b365034dcb28c20e23a44d76e3 731c91695e99d187f7d8b03e86965b073293468b1fc808b811a67024e7ffe771 0709f207725631a3eff02bba748e443e6f53ec01a63fb1a4c67c8a00bd6a4df7 682325bdf8b134ecfb9375e169ecac6ccb40ee12e833c77326c77082607a3d3a 4510c02be16e876ac48c60f740bc078194fb4c21ddedba1683e15b5bfe50fba2 af07ff88e5414e41a31e4fd419528416ee8e558d80d132238efcb9b9d29de95e bfe3cb660d027902a0fd89f291a4cec7bd2f2c216f4c1c536bd440176a4ee58f 7721b31e1d73ffc2e9ea9150d19d5f09d392f454f9254e960c98c6e9deaaadcd a67fbc3c45cedf0c7f357136783a6c69d8d729908c7a0a0d9b5e24dbe04a2ece 84ccd4151bb5c7d0b1946e1690f0f26b29a61737fc8467624f1667d62e09a655 a41a27f78068859fcfb14cbeaa31273062dddb5c627b8ba21d42e136e5b5d083 d41b3b321af8bfd63a05636aa8e90cb79a4e771adaa232544d1b2e257c9c4892 9a584347e3890967acf1f2e7b8cde6d50dc922cbbd8df4b3f1780bcc9949159d 6406f57634fb8b392dd0454e45a58c6e76abeb13d9ae56145e02d66174af7cf5 49c4c10758a960dac223c29dbfb62eef71336ffa0c0a1b1691d625298cf97bfe 70f108474b4541f4bb9cbdfb5d4be3c1218083691c0af979a62a4d4189dc199a b8779fd758eba162ae817b52163d26b534cf6bc860b7cae868474e101a995724 04ca61dacbabb368e72b3fea3760a1faeea9d54b7afe3aacb24f290c0bf9b914 b19bb1d3e938d31a33e98bd3c1e85a29eb409d528b8a70b0265871ee789cd22f 4ae1edad5df17f874c3e127e9b49044f98cd77a65f8d0639ed119d9306fadd00 547434963fcdcc164b668b7d00ad93fa51c58d97f6ad40b3b57a0192bf256074 53904c0e7e50852ce0751a2cb5817493eca9496104ca8cda961e6e7544432c59 d3d92f193da7e084afa2fe615cf89c7557f5da205c2dea6567c659e481cc64a0 5bf2d9de7e23d817a29ac616dcb29dee08164bff76405487f0501909e13dd076 555b81e609badb42d964a132db8340fbe76058a50f6666d7225149552da8f251 ba3ee6dfae31599f129dee59d40de832fe7a706f5b8ee07c71c3497829d93938 df84f58c10e01bd05883850313ad9bb7aff9fb4500adf2d219ba28aa28723958 43a3a184917de8acf7351602fa9d8e6f3de2cd96c83e610ed957dad407b78548 3abe2cc28d1f3359e83c7ddd961c70fa6332af1a74c14926e4c152a3c204ba36 a148c51185e82b445cf41f3172ee572ce294c3f602c5ff2263d76fadfa2898d1 00de442df3cb7229956a3b7ce5b0937d7d157ee5620848554be043eec003819f 495c54d5f2b250281dc35ac0db080518d16e1d87976b099e445116c68041855a 9fc7f986b17212a25bec75f72a4dd5d8947077327dc61e7fb1112428500237ed e79fc6df878ef4ad55acd7faa56486e2780331b789a81e32864ebe4cb2d6333f 2da9abca08f869bff867e994c9fd16c4087955663dd8fa564396bd55a4215345 471a33aa15d391cd46210a787f7c366e2ddf5c71bde8631d6b5ddc4facb8fda2 c66172bfcac47899a9bcfc216aefb36156c4c96e7a85daff8adee4a7b8c8c40a 17f1251e3be515192b5778c015e1fcef68eac8ce62359304094d4b8a35884564 22594998956157dab0f5f75d197dc6916d3d129b7271c1fcbab62d457aa03317 e624f07073e3e109cfb6f75c2dcdd37f212335777b7648d69572b5b03b86cfd1 c610849c98f75d22c953ca8f969a5a8eb216f7b9abe2b69a994437c45883780b c20266df9f18e539cc306fa0c8510beb465fc142c4bd0a0b2981fd488c2f3e7b 58e3cba0bd84b6196f56d5430cc802d050f89e81f7df6bbba3de78b36505a06c 905688e784a3687869a89a89ae6990dbf50b8a3dce01b58a675e5a130ec8d0dd fa05f5cb131c17bd47aff71c828c62623df8ac7cc1c4a77aa7e8ef5b52655b7c 5f7ac91893b8dba07cf6380aaecbbf59c6cf9f6828f15905c74fe7508b00e69c 07af52f923566de4c75fa573e12cc642a952a9d34c68107031db3c47568ec5f3 6a452c10f93bd0317e16c40ad58a167d092c65770d62401c7680a2667f07a4c3 e9c8e29ae48027f411b456e9d51490ac5340952d94ba79cf06f44b5af1426a03 b90d3ca3eab8f94d130869f3c722ad1e3eaa6e4e3cc40eef2bc4fdb82e77bb69 8421b880f1e5268d5cd2a1314b05e3933ea3ef568139ae9e11c2064f3e723c5a 34295e1c43322c48749829f9e378fed557881a65789511eedb443eac717dd81d 430b639c423329aaeb0a58455a92cea8f2ef3e25e1076e081672295b016194cb 334dd7850b1de48c0c806bb5993f55ece0f45b636e781394abe89c54b7751dff c115c0e142cf82bc713a646e11ac345985d48f08fefbd72d2da4757062ea77d0 c4c8196ece406b71b642efe4142ff5fb3e244b4e575569dd354f5c89f6fee0dd 8f48c04cbae69a254646255af72be70157f67f903cc59621f2be8b05842c4559 694a66caadd8d3b7fca3d73856e8192f3f0ca0c766c5d9abe2a087f8e29acb99 ad458b5c47206e4347437eb2ad1a0c8b00d5d9855cbec808f56eef44a8ce465d 7ab8b84b1cbe8101194546eb714bdc46237c420e8da1f5fcb4945ae4cf8a0f02 40bf8e6d4a0598bed75738814a9f2a3363aae4061d77096176f81e80b9a67e0d 423fa059b7f76b35a354b6677bdaad18977aadec1b0a077a49385d86dbddff73 8ee4c83ce771f97b2d742345eeda9586319dff9fbb9a518b9b557f2f2d479db5 4af0895359af13368b298e50ea92b9a7368ae8966e153fb631012e37f2917dfb 5e7607c4c2f8a5a305866d944399c574c4d2a2f362cc78897220996e5333236a 9485e0929ab39dde7de36531a17b2dfb063d783c3c7041639d2a75340ef3041f fe97ee662baa6b52d5872488b1069b54e967d2ff4bb38dec48af83d408ee9a99 367a130ac1e3e87e2fd6734b6b780bea569fc3ec4d668149a01c81072ab0b7c7 f1d380e4e083da62dd3adfede3cc7a894036d6f4dcf36097b1d32f16ebe50352 08ba2553fe4042c123eeffa05721ae7a26b4d30bb79219d3ead1620bed918d4d e8609ff71c038286fb3768369941bfd864343eace5c0081897387eaf2f51da0d 3af3a905106a7572753d7863bdaec82bbe5b3670c1abbd80d6f4893a17ddce89 "