159 lines
5.9 KiB
Bash
159 lines
5.9 KiB
Bash
# Template file for 'thunderbird-i18n'
|
|
pkgname=thunderbird-i18n
|
|
version=52.7.0
|
|
revision=1
|
|
build_style=meta
|
|
homepage="https://www.mozilla.org/thunderbird/"
|
|
short_desc="Thunderbird language packs"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="MPL-2.0"
|
|
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
_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="8212abdbe942452369dc290b00a98954d7a713c99b60d439b3b513216760fbcb
|
|
3d49ddaf86b0a0d2909c4fa2fdb1c1a1a150a09e70600dad2b070b6f8a737f42
|
|
52814d6cdd5cebcd44b9df8225d9f185882e56983896f127427b66cfc0116a0a
|
|
39b84ae64b41ae34135e166f32e11ccbc6e1c2fefb3bbde642735c16ce8f9daf
|
|
cf2d10315603e84614052e68044e417513573c6002a2a2c3c37f651fdb52a035
|
|
5416998b38b8b3b18b62048929de711ca2999f8e8a45ea242c69c2e68bb9cfbd
|
|
87bb623143d2b1f4a2fafb5c7054ffbef7c85fa24f78c415a86f97b28b39e9f0
|
|
a2fef472427924f08a759d96bf3bb8986956ed395ee92f0a2f9ed7dee34bb6dd
|
|
f34586b7f06c42712158c4766ef3484a6985b9024d51cd546b5b19f241b6ed6f
|
|
b2c6cb1b6668e6aabd2838b4e1db74618db70b8f682de9dfc1a803ffc3b71c5c
|
|
06b1ec1c4ace0211a51e60bcad7322299bec420d14516186dcfd9ece11548543
|
|
9827822895c0f228f9f253ea9434779dbc330d894c653d2821596ccf9bfa88a2
|
|
6a02b6c79f8be2ad43a01bdfcd8430451ed3d5ad4e9c9f5012caa98800daf36f
|
|
595a5ef2e64984ece043d0d0d374e3d81a4f7201b632758687b9f03e1e23057c
|
|
3b55d2377d7790675e3b68eeb4d1338a1913ff22d375183806c2bfa054dfa540
|
|
819be79a7473a0f3afd4825b26e3f5ba1dd6b745e7d4fb2fa6ec8bd10236e9aa
|
|
47d591d366a50ae9f69221be2b1882546b9beaadf3962240b65e6910a9023dd8
|
|
1afff1eed8ebee534f87f21d675e1d3d76875f1a2bd1c1d8504c2e43e14b1dab
|
|
0891d434e1ba57a71d0dbfd5a0f54c7bbbf0bbc5b5725671e3243aa9d836fd2c
|
|
8f63092de10863ee4bf4c66f88e33842c987ad244d73bb2377e386730652f08d
|
|
0d71ac2f70c3f4d117e8ed41f5c4a82e333bdfa58783e829dae179a901a24093
|
|
3a7de09335a80a7a846b413479b3ee069a1d74ade1c054e71fa4f4e8261e88d9
|
|
017e9ee7d930637f7f72633b4eeeb8cde9f44fd47cbf4564704ef8d4e6b96616
|
|
314d22069e8f7e5d9dc18a35e8cd8baf4bd80280f4e22e5bb7b4c5c96e482860
|
|
16af3293f6b01a80e31525d33c65113b445f53ae0ccd318597cc1ce686bf0cc9
|
|
143ddad4eaa4eab357eae17b31c86ab0fb33f5f5e112b90e144bd66249f09ec3
|
|
8c85aaf66eaaf806229b090665e2d3389dae2f44b96e128605bcec269460ff73
|
|
c14a32839dba703bddaeca917a1b9abaaa254ef1a254aee75fca08bb08de7c76
|
|
2bdbcb919a81a905a5d29022eceb8f8b4091e1f938a666d5ea757023a27e9b68
|
|
01942aacb942e1fe95c119aa6904ec67ea7c2b5e7c3bb41e5678dc558bf8e4c7
|
|
94bd63d09400796e7001fc9a2e7930a29d0f8e338dc3a79a23368b3daa5827fb
|
|
8ea8d3f3d7e4dac11688a2215bb512fa0e0adecdea31c391235a36d16ed2b204
|
|
6458c381a598cc97513c1b7b83ea2d7092b4b7b729d939d6ba1c51b91a4e1c8b
|
|
96feb42e3ae1646d64ad74b2de7952e73a05a4302b7dde5841a32c43be859255
|
|
341e891e3aa85199a4da33a716d0d70fde05fba87c7ca165722f7b95f7172a67
|
|
7d2fe137ef7b18056a399a6768f93b9e35d543da8c1b07151d4b34f08bb287af
|
|
bd7df863f1695ac09ababad15f681ecd099d6bf7e33115adfea1be41b53e7f7c
|
|
15c4a0bbf3fa30fa970a3870bd1e580b39bcdf217d74723ee4252b57a94be78b
|
|
1d70ee7b991f5ab73e5aa627d8f19f93e8771a85da27abda1dc40c98a513a5da
|
|
0becb534e4577903b84aa2fe2ce5d59ae0fc2e7daa9bcbcddf697211b5dae43e
|
|
c59eb5cae2f997a886ae0c78ade2178f92d49dfde5ec00949e409fe7eaa04025
|
|
c8948e2776e85e9e3b56e9cf05f5cc7c5f75d325950939f5f542a3d7d4a4a638
|
|
1111fef71a87b7a1921201046cf186909b2fbf7f52f55f6837a2dac510a9b9e8
|
|
fd0367417943f820620980c832a9b94613020ba9382f1f1b7137daf9e003463b
|
|
5528eb38e8da8f83264b4387a9b5c9a7444ebb5bda9db7911c4ceeb5febcdba2
|
|
3a6a8680abfa01f696c4dcb25fd88a14b889c6b03866d185909b72d462b901d7
|
|
815c60141b335c1ecc497668343aa4fb77d378eac475bebddaef4ba4cbf552bb
|
|
c75343dcc57b2eb13c7affed446d2b59d31ed8f677995479fa37af13615f40f4
|
|
591aafe3714e5a0253b9210a054452b0a92a4202029d4016e0e593a54212e3aa
|
|
7c1f9e88265233d1f39eb2ed79695c3bbeb1b1a7acab02634c0f9eab5e1280a2
|
|
f0fa84335f0d15c972aff835a0a887e0a6816eeb14f0a096ccc987d1baf43bbc
|
|
d41d6e198cc298ed35ee76d98f305b60614069ba8774096f83fefe38cab8ae3b
|
|
4fde53c46c3108ecdc077d4908e4c67ee1d2074e1dc793897925f4a218027069
|
|
ca485aff2aafd544d819ab494119286a70954fead827d86d4158cfd4b493022e
|
|
c6d1de503332abe0129b1bee3fe129f20ffc6f3870058d54d2627fdf420332ad
|
|
b97c479f0e52e8429ad0f3c9195ca3005e01a9a32b1ef6c4fae6efa4e81710eb
|
|
c551cc18219c4cf979be3e32adb3dc34b3cfebd036fdde7a1148041d47418533
|
|
3eda9dd7b4814d142b2a1f74e0c3f9b90321fd8f6b620df83c25c780ae17e780"
|