# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=68.4.1 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"' '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="f9d131b1c7a14eb3457ad7b6868a270ddce2c35c44bc5f888c375f6b60286c18 f5590bcfbe8acbe8864cb4e369fa968b1e413f4d96f9fbaad2b865a326d152f0 12bb38c1164d44839ae8e2d08781ae4c582780bbfe14da1bc6cff6a650f8cccf 2bad8b86ecdb84b91d33b4d252262252a69c78540055cf0c4f8d93f8a1eaefa9 5ba6e5e3e11644e652a569435b9c282e031ca35d331324fd7197730bcfe25561 59ba147e1d8019ffdbeecc35382b672e29f3585fc09a49bff0513c96855e265f 2d6b15aa292269e3f017648946a4320265a223be4edaff148ad82ae2b779825c a75d97d40ae2acf666a9f057436af39d51bd81934b9b8bcad5a953cd99a980a2 076149b377c9b80749f08730efbdfeaa7dc5eeaac9fcf423aaddd77cdb0cd72c f09a9083de98a2df41dbbfabbc9c56552c0f53f5a9f9629bb15dd68c38e15f1f 3677bcf4c72e4068a472d18f5f60808317b761e55a615c0c8f0b97e2032a1d73 f17076c91b7ff5284e390bc9247a7d482f32f65a6fe1a80fa79906113c710688 6b77ccb18dea425661d591c28c78c49512a1de6605c16e41fc78be468c605c39 7669b83b95a255e2d926ef96b10a40c6b815168b516c144f8e7bc8b68559130e 865e0d964b704da1e25a369db48b32d95b355f8f5c0da8114a8cf886cebcb03f 90c2efb301a834608c4c195c56a83b876bd279c8360068801ebff43f5a8077aa 931219332c8037a20b85b80eaface67aa8cdfdb4761b662487b2358fc74ad04d 741f9b4e3147cf38c60b5d7701caa33286e22792170839528a97896e81baa2b5 f6d97d5a0f52daf2630b18cd68bf2fe475c5a26b48d0c55e5e546490d3b2c48b c30486b8d7caa2789de761effe31baf95c4f13d475d26da6c9f740517865786a b5d6f27598aaed90155add4d5fcadafea55c60271de1d1fe131329ee78db7a00 fec29a62d1280bfe8f7bd2df33ddb17ad8593c4160dccaae1d9a01ab83d20307 ea080bb533b53757f92562bca09c1af9107c630b2cc0bc619a038a577397cc6d 6c7685f33addf586521951a570654ba2861ebb813f412b000f19e7ef209098ba 8d9a7f5b210afb786760b2deb75870c3a292f3967b7165fcdc450ec9295d4b6d fdc87b24b418046366f6d57f3f9f38396bb01358e38d1555a5ee1e6b7d0d65b7 b9ee3a79556fcfa8835231aeda44b13ffcb314020911b67d0ba7c4221ee6a4f1 0ab9faf3d9f0c72ff67866b527e49c657473cca0aebab071505d0230ae3896e8 012e77cffcdd08c1f0aeb2a908b6e2dcbe6819536b7a89107bfc74979f0f5f34 2abc359924b996648ae5a465728d16dd73697b143f93270994ded0632cf93d2f 020f11c3b68bc07d4b557e346f0e1f6d9ff49b3de644404da9ab17a732c3ded5 51638ddaa03b4e74e8d3bae359fbc81372cbcec60d565634f478130a06689f6c c8e4dbb07c2fd2067fdaf8e8dc2eed923c8dad8243545b7c69dea6932749f2a2 5e8593b75a3208f7775daf0b2bca738a034fc452b5ad923c840d52b0f6240e2f e7cfeccb272fa5757f6f1f51b6caf204b0be2d0ccd727b918da607606d126eb3 3e1683177804787c08a054569b1220c19b7ba4d3b76584833d34abb18b00cc15 1d3f61b3245174210dc2549739b368e877a5d1f2b8b3ca9b3ba422fd6a905187 19d9e75cf51acfad425f860238e87ad47d7e6a51092b714ce31dcb17d645ec2e f312dbd705a2409420bcd1177049627024aca7c2a965611160a182b22c9a229e bfb3c0323e438a848cb9bc26675d4fa2ed8d653eb8dee34d395b9f763a7c812c ba0ca5fc372137a5db3621c87a7f1e62a378037e07714fbf477e33bacd6a2f12 bb9c52a75a222f7d2ab3f9f394211ed2113640bf324f56dcf4eaf7ff1f68f003 7d6b2efe7d2fa8f703ad72504a8a206a2bd79a6912c277181709bd9079b7cf2d 8a9689d3cb8317e62418fc1459f270012fa63363db7fe5d89506c92f7d4744c6 3d1e3ab14ebaf1cb60ff0dd37e4704f09142c6bdabb6019858cd8f0000264e60 938cebb2bbbbba67ec93b6319960e5bf171a3bab0f2b6d3ef3c70647e4d7a45e 324930b827baa032c71f0a9de6f8f9b6e740de507d842487addba3f9a396a715 65df88e0bfccd7059b210d5e2262cc836dfd9eed29a670b382845ed2361beae1 a7a05029c949483f166437186a677faca6df8591cf2067cc8b28b3fdd59c0f4f 74b6a3777973135485f35c68a15a8281b16f6ec985bbd75d0601a0d46f74489e d749f842f7589225f5d62b000ce7f83af4d9e0b5f263c6fbea28d461c75b54fe 0bee30a78b5df42da0307789396c755219f9392e30d51f98b5bcb462f5041c48 92718183b3bc289caec2ff38b31339f8c19d8a01e9bf2552ceff5d0f209c295b a28deff304052a4a843c99d676221f002140e57066452c3ac22e6061e3bbc1cc d9b9b5fcf481d4716309a20ce516548d8146fe57d1ac99da4ba77cc3f5bfddc6"