# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=60.7.0 revision=1 build_style=meta homepage="https://www.thunderbird.net/" short_desc="Thunderbird language packs" maintainer="Enno Boland " license="MPL-2.0" create_wrksrc=yes do_extract() { : } _languages=( 'ar "Arabic"' 'ast "Asturian"' 'be "Belarusian"' 'bg "Bulgarian"' '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)"' '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"' '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="4a7a6a16c6bd60c07347e09a88c891c3738119879d9b713055aff2c2a46a5410 62d01b3f01a55003a750ddbb0ef937476b5b9ac5b2d237321e174a463c93752e 6346a8511de2a27045e6e1fbdbec3be1459932b4d4548f9aa828a011cb110ee9 cb6f8da42d2e82e3ffdb699a55d73f15d4bb0cc54ecdaeac3e4fadebe225cffb 874df8cccd4fc3f1dd09f7ffb0fd81f8adeed7359d44543858e5a30d1b0265b1 1b989e7f0fd75c4513db59d1aad3c715db17df2262a0deba7fa4420a00c72213 3b2f01e8e1bbf67b56b6e985dff5c8d64837c9a51e10e717081ba5c760b3ec90 980cd501d02ff1b40e1a811289e7e0e20c45e5a680e002f8213daa11570abe8b 622c5a08e5249bdbf711e1aeadb56485f9568aaf2bfa551fbeca9d53a6401d9e f0754b8076afcaa0ebcab93a38e875ba19800ba96c9c923053abcc7dae266f89 ebbe43f0a193e0916402892dcd200f06ebacbd204581760ed6535b4a062c1b74 0e46fed18e421a3e3b236d5ec0b36e62a33a6fe2353b7540f3492417c2f2156f b1f5f0a5e61408cba75c5bcd62f0cdd9bc02573eb428b6fac0d20cd598aec7f6 dac498c03731c9ee751d59da03b4adede0eaa76d4ba06181c4e614cf63ca4e17 2439b0aa7d3acb416fa6820c8cfe2ef395bdf5c08dbf21b07abc1a6320e1ec8f 2325bd0b7f5e80f8641434222e29526493fa041805d6e231a36466a6572d0bb1 62e7961e698b724c4821823c7067f57794ce571c4b6c06899a50315187624c9e a48c2ccd6d59b72622375a65cbed3e068c896b96c0d4b514ff58b8c7f6c2d0d5 ee55386f1854276ac4e73e115ee8f4d66d25364b09d23d714777f34bf5f0f67f 64732dab1c4f10a254c2b7897d1668e6da488de0595985941affd87ae0037977 743577e2edc20aae8264115cca2b26551e58d7c2da91b8ddb10c971584472348 c245e2c0f3639f9993bb64662df3d567be6ee20ed9574ffe6438df976cf6319a ede9793239e5f4cff65e359ef3c7cfb535054b9241f8bc72e15a2f4e9cdb3296 7720820bd3cc4da254d12dcd51f2fd922972d047492b774b9dcda201bf0b99df dd5fe61654f061261a29f5a9ae39bcba71d4bcca0ee34d9ed58373e333aac9b9 7223a778c7df1cd6091d1f6278bc6fcb24110270b4226a4a35d3bebe74a44434 ea2062f868a740295a077a987828b24418e5baba453bf8b4ac518f0121a6bb44 08d75823c9e74b30199cf57849c5870409df9686073eb0c0bc4add189ef85658 e417264899d179a02ab90d50e03ab887aac7449562343b153ce0980f4286c806 5327b2a5b830fa82948a424415f2bb2889250ccae76d01d30426168018d08c51 142a0832d63bd7bd7f1a1da347f63d3abe667681c4ec671fbf0891c4a2ea8dc9 726922739e705485ce5f0cc74fe7fa87b3495171829210ec86afdc084f0d10c2 51f04a841c61c4f67b5fe9b83b4842212bb7b2656fbde351d6dfc84ff24cddbe ca0a714314f06df800ee4f6f1d9e62d679113d8c8e7eb547880fcff0f9b5ae82 bc2db69d0640e304b9db70aa6fd3039fe1c63011695f56813d23a3a7c001200b f99f0a744c304bb7dc1a1cb7e25871122fbf78936519103ad4ea5ba381865765 6cfeb883d06cedf66b8e9a3f13667e1ecfc06ec1d035e4f303e80c29ab2fe6b6 4f0319782e2139dcfc94800d89f9a744dd2052d46bd92a109bff8859bc69b9cc 524303b3f7055fca2aea2aa7a6cb94d60fa63bae0be37f269a987e3abc2baef9 6e3257863fc14534572f3065425ecca790538c6009b721ed8b2b6482d55cd55b fafa8ada8fb288a2cc43599646079a0a1c5b1cc6f02c7348575a8d5bd2989403 c764e1741e80b1a8ecee656c97fcb2dd0b1e1a7183f0ed2a0e3d94e35a119519 23150a2b495d0fdf4c0e80a329e1e6519d11d1158b8970e98b0ce8e18225111c cbe0b58d4f3d98cde103afba06d03f310b2f8ed0d852f12fa67753be37dfe9f0 6025846d95e2c023140fbb7f32399293eda1c0a246b7118069a3cc9d3ba115cd a5ae873a1127215ae307f9aa4ecf78f7f95061ff851f14415a77e5c5564b5b1a 3f2bc6fd9a64e81dae1f63b86ef7dcde6bf19ac101be69041c2822633e17e703 8b796c03c0549417ae54d690403bb9e6d8511496530f1fc7974d76465aaae169 1d74ebf07f67fad51edc0742c0202ce66f350f673936300e5aca7cf30b607ba8 8abffe7570236ac172bd5395118be5317f7b89b79112bf70ff5e954301cf4900 3b6514fe28d41f294f7cb9f46dea565321ecf1ff2879243945f354c2ac5669cc 16ccc77563a7fe103a0b6b12b62dece65a35d7deb9b0de917783a3ba0164af8f 53967dfb54994ed975f7ea1491e7d760abd82a8023b54765713c28472bf4e9f8 7983db81bbadf1487c1a55071dd513c540d0d4d9673499a5d083e48d68195562 addcdd6eadc551cea06a218df40c648a8fce3bb98ada591efa57b2ef695d82db"