# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=60.5.3 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="0c9ce060303c8be7ddefa09be6fa7f9394b699b0cfaac51fe53c7656e59ab37d e72e7957cf8df5db23bad92bbd8aa5aa8ae62290c84a73aea6932b5eab57c170 e456c261c44a39f204097b3b1e52f42424de47130110bec774b34be854a723f7 a05073472de45d115ef770fb5ead5fbe39bea8b45e3076d6bf3fdccfca07f9d5 40c6a25f198b31f4a6ef295181d3270e6fa067633ff0772e776648ff496aca14 096bf74e4b386a17200b1ae7deb61ba304c4f2d2dc223ce28f6807d0fd93c8a2 0f0c333e3a1526af50fc3f418f9c39984162d2f65633d9b78918e82c761773c0 fb3feffd821698a8dc75a8154fa8625eeb130787dfad9cd36b7e7c1d6314757e a112c0d2c58a068c82f0d0833942571bee8b2ecb9dab990a981f3eb6a0556146 e3509a3f01b14d98781345cadfd41d38163a2f87a0aad379c932b6721437e4c9 17395295e63166b3ae5274ea82b2f914ff986e213b1efd4c7611bf60d04ad9c5 b78b2a3ce2c4065a101e2e5569992b4bcf72ec49a794c7133c5f8a95549c1d57 c0ad9d839c6bf4ae342c8f0435cc2aa969b7209cc01169ec772d1bd10e963e64 65228386e9376a55404bc3d72a436da191e343542152cc58642b8d47d6e56238 cb185ebfa17ecb836a4372c87311ee40b1299f4c6c390de44e5d285fbc08a4dc 9f1accd6ec302ccb006d9e692f1ffa1aa6ac8d7ad01cdca95362566cfc3f8eb5 597392344c4c0bd4d7db978fc5e896fd7089ebf577359c9343ef1352cd4c4cdf 522dc2612f48c233dde6c4943b1f767c39e2bcc3f84d563066bbe5002f367722 d81b45703f3054b228b43dd2ecc7b3ce0e5181560fae577086decff05673367b 0b19da7a162f32097c4c5c0a735fce009f88f9309bf18cf4213e3901256b9c32 65670844dcca432f7bd9770636cd5d456b86f84b4fb9439e9c6bdffff152470d 63f8c067ef5def107687bf926fb2f8f1e1d6275f9d98c9ce4f79e8a62eea60c1 67f8b5c70cdf21f6e50be2af83eaee6f65db927b1a90971a0c4b3e73b2bab1d4 05d16208494d10283669e163d7de2187f45b74411cdb8723e4b807c264975da5 d9677817eb38ce3347acb7f45e7563d809bdbd3662d0e8921cbe57fa6ba814b7 4b01bbdfc0e950d7c1945752037c080a78f36daa37c3e7584d4cad11aee2dda0 c4b90dd92e8e026ef43c600cb6542fc0415a360b1b20d613a3d6659c6b3b70bb 495bfd7cffc23932a0e7f582578e34bb099e16f1d4a5d1dba7b2262be035155a 373bdc50e0bf171be9e90466adce6378e368bd97fade2d676d5ee61124104b47 9bb384abf8fa520c9031c2a239bf29fad4d8aa46218a2c0e10f26e08aeeefde8 e06bfb2d56db8081fd60ed36cf3c3ccadbb26223fb9541413372467ea479f7b7 d8742a81022004a1f75d1a8e9594d7ce6b6150496a344b130a3029b8b83a9cdb 29ff3364753ee94e226f411ab05d2988af31de2caf67164f9a1699472655629e 6e993159c5c23baeda704b2b69ac4bf166fc91facbbcd84a8388ca27bfe6b1e2 a13139927ddd3a2577003362d4bb197c95da238f7a3e011bf1dfb51e4e9937f8 49ab2e45c4cdb1157c76abe7ac29e52ec9c9c07c7eb55772394db6eba374da61 efe945c2bbbdea2466ec96448a45f02028ea84db31f588aa2a39887f852f6c20 72883be7d362805c6aacf7db31c5f0dbe81c09c2094d3de80d5457c1057cd4ad 13e93ec017c1f263b68e873ef76405ae07d69a69f3461b29050f2974e451b166 9f068f9f34802dfcbabdc591f829e618a5acf72e6c601597998c79767c676418 122091cd37965c42f80527aeeeea4ea402d3ebda6145a72954c728122cbe44c4 d79c340a9f0bf669225f5a234cf71b44a066ea6191eddbbd5b2529eba4fafb06 1d5f03dbc1115b1bf5b0ac1d095669694e0448d2f47a2df4831d0f591b005447 fabc027ab8ec5afdc64ee814bcb15c9ecdec4bc8d3fd93e76f7870d9bd0d5c63 b450658f8dfee77fdffcc096874bd1a34c278c25870be693b78a38f4fdafc1ed e984e3536f8a557710ce708e3d36671a2b74f893e8ab92aa66b9fe06a78008f7 4934ea2cfb417b73bd13a41761458692c581df26935bd204ee79ecd49e571f32 c31e59fc29bee0eb46cf2b3c09f72d434f6a617846cb2c0e5fab8406dde64e19 11206857665649dd78e3fc1a992d5297842f22a811b45f0ab746a539265670c6 dc082c5a002e83a3f426e4d841d58792df8d9410a93c6fc132d4970d0db3019d 29181be6512504661b5bd4cb533193f7280fd4d6251aeb6069abe293609cae5c ed141f4efd55abd690eaa4df5859a95a57cd8e3906fd8dd55840046cedf8ccc6 2c5eb1f2672c5f39b2246afe64f3339f98367c36aaa2e0e079f1120547496113 118d6af610f23d4b82b7e090ae4f97eabb9cdc701b905d435506f0a881c63a31 85419468883f11b788b15365bf783474dd9f0004a02c40046c317493d33f9260"