void-packages/srcpkgs/thunderbird-i18n/template

154 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=60.3.3
revision=1
build_style=meta
homepage="https://www.thunderbird.net/"
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"'
'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="cbbd8e88f224986885968b8cf1bc793ef797a4ad67699897f1241c505aa1468a
3ff5b95378b67f9656c1b8899c4091187cc6d9aaecee04f6b960b02e544caeb6
103e49abd506638fed88dec6690f003bd247f6b6eceb0b672e8eec67a5c46aa5
082f936c6705f4b6a30da095df6a06738afeac89b8d2486486b230bfa486c8f1
3d978b5ad1e10d3d06048f063da6f171d2e2fcf702ae503fe95e27975449cf5a
020ac3d2f842b25004fbfcd8630d6183952a8d40b86a710796edf4b6699b6a92
442cfaa3f6e383f7c8ca4009c2f4e1830bcef20ec43b238515ed4e09c0a451d4
bdb5e8d63168d04a4f12f4884f60bd6bdf6dfae380b180d554721557928e7517
17c3f150de5259fb21e87e9857cb461ee772628162d2674a2c8a59a7c80a50b7
ff3d45f0c7d3becc230a0b6ee76d3e27c13aca92bc66c1378f727310fd645920
a467431c12de694b71d95c9ff6c9bf1a1870378ad33419d04301ba3ea5eb6e4f
392b81ae56bd67c29a8fdb89e55ab2a60bf28b63e80b7f0ddd1a87c199f4df75
9679cfc192615121a095e6d0ab3be40ed797edaa01410a2c090db08cc21aeadb
ca575e29e037d5ed4f82ea351b55e5f6d3a6841786aa38f0f42211ef2b9eb70f
bee46105952f3332ef6985c54c9e5de70b4b8e797f862feb301d7b9d623a9a08
e97b955a9b3460e1682f82884bb92781b3f2498c0527047910149dddf11f6609
dfbdb5fed59436ba6a23c088740e5d4b1f5da559c6073e0858a864180889c445
fc46b25891048e574ef7ab404311b6d0f0477b7a45b7fa9b46a48698b5ee7e9f
4a2cdbb9ab6755eb436cfc06a34c337f14c3fae8a683b4d620e653790ba469be
cb7219aad7fa58c41937bcca25ac72637ab92c7d26de94baf13e64c44feed1f4
ff98e6d94e2022adbf36d71d91ea5036db0efbbd2dab2dd10a0c960020f0aa01
c56efc8397f8cc9b75ee8cbd7e367cf2002b88faa5afd8d3ef55f1416da0bfa7
9890671efe348d1623da1916830a8aea8f318318d46c154fb098ad25e4e5d56f
9ce8698f74ef45d5232063459d5fef1a5ef3329d01f014a9b1d5137b52990b67
e899e3ba40ab38d41090648b595dfcadbe80546f74dd8c0704de8f9be6a5b826
0522e6533f372836cdedcd8cc41ff2e274d0da77be7f2d6de4e9b685dcefa569
11bd61c42aa486f50ae6df6e064fc658816f1de71ebfa430451c6c4acbe49828
a8687a7e38bac986da6320ec658526a6687e4f0f7f4fe0d57e5395a3dc4240e2
2810a28a88c7b3949f598d9b4f4f0bf5bc0641433d5a92afc93b383e711d8b7a
e5bf6c97f6f65155c22655d01e4db7538de66bfaf6f6fdb23e7ce2de5c754431
f5906bf96ce3cb50b4c01fe5d628f7ceb5836bc2a13bd681cafb1d031416a209
896369dc19aee03ec708eda01ec790def1de6d8e28cae51199132b31b3a82a19
0b3e7d4592bdc8ab5d98acf5ec8cd889458e5a93d5efa395e92ca20e8ddea387
2e6fbcd9ebedd14de3529a8b92be3cda1213bdc3d224c15b5131d8a5683e2959
e85ca7ca5adf2a9d4a7cc18e3332a72145b577b8bb709d03973fd625694b6883
d3a2c61cca2678696a0f1e51bfb6bd8bc0e8256dbb09423a3a21c1aa620a88a0
ae7d9b573887887940a0be7ab136e7b4b4b7243c122b6f3db2a3d4e027360150
61abdc0fcc8f0ce5c419de517f33f2ee272d622c2f7086e40667858c806c4ba0
13bb2e72ffa8570ceabffe94997a732fdbaf8e280397f41c4acecc2c359eeae4
6a39b3e58c38c0af3311f0ffd4d311936b81ea6e55506bb822c7d586a2308852
0d2c651ccb28d3cc79bac756cf230532252e96ba05b1f960586a1d58b746b92d
a245561bfaf4859bda708267577e0c76cb4f87cf31ddf1cdbd8dadaf650b26d8
9e75c25305a31ca9896996602e1a3a6b9fd7834dc5f7faabbf93d7eac88754b0
a92f1410574a475ecd4deaed8d3f5f671428eb7467cb9d5994b6cac4f757e187
eee5086885c829a204282b6ef778c7efa334e085a39a3d991d625e9340795aec
ae242f82d3e0494a5775658bf70c15652a2fee7b21fd7b57d32aecb0487a0732
9811ec5569e7bb9fe87e357660f9b676a98bb14657d5a7a1120618551541b590
efa2fc7ecfe0e6f9afdd258f09156bf23bdd7e0cf5cb374bd1e5ef5037214011
19b1038382c3a1d0eb1e4ec082cdbf10673d0801b09be647fcb940573ae3a232
d96945bc41d24a8ed24425ce5b26426f160cb4b40496e6b58d2788d8e620d308
13bfb45c1881efbb96c20ad9edb19a9c1b66bfd0f74e4fca2627a2b4b900297e
a333b8548cfacaace05dad6f1ebd2592004a33d6df9960d05d75cc24ba3e86d1
a1de755a90412b823a1f453c7117d66232fd9ac6c993895a097e21d5bbcadb35
b48bf845c7e7c87e97886a66c6d543c4b317904427c8d8607599d0389a19d014
9cfb2c5e031ea77b8c82421659c618930f1f00df548bd201d6924d298c3b44ce"