void-packages/srcpkgs/thunderbird-i18n/template
2020-10-27 15:06:07 +01:00

153 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=68.12.1
revision=1
build_style=meta
short_desc="Thunderbird language packs"
maintainer="Enno Boland <gottox@voidlinux.org>"
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="daaef9e7b8c55328def0f22cad60ca48ad774afc4190b5e5eaf8e3dd1a4e5f28
8ff401dac77853307572acc410fd9c60b27b9577e7cbeff798e09107ed423d9c
cd19b72064b00ad4ba4b4c851e8ec634b3c75e2102b38c44385c761ec9152a81
031c9f61077ab08e8b896668e61e09a01720ac5f22f1a97046e4ba1abff653c3
6e6b9f12dce243c15f0601f7a6743e8fb0c3a2d98475659ea778afa80382d826
574b0ffef6849443395533a638ad9931dc2226f619a13526ea16364f60865d79
62d43bab52e891d56b43696f80a4d7287c9e5b92e57645dcc0e2b800e49bfc73
546bcb01d473cdf3d114efc7546d7499997c49710e38a75c77875cc0141b8582
0a4a2238f2630b3d2aa244aafe2bc59b78192fe973e977b72e71bcd170b852d7
2e2e2d793f49c323d265205f75ab08c460591c400a28b9c11c71dd3080c4e111
4b54e6395e0cad7bf01a41aea26eaa0b8a238d83bbbef70a80cb5472408c3538
782c27adfcfa3d8bfbbb46eaf2442f738f63e623e5c3a9fe25e9ef06c54270f2
dc23f05f6df9c9c133c5c1102e02d3703a7d42d6cd3021ff9e1b44bc010d36fa
189307a002a0ee88dfb373ae7daef44f13d3d86d292404fe75b9282c6ec70d9d
ef8be85899e8690b56a82bfafcb2422e21aa688ca716cf88fad660e2413a4371
def5c5acbc82f1274c74d407e4ce9aeca05298d4d2ecff9ee6a4048c4f748bb9
de3289bc94be4a76777a56af95b04957fc8289ac0e28a0fe5b0f84716164f3b1
b87fce391136a20fb53690cbdfe96511d0f44a07c8f6850d46942d753506dafe
2ea16aaf34e59b91d079b238489b8e99f2ac5c051127d80c130606fbedc17e82
d67cbf27d266394ec2ffdd6f6d5925a1bc3b779e190b43e126fac869d32a9772
5f241e80aafee6bd7cb38708723d65d22d0cf599da8310afed43b571e654ad30
04b1aa4a9540672b27a318bf0e8b051ecd2fd8e0fac9688972a98d24dc395cdc
ce24a1f51ff480d87b575e68d3da088ab70390a6efdc86a373bcc625b0d4fe69
ea147f235edafa18144c76ca843716d5e4a3806f7096a2888c15e45a291b8bb2
061ba1d21aedcdcbcf8b8a9bab53b16ef34e4b4abda0d2e43e49d4263ffbffb7
819530775c72a822a581c76d090e0709133905293d3df769d2c85692d1c7a4d9
c2f22993f2fd735e4ba8a34e8857546c4b9792b9a93488dddba30a2527ae174a
a847a8f00321f20846c45907458ae76f842d3107ddfac2fcf71e641c6a080c51
bcc6e48b51c67571c5ec08361134fbc3e4982ed27f3dab1e5b1ccfd26b3e22b1
368d63db282c200f5caaf65837a470df64db5a513d0b5e7d639e353fa8987c51
084bf0bb5fc42f068ae099d845c121f5ec8a1bcb91a76d80b6e49394b9e85e9d
578c24c143dda65697dc1708597215d59e5f2cc68b1f52e00901e07b3cea0dd4
1c2769d19ee3d444c75c4133f540ecf6860a6272bbb69f13524ca928bac33721
a9f2683f18b29503ea38df815107e3753c0c3c37468cc0c23fea25080ba7392d
dd61640c8987cbc5b8a41465e89200e3cef635c6931ce3f586a683d992492409
c274dc81cab7b3b2ba3e0a4a55b4b94ed9ff02be48c808b0164aba386aae7cd9
76b850488e513e5181b4f460227fdb9f7a297aa95bca7778f407521be6355d23
1924933c175b04d088fc5764fedc6a317396234e591ef9f787cbd6d21bf43790
28006df283c06e44ef08901f9db21011350930bdf0d0cba132d2d8eadbefd314
a90bce2d48d0b2f2db0423a22aad05c129029fb1b38824d7bb7875e6ff7a1cf4
77fbb6ddc67edffbdb0d3f992ed54f5309da13dfa9216d5c4ee613be6c9cec37
19df7a1f9216a69098fdbe7629140e7f36f52dbdd4b15a4c78734e448be3cdb2
0768ddd6ffeec0b1354270ff8c9627bffe9ddbe907c9d35081d5d9b6bae04874
8de1bb65249f9b06a3f90c02c1c715c8e308bccbaae22cde2f784ccac9228573
eebe0e05bab4a0061d5d8eb1cbb5f2769ca4befd3276db769b83906adaa3ef34
c23110b70da779084bbac3d55e87482ebf9502f249e11d9ed8956aac767f5889
27b5911a4ffa6a2a3e9ec4fdb10420ba33f333d9ac11deda8115656c5bcefb0b
44954a28be58dc2de08f0586ec7d8591939f81f3bb05a4574d8f58ac00b55ce8
3ac0f4e9cfcbe5089dcfb36eb39d8e26b16f062dcc12b5b89e6f619ab3caf013
4be6d239fd175d1bef88da579c7c1e6b244ae698aa4302a8a00069e2c0119331
c705309c32c0d4af7b4f8e98095919f2942329b1cad75e8fff168f6c0ea71baf
e6b9247a733e918f5e49aa6d11563c52b33d5f4f2f2cd4fd542953602b090c68
ae1b27bba6d82606b55bffc0275e35bbf6da3b5d6c5e242ce5ac62d3bf81c630
ffb9e14f03454cdf2d180d3960a3bbd13ccb6e177e86a1918d524c6de203df28
cca092e8f86e4102de12461ab5c8ab0b601846113a837508ff8b8c9d5a10e588"