# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=91.3.2 revision=1 build_style=meta short_desc="Thunderbird language packs" maintainer="Enno Boland " license="MPL-2.0" homepage="https://www.thunderbird.net/" 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"' '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-x86_64/xpi/${_locale}.xpi>${_locale}-${version}.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}-${version}.xpi 644 \ usr/lib/thunderbird/extensions langpack-${_lang}@thunderbird.mozilla.org.xpi } } checksum="f72b2cf826f0a967b31c47fdb4bcc2a5eea0d165874af84edd4d33486780cb7b 19ce342190192162c909298b056a610ecda256bb1e832b42898c749e33c7d220 b8ac36cb77e87b7b6d52071e565f771a16fd65b34eb478daa1452fc92b32cb40 67154b4bd5a88d1d8fc058d0c92a8f04e54ec87eb4af5bdaa2fe9f6e037eec51 e4048b367e8cf49de7c109a8ff82677301fa98cd17cab9c59177fe9b5b4d2d9e 472ee617e3e1291e5fdf4653bfca0675ca86c40c44162b95f570e34a139149b3 e125faf19636d5af7c8479f698c4965925106fefd917e5cb5dafc8f3dc250982 06fd3c895dd9ae9103d92642792dc528ef9b67b6fd0963fada447f22ecf4b936 c5cad7e51e8a63368201d2c5a80c670d25dd30d6cecd99a684d054154af2c865 4f8679430f6c64bd5839d8d3385baf74b537a3ce8e614709f5b61f89655ed74b 287b05e501c21adc88b2e46fd5739f69a129482ebf9f9b92646fbf588b5ada1b e581f6bfa9c4b0c7b77a2c9d08398988917b64ea5bc5064a3a1dca207da7052a 8b827a804c4b251c28b13ba9a2864084ef00163d3dcdf38e7c3364154220a22e 7a74601f9d0f167b9f732ba8fc04f6eb4929c41bb5a3ad25d9430deb84a89cc9 f8320aa4ee834cc5361c0e3d3148159facecd160e78002c4eaf9ac3c4d134d7f fb21923d5a6b1ac6bdf4792320ec3261e29129bef82605769982b4ad14d01949 d0eb71c6b33c7d37ea9a1e66ca20c3acbed33367594383d4d2a83b29d68b9f85 480a7aed03ba0ceeb386ac2d574190f282cd940be08b51b4912841ae405a9f0f b808fd195f81e69261160d2b724b6f69639a62fa3860fec578575c3452b4f4b3 0d860b60ddc9647cc9f00a7f11d73f74a9feecc7e0184e6204181d2805db2ced 585ccaf8dfbfa9048734e7694631048b0a43e8124089ef1cbc3f2b2919799327 5386104da3018a084142a03ce4e9dbadf8f28e30e8e9c20fd8e97397ffededd0 0bffc4394f857ac42bf821427e1d4ac32f4d329689b26868a08ed6915a42ae08 ea233c0ed77fd6600b6fe547d30755fa46fcbea66645eaaf06ff9863b83fc66b 8480a4cd2f903e54d3501d5f7e7f8d240ef6b35abb98ea96456e7cc4f6afd6a1 50cb72d28edcaaa312b26362e9b2d6d8733b88d3332b6412299b61ea7eeedc24 ee1d3beee11513db4ff505f7c00d2e61940272e7d2c5b287ad3ddb0f19dbd0d3 eb1f18de4c798f441ef8bec51adcf02c329a10be49cc1acc5e5c365638588130 58305d62ac521030cc75f6222ed068760f607c3d842a6f3be9db697137e8a5f5 0ed7c4e09c6c34efb57f2ce08617f96804bafa1e4b85f1b4117060e08e7cd7ee 3e7dcd6244da31d248f2e1b54cd7832ba57edd03c585e0955a2e281585e9a841 a0fe4ad890c2bdacc00afeb3f631ccab633a1d36c8e9f1e39776bd9e7a4a90c4 1b7c7226621ddcd167c142968d8fbef3028e66ab4aaf4467b4f689304a39e04c 24128e98fd48b72efc8f5331b3c714599e969b897d119a652c373941f2eb4cee 0fd6146ea2dc8642c37b4e82279ce0eb1b9122c118fdd96e42525bf779ae88bd 6cf39864701147e3af958e50c702841c90af1cc0c64f29c32b718c5bddff254c 63616c4796921761b649aaceeecbf05aeaf41f69b74cb1337cfd9ecebfcc7eca 712c7fc70a77cc89919a98086453f0c830847a6f2f82ca3ab2f98f4587be37c8 f6712c2d8a22b4fa24e713f3c974663675a2dfb296a0c9b087f7d9717e6c7cef adaa4557ebf12eac88c9b9015f1dfb3f5205b6498d3161f4b840e9935af15a5c 3c25c1357821ab4187485873e6546b150890149df335bdb4a3861651e8a0edd8 0edc7c5af9648dc2d89b6e452285ca15f6a4ab3e716067187a533ce51e26cb4c 9a0eaf7136032749add03c6a602cffbb373d5014e07d81403560acf08b6ad1f8 e52a81d859f88fbbc88ad162813af1ea3f6a08ca578bd2c6edf3598a88312951 d232778e67a36dd66f14b93abe12e6e867fc1e124ad04f572bff180d342ae2da 0f3294bfb576a7be717014a4b48f8027ac79a1877c59a3cd4a9feb543a87bfb0 26fd38cdde3ae447b08af5ac500699382be573e370a34fa0dcd451501b644bd4 44ddaee30b1ccf4995293eb47c2fb345e688de765c4eb5b86ff0f3514b78bcb6 6f7dc251e6a1acb349f90184751d585dfc9b95c232e6387988f44616547b6ea1 f98805c2cd0ab105fa91a8b89aefd30e1321ea1d794ad4371acbc88ed3812f02 2c4d3990ea6dac49d704719e8430f437db1f4f539e9365ec00a937484b1559d7 3a81e4fb7bd53ebd439efe35714df57dde3125cd75a7366a9c9be8bcb8496b2a 7340e84cee9775726bf83de8371815be21c67f5138ad7ea29e64c9922f9991c4 b4094e63f09d87f7675bd90034f1df14efff5cad74d53bfbe991ecb0716c3b29"