# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=24.6.0 revision=1 homepage="http://www.mozilla.com/" short_desc="Thunderbird language packs" maintainer="Ypnose " license="MPL-2.1" noarch=yes 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"' 'da "Danish"' 'de "German"' '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"' '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"' '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" noarch=yes pkg_install() { vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \ usr/lib/thunderbird/extensions langpack-${_lang}@firefox.mozilla.org.xpi } } checksum=" 6aa3c326c9757751fe655242e446ae4d906a91ee86cc061a3dca1024fc57e88a e583f909925f6ecb4f72949bd99340f5a8524c21f2628594dee474c9307e1617 1fb28fd586a69e277ed01b6d6d636e95c7157bb5327e50662f1faadf524d18d3 9b3839d5d0b700d1b5258b47dd2cae555845e34c4dd3bc0a2c602dc0a4ff3503 4fa1d881044ebc9b129e7f54b65278e5faa730ed5efc2f354f2ceaa6975398c1 31723061e78c394a75f2977a80378c6ceec8fbec7d980becd50dfc93c14e573a e7fa72f56d0a3ab90dd3df581aab4154552be12f71408e04701e4d3aec2b9e94 360e5cb9097c16ac9fd626917777b491c7c00a95b2e1879ae0fad1b7bed2d870 ded61b233f3598f69352d92dc05a7ee9d0bd8852073e2835e0c3b05001f920a8 aca6d21ea4176af021b27c67fd21707b0280cf0f1bf6ac34b03b6abf40d50e7e 63080f452b54b7275bfc09b8aa73fd202739c0afd00a1413729b384e86649525 dfdb57b440d21ea9e140fc528f25e6ab2a1966b3865fc87390362995d7c48067 977732840ff02afdaa0c19c98faf088e799f1f97bb8d70c5e8240fcad862bc5f 3ec3c00f39e98f81c045f6cd41c68bc50ea908c91d295ebd9fa9b18722b83080 14086fa0e85857aa6430bdbfdd5f1f333a14b846126fba2ebfa65d954b68b609 01505e5154f27bea956f17bf1f8ae3ecac21857b9cc631750aaccb2ae3ed3438 0277449af802ad6fac63b28e7b0383baf2c978ef15bc15a1dd373200762c3d8a 9999cf22d0baa8c5c35f560560e1a6ee86fdc37147c433c662f53ed062b251ea d053f8f6da0b1d5417342e160824fc0472fd15556b29b2d4a01f043efebbfcac 39492e2d8c4d0783b0d3cbc4bdc2067805850041a3e159e7d2f87842e932c155 78223fedce58b23f0974b0795d90527778bda0ac07cc523345c471d724cc9d1e cfb9655e0423bea9a7b9afe67fc0f38824f859b0bafeb6cacfa346a9e1f9f7db 41a888063bf5fc08f46280bb1d4e926b0162357bc2f76903d95272bf4d385683 bdc5f8002eeb770daac280431dcfd837e7e2d6e4b250b37b70dba658dba72437 1e4cfebe1f3cb0e219e24e9ce2cfdf799a7df046dd4dec81b14f4b1c77104a85 f374db7d1f05bf2bedb8da02ae4ba37b2cdacffbcbced929be2113525d16a971 c2c76a69dc3cb32a2009024d70ba25300bca706c72883f44e4894a679ecb5823 d25be8b5e37035220e02b07f774d821290ec21d1802973a637abb5af878af690 b87e04aa6d35bbb41692c72f9f9cb19246e49a54d4edc3e29fddca5db651a3c0 fea724ca6ec33c7462fd4781390a0b310fb3a023aaa99771db83399b65f581fe 0c2113e085d920d748a0424f89641f92901d9e97ae9c06cfdb561e980a276c99 cbaa57d1df226fb6f921d90c3b7d93ee47d73b2bb4f7bf3c748171a1c7af2aac 6db3fa6fe593292d717b7077142381a038039365e8f14de74f74edbef64950e7 1a773698c405c78a947d5bc2a276f770aa885fad724c9f2b8c04025215c0e994 0761a699166bdcead5330af9691bb8437545dd24d3ce2cd1e642f1a48ecc7180 4e1951dbdfdcf06dee95a6884d1e9e7b4cf141d95e078fa1fc5fb79feefe873e 8bfa8109aac418ac6650c8419f946250e569d8101f587f9d6f001a6a59b30385 e3514ebf5207fd6ae6caeb01c624ad015ffdb6e06aae3ffe39feade0bdbcdcce 2bc7c139195fa661fbe0721df4cbb80e56cd193cd7807e8b16a7855d453b66e1 19c86db424f83dda485d655d80830d242850da1008cf2644e0e214d4bf56c745 779d52491bfbc449ba87fc4ea11f5190021cb72a45d7167cdbcb8fc10cdbbdeb 6b1e81e6df2f2ee752aab0fe1b9290e6c287da4ca498df330601de2bc9f8086e 2c4b38d8d1581614ae481efbe1fb1d74e75e374c4360df2dcc5eef335627cab2 7a5bac3f61891229cb933f82b8b5a196313951db10d157ea70688c69c0a4cf06 3899a09c9b4f6269830217e5d8ebd26a78619cc95c0a81898ab84a246def5cd8 22d81c886d7a775e9b1464550c326c6d2adc32ed87c47fbc47e953ac5d4a388e 08a4bf603c50b67e28841e76d1cdb23ec250e52c9afbc04b35059c8ced37120a 7e8eb7dd6dd9846bbb704d80dd757086f6da1b38070716cad12e2d6e87a99311 23ca919444d43bc104e282fb3dbaf5c71ebbbfacd80a5c8a1c72ece41971394c e6d8de6e52b3bc0bd706d46a25f25e1fe8c5d37608d7d5c251b43008c5397fa6 650bbcb5e1879d756953cbe990e78730afbf6b93b4b4fceef6119d3618c00522 7c927599de8066f45e07ff338167b9dba1c9b7f179bb8f6c93cdc9b0fa6b4624 63b2f4bfb24ad36d32529a79151a8b73195d4beb35eba9ef4a3e4cf8a2020139 0f99b8c4680ab081629535e79898081c568d3f57c01d7149c69118d4be125e55 "