# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=38.6.0 revision=1 build_style=meta homepage="http://www.mozilla.org/thunderbird/" short_desc="Thunderbird language packs" maintainer="Enno Boland " license="MPL-2.1" create_wrksrc=yes do_extract() { : } do_install() { : } _languages=( 'ar "Arabic"' 'ast "Asturian"' 'be "Belarusian"' 'bg "Bulgarian"' 'bn-BD "Bengali (Bangladesh)"' 'br "Breton"' 'ca "Catalan"' 'cs "Czech"' 'cy "Welsh"' 'da "Danish"' 'de "German"' 'dsb "Lower Sorbian"' 'el "Greek"' 'en-GB "English (British)"' 'en-US "English (US)"' 'es-AR "Spanish (Argentina)"' 'es-ES "Spanish (Spain)"' 'et "Estonian"' 'eu "Basque"' 'fi "Finnish"' 'fr "French"' 'fy-NL "Frisian"' 'ga-IE "Irish"' 'gd "Gaelic (Scotland)"' 'gl "Galician"' 'he "Hebrew"' 'hr "Croatian"' 'hsb "Upper Sorbian"' 'hu "Hungarian"' 'hy-AM "Armenian"' 'id "Indonesian"' 'is "Icelandic"' 'it "Italian"' 'ja "Japanese"' 'ko "Korean"' 'lt "Lithuanian"' 'nb-NO "Norwegian (Bokmål)"' 'nl "Dutch"' 'nn-NO "Norwegian (Nynorsk)"' '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"' 'sq "Albanian"' 'sr "Serbian"' 'sv-SE "Swedish"' 'ta-LK "Tamil (Sri Lanka)"' 'tr "Turkish"' 'uk "Ukrainian"' 'vi "Vietnamese"' 'zh-CN "Chinese (Simplified)"' 'zh-TW "Chinese (Traditional)"' ) depends="thunderbird>=${version}" for _lang in "${_languages[@]}"; do _locale=${_lang%% *} _pkgname=thunderbird-i18n-${_locale} depends+=" ${_pkgname}>=${version}" distfiles+=" ${MOZILLA_SITE}/thunderbird/releases/${version}/linux-i686/xpi/${_locale}.xpi" eval "${_pkgname}_package() { _pkgtmpl $_lang }" done _pkgtmpl() { _lang="$1" depends="thunderbird>=${version}" short_desc="Thunderbird $2 language pack" pkg_install() { vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \ usr/lib/thunderbird/extensions langpack-${_lang}@thunderbird.mozilla.org.xpi } } checksum="28930a981335d7926c826870f803f49049ffd3274519b338c1ec5a0dec5764c9 a53b1c56fd6b5f7226e74da4ce9046272c6dd831d06d3188285b18ac80875332 b3c78b9102efe155750a31ccfd3f964f410c9d00e6ca4fd02f886314805ae602 65b6ed62f315738ef7ca10fd0e43cc0c4b0a433bddfaf6114fbe2499441affee 59e5b334ff1b58f6934fceb1573d12315ea258b4252c41c43f28da154251bede 28bcd1093a2e2a2cab7cf6ca281bc14eb5051e34b8545f6f7bca11924a1c59f8 e5898fb1554dc18c083b2762100830806d4b22153fdf5d8f2583ee2c24b8b605 8784f46765f33557fe14e89ef3142baa7280d490ed97ff7f29dfbe83695b87c8 5b4b75487e3c478d072876877bac3737020a709116c24a0b55fe821af009582c 397deeceba72409863eda97d8b6b1b5d2f64b817c15057934ba99717de467a16 c39e277532044f724acfb50a23720fc8530785bcb4820906dac9401141b28342 7cb64ebc85801a376e456b30897dcb0c49a9a87b1b33e0c0831a56d997ac0d21 bc6b2ee8ee0d4fbed42ce203a8fc61c6e6dcbb8d6792e9432971b58c7aacb0e9 e6059b1e71f5ce5d2220dee78610c1fe26fefdfddd285ad11a74d13504122eb2 1218cb97434d2755890eb36b9df0d6a0d7dcad3996960829cf698e6f6dcdea35 28c9037043e55b0288bee2e8c4f00589346fe0b5bd6c15c86fa491282c3f9c0c 2ee5c0016b2a7d4917deb44eeaf6db2cb3dd62e6cf8ba80d1f56a8233b985fb5 196803cd3f5514611b5edcbea1d6a334a515e89f611d699733bccf0b9d142bff 50e60cac8a7d06cf2582b00ca8ef1bd04fbe2cc1022715bff502a532cd6f3884 218dd0a0c55bdc8e5f598f7ba00240b948bb3f97e9d39033065b27484475bf31 7bedf795745122f284649e5e40e92b5920600e1cb548096d136343e0563d3dcc 56e87bdbdbc771627461e66f30b60faa07919c59049afa6c6b63234453bd3376 d92d56be1ebe1283e5139bde9074941e01defbcfa07d3962afd87c3fe4f97de0 0f7c5b5dd1c57f70663c7ba1c145df56dd8670c47de9e6bb1cf42dfca247d0a9 70e19f7549d5cbcf9a854322e00cc505fb691c3f9b88df6f0df45d97657c4e09 1eea8bb56ee3c17a6bbfde43ebc48543efeb58857445e8fa0d7e0c9464232e1e 9498c4e3e4b6086bd801a4c06b4474bbc8decdbe3dd2a654eab2d5cdd8c1d161 f3471c34b1e01fdfa5696ec35c10b2063fb4240cc4a453801fcc269937446081 52d2737a6c7a4b3c88c0deb91a104a6ec167e19be9612704612f8ff947ca7495 12d0149b3f605312dda2e970f41a93fe7a8770dac5fe518c3c5d5d6e30f6e995 9c65c7e1549882665e2f4ad679e112d7d7b374c2804393878d1c0ba022392419 f7e73157267c1a0e174b4a4e031ab1fada1b8d709963b3387c22246f4a1644e2 1fa2c9a54083444b5ca71f587466853f402c22138cda699bc73b09159c1cd6d5 bde3d7878e11a61dab8c0827bedd01c6222dca6c05994cb0d00b08fa6c675a7f d5309d91d3d5c626bab4215101533c7791d5aae52b847054bfa7fe890664885a 8653ed361d98e5b2d91fc12c4e8be23b8b78b7818ad4c5f507742608dbe475c9 4c24ee81c26da045ea936d2ea6b461b103a7fd17681420ac4fde5abe4a69b929 d1c3bf3eaf28d5d89e220f94a86665ba1a996bc27aaed3ffcb893b6fe0b66840 300efb229c853456bf566f9825646b780f1a1090e9eaf4eba79f85a8bf2b62a5 6f424ff9e4f3f28f254c4dcd548f0533cbc30b458e5f43cd95f71608c3421141 209907758b695762f0e47dc53613fecb7b409d976c1de5515ae3dc9319200583 f8e1b89268f81c72151bd6415fb348f8e5b523cb98eb08fdc9dbf894ec0e1dcb e93ec0fd53a5be55413c58273ad88eee5eb47d0827d6c6ff2926c4c9f1167bf3 87c901e37a0c48b8a5d26a1154fc0f4300de20ce071612a89012c3131ffb951b f2816b4fcec6216855a93ff98467d1e9a1d878b266f3e55d71cb5829a81fd532 353fdf5febd4aeaf035b3683a3e397b8c50357924b2ef91251bfe6c10e0e0fd7 1ac4fa83e849116d143f712db4120ad6101adf1d4d4ae7cf800e84c5f2c9a7a2 6c820a6aebe98c180da5c7b0f4f54f556168b63a42f68d225a0749bb07de2331 b88549dd84041a03065bf2611a22786d2381e50bca8cf02c7d8fafc7aed9cecc 05281cd921ac62b51dde330fbe6a797239110d94512c72434ed4633185d3af0f a98ce4dab9e2aa612a6edf7edc02285cab54e8f859b2545b28948066b4bee18a 0f3bbfc238c197416278063ade0391331e036e6cf148281f96b75a960a1e1d0f e66ec44352cd8dae3e385e37d2ea643092a37690e1dcaf37a1749a93d75f0492 fca37b424413ab88902777bbe8845081373211dc8040c42271d06e189ada0edc 06f4f580d343357469af58c989892df7ad1124d0e67e6fc9d7083bd948ccc484 c0d48764556a3563e2e86c1f9cc385d02f82c7b73b348ed0400a7df117bd1c18 075021cafc597470cfa881da57c599cf6770281698529bdf01dddc6525078a5d 36480d80d2268a0f01b61ad5ab4d8ef85fc88cf531e5ee6c60744abb3a31f45f"