# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=78.10.0 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-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="b22803c6717d1a832bd085660b7b892fe55b604f9eb486bfa5d97e6a84b9d116 8641331581f4140251ba09e0dd5f680c53e61ca6b363129579631289a4dccf50 c4f9e576072471ed7f47d3c20da24e5b4629daebb2261edb336e30a92c3d5940 24b37b2e6515fe9213e8f6fdfe762d02db6ec4e39a82e82df0fe8c82e5148157 53874515986b698b356df97538a04b58528f31b5faa5f6f7d0e65d629fa10ab0 d85088127e958276f71496fd9efb30dd7b79393a15e6f224df2d3a8d92414196 7d4dd6ce20c039d8f2d2a4a15d6d5ae4819631be9ef8b56844bd33befab99cfd 97159d84019af8aa99020acb009723f6bbef39aa8c1395c8c074370a99178a0f 6957f539b22df2598dc0be339f329870f3430f16652486090a210b33c9591c7e 3d9a64e42b186ec5a2d40ad6cef7174271b852878f1bba6426ebadd2d2c262f2 78c7df6b56b830b90cd77dc7bdeb1a3c75018166b748695eb0fa045b603477ce f55f5aa1a75b002198b85122a7dadf60fdc7c766b53de9969d6062341ec3a13c b143ffde6ca738614dd511381bba6153d037d25426ff9f0199b9ffb0e189a8f4 c968c485b441bb2363c7f6f9beb2310976190fd3aedb939031f9bd14183ef911 2f1d94c06901d11346a5316ffffbb6f3198aff5711de5adc53b335fef6c46223 75fad100352d904bbeabe3c90759f2cbee1b197cb4d3ba2434879cd3fde0fcfc 2bbbf5583014c2c895619da5b96551ef5e2b79f85200c7db0f065e3e1aa5eb2c 1be39f436f87db7af1c487207a511c3b1033a82e7a9d956fc3cff0d618733445 483ce87e775982c955a2d3b4e5ef7c154bb2e41d21a1fe47c8f407cdceaea6ed b46821be66ccde4535cb581787354aa80bd0c516c019b297ef32fdcc86b67251 511d277d22b9d4c81e7f62d69389ae23a1b9c166f7d04e1e5b37ca379404a1d1 c8d5c713fbcdc040e8e72bfe11472446f9d831775ebc673264fe0186108fef2a ecd0089f4b26be96ac1c6a34699d014bab71b8b28f2dfb2657981e917999f9ed 5befa2011017a0fc4e8ecf1c9a3edf43c6c8c086ac803d905304ac03b908c596 0bac411a13f004e92dcc46470bde318bdb687a4b8563145d6575825ccc268dcf 523fcd991a53436e77abc54fb0332246eaa515d25bf1011df5804ac1a169fe51 b08a98ab295ee551fad1b3100387bc2dcbcee3ec086cba0538912ea4247db45a 1940ee0c7cbdb4b4e54821d97be26a00b0dba6ca8e694341bc95ec097bf72837 de7bd652ba9fa4de28cbce19d2075228fc2b68f0a088149b1040e77016e83246 4309c1f47d25fd033202c39ba35dc16f393acfc4d83e5018257271db4dc55ac7 eeb68e89171558bdf33931550c4176a13e7b68f24036eb48fe2cfdea1b1bdae6 9a9ee81b50561fa4fdae9e10370fc955e50295f4870474043dde45cb45e930c3 0f7d20d579a61c5b2e5e8d379b93190aff6e32b0bf1120fc9cc5a31d80578353 7040a0c09e1565b41cce2b17a59527f7dc708a05586430608b5f6310b7d06597 bbf3f5d233219a67b0d10a9c249ded74fec8fd68be24e89cb8f1e2b0e94c03b3 51f0f1668dd4fed8d9343d77492b6ea88c218e975d31e8cb92d6cfede529b9fa fb98640ea0e1711410e6bfdcb95ba5f8314c5f821730c0f5c95edf6275440eae 4c41f47ea1546bca94a5a2a9840679a69a1341846f463b5935fec9fec7159ed3 e307047b9909c6c3d013d234c6914399298fd668eed2112210eae3ae9b3ac34c b286e6c44507faa9545c064fe57536ed876cbcf2c38a578693f4de251fc3c054 32279bdbbe33c9a4b31da100c6f707886ccd2abec50a46ea820fb2582960d618 6ca81fe7b59e281ca61caf28cb2786f007be108afa1e8267f018ff12b7fe3c45 6a3e9e7e254efb6bfe7d3ca76f330ed21fd04b667272aca8bda1ee28499b3587 f78d8984b15716ab42d29ca3d807f181cf613fe8c760fe39c219bce3bf1e50a4 cab66584c10594314cdf5d48fc7af44eb361853917095d179ab58376f87ffa71 f9755650f432d1c8223bf6b08596b70b34788c1f0e214e9a4b8a1bb160fdcd5a d4b525ac48b5cacb695844e71d128173ab1816af8da4f97bd0c940abd954bc11 0597ed6be1da91983d9ccbd98c7600a810faacaaa46ea73cb377feba4c94f88d 9f78c6dd107957101e227c496ab7b5c269f635635f23a84fc905de1bbeb32890 af8402fb763fc4b9187c67ee555b67b4cec6dbbfe0d0be00e05513875af0451c c15da2439ca323568a33b599baceb1d30ec5b0e6f5a6784face9042f2a146914 8301d24d09270a4a45f7dc775dcfc10f701ab86957fa630a0abd5257a1f40471 b6b6a2f77efb288a0b93d0ae1429b5139614d2f58e9e1434e60dc80768fd7bcc 9728ba07830c0654fd34df20059e712cf9944909e7b36ee676234ac66e7dbb99 77f570116788269af21d626b9d0eb40ab0e548bb6abcaf45a228d39c9dc7cd40"