# Template file for 'firefox-i18n' pkgname=firefox-i18n version=45.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=" efb37a5be7251b3292543c1bc9e9dda64cda3340fc12b0b797e9564164e2d00e 9152a817e5e732d3220714182dd6ebd2f40f953902b40e584e012d9424ade3bd ffc84b75ed2b0026582159dddccfa50d037a6f6c55f149a11474ad9262761641 ed7539ef68238b42346c6c7e4dec33eb775016a701acb2b5f013c8416bef8a2d 4c3bb7346c57bbd0cb4fe9bb9603b0be8c413c86e93cfcafc1fd067b08e5e9f0 77690c4d73497a39b81d5eeec52a975e2a110fc9993e548d1d71f45735e6c6cf 7981ad4c9a16c0917c9d2c5578afefd45060b57b605c1a23e65463ff254048f0 a5d1086caa6e5de1dd7dac11ccdedf230505dc7a523c13e56add2d18ff464d5a 0dbc7524b1f5f8acf43946cefbc57af49f80dada7bf907784635e976ce096397 b38c4c20881a6cb02025d5bf2da93ea1fc2aad27c0894fe1b7668b9953f7ea52 97bd48bf64f4f9c0dd5357e1280b53e21bf3c200e02fd95cc592e3216f269e1e 79e1251e8c3f8be8159ca0cb8272c57cdd8d848b6a663b467e703e5e7dcefff4 4d37bc4b74a9a5b6e5afd51af442b3768f32cd0227caddaf597ca24290ba6ef2 67a2af1413284890fe72feb2c26aa901f626346299611e8c9057ed64a84bbe0c 1633f9583f3f73778e4d45a580ffe744919674e2a7c06b3f46fe8b9ce08746ab 2e873766c7f44e061b9b9d4ec77348ce72d023ae01315d831affcf789bf3bf21 2e01d1e5adb306a81f501c63072e6c6b7ee9298461c2e6773b972a76f0f0f14a 119aab8443f13fe0198ca4e16a4d837d9e6a04b0de1777a58b4f7152559d9e8f e67f715e3832ae1bace9775b06a02dedddf439a0ac842672a298106d226d5de7 196e8c5c27db003c2e669dd0610bd30f48abd9f3fb0bd0971c49bcfc41b73697 106901b017b74c7c3075a903f8f1b70df4f683ba88826bde47e1f804dc3557a6 bef8d9a8682bb1af91d77d52e55f2f28c1631e375579a1a2641ff36ffa6162cb 8b4f385ac3fa7da9bbbba1d96c2b06418b9d3731e3779881a7a8ea3811ffd8bf e7c54a732e655b9987554de8dee62c86e9dd94a0c2bb592de2100f2accf8a7e7 ecb5beaf117c56cad545c5cf35cf8d7087b54e0d3242191370b805256a781e06 810e0f057ca757566ef66a1c93b4b5b1c1b6a500f3ae09df9869df4c3f5fc90c a7fce5130839cd338c789b7d0c2f15f27e00039e232bd284a90dbf126911ab8f 67ee8f3ee30cf18529114dc2cdda62688a40d0ffeb3a380cb36523f371b5cc35 954568597d533dc4a2ee0f5694d6bb0f8ba9c975188f9be59fa9fa47bc46d3c7 7fe6634c9543efbd285a2ad531a4b7941e159981c70ae1bbb7198f5e7b27cb4f add3e3b364cd347c9bd3c15310fe499fc8991584d3c506eaffbb46d702e3b59e 17b7e81d30be1cb8b294e4573f051bf3e64117f3fd1fe0e18a7f63f23a08ed77 03a845d7abbbc259fee731ff0514c6314eca9a4668ebf222f41c4330d5647558 e44dacbe292e6745673bfa017548d952acc03ccdaf61e7b0478dd5a7d2cab5f1 f74d40aebab96611837de2491f93d88a02ba7947680931b11c4ab89728a277e1 e4ad2852109dc5e058d6f2c80df160f83de83e38c6284d7822426dade7051b7e ef5bf6eaa89dea4850fafc47ff75475da63751ecf2438c73242bcd208865c807 c976ed77c2af58cca303059a1d9ab2bb6fd020c2206ec33379a55f889686f3bb f11714fc7bf089f05bb228b12394e5134713083beee40d0279f18da231e57922 c98d40f99a67de7af54f8ee06a973eda5a90933a46ed464d5140e3e9cd8a45e2 4463ae66e009fcf3bc85248fe742669801e55ecdb93d01c9ec84d32bff70873b c6c07114077ee31c219f4a35aa826fc241f7771df685f3eb20be694ebd0b33ff f844f411bb6484d14e46c9a1ea069bb8eecb635a82192d0684fcde5fac50f7f2 64346c40e7da7920cbb2d4f1dd05d65600f49c925152fc1388ae700463d16097 bda2e1f8e1fc1fd3463259d1130da0e7f8a022eb8cdc4ca1a35b9c504cfdc49e 9d293f12007a834ad2bda436437b7de1939776cb516b7306c91078caeb70b1f5 aec53e67edd8bee502e6c9cc455c2bafaefb36adcafec3f60a5e42390bf62b3f b13120b728c5c0313f05b5aa803af1b3a514f1d861052ecdcc379d2a0d4ada00 82f60648ef2ceb4353d0a6c6d763678e208746ef38d940736eafecf5c76cba6d ed0af4fc19739d9996d922e5ed7ba3111f2e401f2d2904e1a656db08c754c6be 0026d258d16e43fd62c898c2f47143802c34f4b38098ee5342b3b46c184ddd36 b467074ab52736f0ea9abf4b56a53f260ca7d7cff43287b4c181c71c2d1632b8 5b93434cc217cf14d896b3bbbebf1f35e3e0e9b13cae6ca33ec20598de782a7f f27b8524f4f2163794641761016d06d7b22fa44299a951b706a40282a71a8f56 bf8738eb52f221c07b1fbb8483868d13d0c6cd9a5ef86652ceab2794b94d42f4 05ad074e9952b41a1a78c121999c4726b82e927faa1447247adff4f7df72763d 606842034242381b4d48c4756a18901653036556f5453c024449ece23fc70191 d8a8c287e739fdcd485ae0f6074238d1903d663e87fa58cb0443ee4fc3df6beb 061e0e74a01276c61e99fa9de303c7f575d9eae2f8df07569b98744275cf6a1a 9ec27cfc18e82592c08cb0b9b85431a0f3d30b46f9471e29d83db42e0910a39d 122d2011aaec9e9df1dbdad00b95a5415e6fc7ef9a8cf683e8a95f44af6f57dc 2738c50db88f6cd929a842db5ab7acd26493d2ec5a6c0e8f970daed8f5535841 221b62c85334e171d06ed6518e48d837034d4f38b5a9aff0d184b0adc853aabc 75767d1771d0831b2714ef8e546e9152e64a1909bef9128e4227337f48af93a1 b97ea94db39bd5cd341c72a11228bc466bbb3f27f09eff61b2a78199a42edbd4 36b8ab80ef87bcc94f02c58d3dcc9a715e5036a638ec36f1feb5340305a36987 107729338bab8d75c050e1573fafe30b98fd2500eb9377433270682c021b2ddf 760a1b6be0a8da0b6d6e4310b6d650ece63ecd38798333e878748ce2ec089e21 64adcb3bd5d8e35a5aa38c55a5b09bf746c8e6f645f64e27c75e4dfb79436f14 2f64f70a5dbb4a4f27e7af5ca55e5b58071ae5df5b5b6116dd6b3d663b313f84 987ece4aeb65a0924119fc4e9314f7f97903029e1f3dd7267354617687c117a7 27f881cdfe596eabd20c1b200981474559e7d7a441be7bbcf8cf35ec9a7ea8ab 1dc535f6d3fcabced5798b3369d2cdb252ada5938b920ed8b459ecbd06752248 8b56b9d5097ac46627af733c19c1fae246c6fa5dd12c7d134b63bf1abe7154a7 af18a66dfc22cdef467dd1ff7a173b6dc6b324ff674f8737d8ce337164053370 58c887131041da4b9b41c4b5d24f19ab2561d1cf9b7c6a5d3fc9983572c61aad 7ddf8c018d1de4edd86ecf284e275b3f6b3f3b21401cd606130a2198c91ae420 b637bd823ac8d9beefbeec7521d217c83c24a3838339ef6fb584faf03e95f59c 76fbbd6588023fa3cc15a4b6af30daae52e276a8e997c076cf22490d0809645d d507c23d977630693b4817fdbdf9e481e5fe7abef828775261dbe067a9e4e908 97fdc43c8d75a9cdc0e1be97e918f2cfc9b5280159e7de657b85e9f38f7cfd4a e875fbd2ae06820601adb613ee7ecbdf4c8fc17f3f12cb1d3910b6b5f9b34a24 7bf92d5d3b1f62c999ab20ece3df79ec2e46779d943ddf72ed1d2f23cd49893f e789475ba7b910f97de08409f42facfbc8e2bd50ac3a671f3df93e36a8136dad 07b8593cdcf8f9b23edcd97c98bb706456e3e2607c07a5809dd05809be260f48 3a342835cdb918b1ae03cd980519dd733d195e63ecdaa5de1b3497586a2f39d5 "