# Template file for 'thunderbird-i18n' pkgname=thunderbird-i18n version=38.8.0 revision=1 build_style=meta homepage="http://www.mozilla.org/thunderbird/" short_desc="Thunderbird language packs" maintainer="Enno Boland " license="MPL-2.1" create_wrksrc=yes do_extract() { : } do_install() { : } _languages=( 'ar "Arabic"' 'ast "Asturian"' 'be "Belarusian"' 'bg "Bulgarian"' 'bn-BD "Bengali (Bangladesh)"' '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)"' 'pa-IN "Punjabi"' '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"' 'ta-LK "Tamil (Sri Lanka)"' '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="7cee5d888c577d2beadc5b9bfa571bf4f4c9a3008a13603f416d1d87ab68e7a8 c7851d4cc7ca93457802632f70b21f3afe91ae3a024347a91cb3d1be499c4c96 ef589b94654cc18be3fe40c1891027c3a9006ffbdef498841d96fffa6f10ccf3 060304440ed06c9a068cd8902940adc6f73cb719650609ea7650d10c3ffaa1ce b59b1bcfd0308932e05a79b236dfac689203435c0e4a5da6746bdf296844904c a525206d0fb0f8e6c19b41d28a346b16100ad01b2f3e5329bfebd31822f63b98 30a8c6ce717675df42f37d26df6f38af767a3d00b5d43c5e41a94539f87e2057 76104c8e20b3aed398f36e65915544ef1c2e07e0c77f489537a0ca7bcb6368c6 3d0f9f19142c7cae4110485a85ef4368b55f536c04ec20beadb1148f02652d57 b06538e1daf3cef1106d834a9182cb38a9c10de88c435e19aac8d7209937ae12 72c53bd6008dd8bf165610522f00888efe8574994b37e69f596ff30c163b707e 354845a9e6a03cecb4ced13f6a15770a19f9fc60c5c431a8d2be93ff20897543 b2b3bbc2cc69c42a9eeeba0fab0438e1cf00d2c1d0173c0d75d3d95529e903dd 336659392885db0806432aafda47d338fd353184b8e25548945d17d73311b685 41cbc4af8151ee5011f5634b5ed73d4bf54af663baa3f616becfb5d577edb312 be62934d80bd1b2afb4359a78702a59e619467a8fe10468afbe2f3c1cc643a3f fb8050e12432ba6dde86d59fc06f5a85ba1887129c8e5c26e65c95fdf39d0df8 4a3b5af3b04daa99ef3a6689371ab935706df38d08850dc6af6fe202e4c1e5af 942156f50fae6c9bf04a4065e08ab2624d766daf64c3d05987464cd981a80561 910741b94b33ee7ca4fa32c5fc924a3e6c595770bd73916399c609df66b2fcdb 21131645a26fc2bdf323f292ab37155645461c9efa5059df2c8fcca87b60726d 60ed4536d44cf5acb9f35c323d42963f69e09ba2caaf1b36fbba58ddb4fda081 a0e504b64849aff5b6eff3a263167246a8d7ce1533f256398dfec86cb0751b9f fdceff3044e8ab57d1bf20665a76348feacca7bfbba18e2bf81911d006b25851 4fbac1cf70d8e8f9c60f94d149f80ac346ec6414c02739d3ae871e76d1dffb9e 692425f9eee29541c8e7ae3ea3b302bd9dcfcabee669cc2da2c5ec6d00367b77 518bf6f4ce8bfd17d1f7566ee1079551321895a0b7621abbf2ce7c63810fb85a 95ae79a1df109c5b1025549f57069456806c71c98a56bd11038f1f7427fd8e82 0fc18a5159d21107e03790dcd5818b3158d40bb942bec5f8468acae8959a7238 def5a38458400459be9f7e8e770606adec0803b7ea75b3cb638fd4404fa7af3d 850867bb5fc52bdc68d23032271bde702e623165cfff4fba2ce47fb1eb4b9e68 066f3001c288269040e8e371d275694b946af3c492ef9852c8bb03639701c904 565bcec27288d5b09ba15cdf75963afef9e36eae750185735707ea23152b77ef 299025cc2df18a75e24388b65854120ba1cbcec7b92a160b770eb5274ffe7da4 ee95b7ac0f2d1aeaeaa5fe773928ed17caf9616aab0591349b3fa0795c5ae5a2 5991e490ab08d3da4e62ed556bf5cc3776aa64d4b6db998ec1616a9b9dd79bf9 5cb77d5f82f79cd76e0ee72f82ac47b945d148b3971932bd7dba44ba959f2666 1bf104989b9a4c96c6bc7c0b92b05b94b7d587ffb697e9426120a2411b707940 901212eaa86d5e2554a1b4f328ee7dc48c38d0e367058026e39380488949e66d aa175e582081cc144302d550859f87696445943329b68b565a2724e0b8599a0c 7fc7a1df2defa08754077890a430148439a119cd5233f783cd4742eadfac5b5f 2c04cacfed6be2bc14111cfb249286fdd0718dcd011be135fe08290fa44740db 85e7f0e2c96b47af7178876529308a8df79671d7b6923dce43db16fbcac04666 b3104a5ac6defa846ae6a4680e847cce05d4f2bc389ca7f586ba4e3173d8cb17 5c0d2215b3f72940a8fc0dcf7e88f4704105625d45b0d9af4504a18067d2a113 964e522402625d7d2e6acc051cb4f81d7b97832cb41661c8604a4427e369843f 674fecfc7418ea29990f986cb965e2fe8a79cbb46ae6134cfc9ffda327c93d3b c6a473995bb0eb598b55c2b97911be80bdd9b56a90e1a29a689624cda2409462 d8e3140f5e10f09a8b063936b09134d3bbdb231db83323ab8b76d5a93eab7d91 fd065a8cab1f80efb23e3b8d641d7557a02fe627d2c725e7123af480210b7fcd ae6e6e5722a3f6e978b9413cfec8fbf110ebadd3fc0cf3cc75c7eaf14c42a828 791f21e65e584ecf6da58feeaf473e7b5200dbe0af20d1a590d3dc114cf69b3a 898c75a12d33bc5de3c9fc3fb94e87e1f461ba5dfd7e8d497b0f70f5b29f78ba a88d74587130545ede0cf4862d449bbe0d60e88a1fbe7073e6322fbd43d90b0b 1b21957c28cfe9b196bd768bbfceb329bf07ba656ba2dd48e48480f484f7b77c ddaaab4ba689ccc0221f18b34aae2ce0dabed51e61c1776b4c108e7794426c86 4f9a4ff54f5aff408abfe9fc90da63d70e74eb5695d358ae22c7fa8a76e411f2 8ff0bc45973a73f6b3225c063c33c8dccda31ee6a385150984a1b4851214004e"