# Template file for 'firefox-i18n' pkgname=firefox-i18n version=40.0.3 revision=1 homepage="http://www.mozilla.com/" short_desc="Firefox language packs" maintainer="Juan RP " license="MPL-2.1" noarch=yes create_wrksrc=yes do_extract() { : } do_install() { : } _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" noarch=yes pkg_install() { vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \ usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi } } checksum="931ff80fc7ab5a3515a31994dbc0787e6e381b66672949f510cc96a125c11a88 e6fac0b29616c3924530ea8714cb4bd6d836818b4b23b5fb2a8aa4e80dd1559b cb4cf9363bae9c9e84bb7d763be998701c6f017824d9986c74b21b46d0cb011d 3635e6899a89ee93bc0f5290799471c8c8493782ee2819d47278ed1c385179cd bc13edcbf25ad488b0bcb81987f2c7be90ff38bf3d8abf40e9f14ab7a21b6474 c153cf18ab652c5535452ab514ed4288806298f32d8329e3adb8e67e53a025d1 6a91c11e4c0c2e0469b972d80b286fb3bf600fb8eb30184b94a3001972e5b72b 0ed54d7e27ffa0040da087d716b1a23f36118e176bceef62becfa73ca3ed8b23 8a6555682596254f617b41a406b3ea48f74a9c0aa64a180ab9760e66fc0fee35 cc0b8ae6969e5bf09d631dd621ee88bf25755dc0df6b851a4a0116c53a4e7b66 54553c59ce2f62e5bed36372decd9e2480c770443011a8713d5cc23605caca0a 187626919baedd3be7d5525bb8114f3c6a2db0dfdec333977f42531ed500c064 ee57b8bc19e33a08e89d6a3d028c3da5b7b741ba31eb5bc5ebeaf600bb4b00f3 3a02d4f6a36f882f8c3dac164a2984fdb42b07c6074e4b3c82c7066f6ee8aa34 6f1f87e2df406b2d8313ad0231751cd5f24e9103a2b5ab368dad23534da0a9ef cca57641cc00f92f7152c15363aad38566db57ae3df09e4701f20f2f3836f0ba a7f26ebd30781adf98995a48b03b92ea294b9d0d6bb02f3806b8d9b3899a5ade 40d7f63513bb3d0b280bb25813b6a13f52779b0558d75b65b6a8fcb69960e242 e4fc56e6d8ffbd88df62dc5ed94ecf3594efe5157165727b22bbde72fd4dd1a8 78010ec1a26181d369c10363fb19f92d2640ee8dca61282eea65913fbed3224a 13b178fe4562587edb2ef0bfc72ea3daae9488d3125dee1288911d4d78cf8cae 993c33ffece8ce4c1e1fe4d931a752033ba191cdce8bef89b4459a1164e16fa8 afdca33ee50fcf90b19a781e3ff59766562c5c4f829c36961122dffcdc20f855 f7928068f48d900b73db21ee0599017785eac6b9087364ccce55fc356003a540 fc6564877ca5404395624dbc62e22b22731134c69078e432ffd174fedac8a0de de9c338485a5a32bf0e6b9a51fbc948b90006d8cc63e2a7303cda8adc5ed4ff4 679dcef606b9091e8018b0aaf40b0285a4557dd56e5dd7132b407d250fc76aa9 e33bac2ff93ae3760b95a3a176fd0cc9e1a402fa4f174c10e77e6797d8cd27ce e2f4ff8871be1d3a779891ae857e17a45ce92d84405c274862aa125f080624bf 14e28b03a128727581782ca4320acda4eb560aac307b0b9ce463821a233412ac e62fad8b4b2d96fc3f35920c69a7529be6e275e6c63ed293a32acf8f5d2ecf66 d1daead0f4dddf6b06959e32f601128cb2764fd20a58372c1e587ae9b5f3a754 511e4b459e7cd38236ef10bebcded90f360a30f08a3594815e298e1383b17453 6a9f8f72d0664c29214a7746aa83ac51fc5bd9c77b56d4048cd92b5bbcfaacf1 9dc62003d7501e9234145e269d22ae647b9d6309005346294d438977c72be322 59437020832a39a3314e9c6654ea79dd8cad9cb997a23e34e83697c27b92b821 9eaef0ede53a662b592d489ee033c60edf93292adefa3c4ea3d24b5eeaa99ccc e058879bdeab1c86fde3e07a7ceb589604c40aaa8319c16b709222ae305d1466 edf700377b3d384aacdc8a6a85fb9cad7385593d0689d6b0474b9a81782bbf80 4b4cf824c97d6c4992905a13bbe4c16338c0524ce8f1ed762dc87dd830e91a55 fb7c6391fe76f9a31fbcec53bc253b4c781196f8341690d55e91190bddcfdf87 f5d5313195455272dba460ee8b29f887ac0acddc14461c69dacde89b884b71d0 5a3d889d467a8d13bbe87b2e9fb8baafea19ba6730ce514ea953f52fadbba961 996a53ac0c9d6c826b0403b1520a1e8ea50b77bbb952784695602b56b0e93861 c2f79f33d52b4d0cee20990cc497727b3cc69b3afa5bc031176d3bfcc8aa136f 7f2fe994fd74847bbc5de393954a526e9c17cef5089e506a616247541684b9f4 6e3f6870ff749e14cf22ad82bdefedbb2b152c802b86ab7f9b588da382f2c88c dde3b84aab92cadf4b30c279781907fdf12796b7d2a91d4fbc68b2220e267189 c6c2e8c52afebd11fa20f51e0ab38ed7c0fa08f6f00c31ed8258c322343d2435 eb28a17c7c34dba3a4792aacaad8d4b25553ccc4114e4f87e7fdb0de7cccd0b8 ac39a4c8ebc3d5b43d00b788bdf62c3de4a6fec74a0f8906d3e6fd14f8f62eac cb592d8995127529c4f21c6547a8f954fef27da331b82abc4586fd367e2cf374 d1c483d45096b8fb00d24057948197d4413c545b0e2a0cacf609fbfbb1f18bad 1c5a49e3f40456c1a99a60376ec697a19ff82f25b79220df56e8b1c8fc5f9bfb ff0e82f02ddd321ecc7d0f07a5f5a9b09ed67f27381dc59595dfa27a818ed6ac a8b9dd7940f6c269dbd428166bea9e1e71dd99de25756bf0ddacfc2ab2f71549 f3d5b491a6c1d664ae1cf0717157e775a73049f457664ca4e131aa851ea02d2f 23bed23751ed673b6211d1421405b01814e895b341977bbfbcda146f263585a3 65abedc8974aa260ab7199d0f2f9fd151a8ccea8a7a1d44074f17cc5d258e378 704280dc977a7d32c20416f2e9d7207e7ea05a0deb19368019b3120ddf480bc0 f53d67db63953781fda06b72d3424acde9efdcf47e027316c27189ab5d1ec043 362f3f09a036d190156293ffee2d5a548fdb65fb07618bc2f8b5dbf40c6c831a 37d119640c4095e3afa53c1df2ca7b548f68793f281894ca47d7457688f55373 d70277e8b7d3805bb50ab1b6bb69b55dd84c871c567d7484b6c8a095d58730ef 4dca0edaef047cd54689e2ea4296598be5a86e098efb5347ad6fd5e307b6f213 419ebf4fc0d8d23b17b6ff0b971d18f0b94b33267d1bbbc6b4437fb6c3c3150f 1ba5b9fee35b1d35f4e7f4363056d379c016f1dc60f7ea03412bc29623ef60fc 164438a83d9edd555aa39a4fed844c2520351b1ceb6e3a38786c89ff085acd57 e6b69e1f86dfed31a103ae5f8b5c5bdc39abae0e10826177ef8d9118e37628ce 2eb09947c80d43bcca12e30ff4320deb1f02dfaad8aa94f746a2088d362c8252 a3fdc5a4aac6c0e7ded4cfa6a3bf0d84545a44b064c5df736422bc41923e91a0 c379a93e531c2c412aa2e98c06a645c8e0b26b24d80d988966e23b2126c71358 8fd09f59342a80843e53c34b0d9d9ca5c347a08c64beccb9386f5ba7cc3637c0 d0265a35389b89f79fe8a92af7eef67160edfc21ccaa9c68c0b71c1bb7d1c8bf afd42e2a29f28d6c601d962acf709b33a010ee2a7bef4b4e3bcbbb42354cfc07 c5981e3c19480f1fd3c9a4a952c734bf1b300d160fa03f05c56a1622b4676978 fde03b6f0869804b7624667b01d468503e9cdbc22c9112cef781760712a98298 18e0e398117e2b1b99431d534c8b709113173b4b57abfd61f66f216f8f7bba11 92543ca8942593ebc6c2033832136b411fffb3da5278727f766995245ecb6957 24dcadec477da92d757f72598b434a1e59613681ff9bbeca2530d7b28d7227e0 e0ee75872b49c201eb4b35f4e8bb877255c9b1af010641b3129672a409e64c77 67ab7024c3c29c6ce7e054a9c65362c942557aa636ffa673d05485ab717804fd f64479928fd58ebe2bff6d09ac26e54e3f56db7b37a465dbe4e6078a8989a117 54948f041df5be3c074ba2bf2bf7769fa3b45751038dd61b94cf3fa09e0a9d72 86346005557d217110e624e1d98037a5cf634228b4bd42b38fb2b9ba38411999 36be93979c452610d01adafe926b05dd11d7e92211cea9f10bc697b70acb0a52"