void-packages/srcpkgs/thunderbird-i18n/template

154 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=68.2.2
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="2acdff0cbaf14a5a3c9ffa81b685e83799534f9cec16f8f9bc4d8833c3fa5520
d1996bd2d303e99797502598e27d06e30398f4a4dad71456e2397dd86d4ba468
bbf537bfb6e311d2d51a76ed1f39b19b660e9ac489329ac811c5ae6fd4898fb4
47b4801e9e429e6df548a8c71694e53b7cbadf9028a234e60d9ce911ad66cb89
1816ed38297d4eac411e87d9b9f8d6f3f2ca5350350d78275e2d1e4a0d44405a
a019e3d620853bb7ab2aa810076d2c59a899ab9db7003b4236d83c9ad557243a
5cb5c731576e27c461da63be77438e08dd234304c3d40f5bc4d83a46b0233f4c
2b4c276544328e7e65ab83bcdd682c5b045a7c9abd1c6f674992491ce4e78d72
de467261a287708351e37a30066d1a822972984ba63f664e384c1b3d07837125
9bf4d0a3a1168054741547d4bb6c3a5d9c4731967f9e2a5da715d12aff2a59a8
5780e1b4d8e0aaf7a7747ee2e2d84971360c51cba28275c345aa327104299594
c35993609894be6b9f476fd0a0306b3ead5c465533bb5700197bf05cbe1dc897
b2b5f3fc1cbb6929b1ab39f32978ed225fd6980c77b454f1224bf6a29f7b5f3b
4db633e0c2731d575568480a5c3c1fe87148e82a708c446859d67238c0b2e5a3
9c3402f9f3d3560510baecced305bf7daf7825f3647a41164ce4250acb550a39
678eef4bc2c85929445f4f9e8abc5a911d14bfa3006c926483e88b490b10a99c
4354263e2a1d5f020cb7b07026f6c1de298d82ede934453762772b314f3ccbbf
40b262811c33e2089cffec486ad2467ce60010a6578393447e00403fac1922b6
81100e9c6c9f255bd7370ad55d614aa5da02b5a8ebcb22893836e6e31155e583
029ef0e9300a8e3ee03b7def66008834386f760eda957734a97c84b716f87763
3b7d8c41d9c905ad4d6548e32f61a60e10a4276be76f75974338b7d0a4b30c5a
d988db0ad5b830de542b53aca39240d9273c7fd194979a45f6909b6dc72e81d6
81387349250110510e3bef754669508e55f0e8d97120f1824569cb4cef34dae9
c84421de6b80244266435c13897cfe589b5033532496dd170c15d54e9786c176
529bc6f119676f24f5c6f07ebc90cedf47f171bd5d3be283fe1f05619692dcf8
7c6faeb4d6d31f8d63888743efc0e022a33aa4fe7b3723e2be9761ae93350143
5c3656d28a02f0ab8fad7bf77f6e91f73e1b5ff974cc694f902e205c4f4c9e4e
d93076d473740c8d026c6a4f257638ea6ad142f0006c18ebc9009da6e58d7cee
f2771abceca082cfbef42892681c985e152ece1862f6a00d61f0ce5721f50c30
93d1c3b1c46eae7da2fad7ab87835466576c7c570f3d791d61a132c3f2b26761
ec7d6e3f80dd995a9b4579264a8158cd7d806e6f9507dffe1ba9fd51ef0721a5
9185f37fc9937d5fcdef097927dbbace6a4381dadbade8d25775a1146f327d90
ebf95de59e1b75d318142b79d9bb991de5965cc8381963806c545f8a50319396
13ca0c4ae33c6b648bd1be7873ab5a8dbd7d18798088130b2f28f27997c04165
f893529c2829a41ea10f90466263b925e58095e0f1c12b249fdc37c21d7a7237
980a0ad5b85fdbe1a71c2ff62d9aa15006aeaf5eb4740f6a86173a8c04cf2b3c
007d7d8a464805809815bbc5b22127a907af5eb4249d243815540e6e6595c3fe
358e6d7148875b20b3174a4370e206ddf9bc49fcadcbbfed95eb995235bfa36e
483578617e505e35d281670cda5209d90c8ae57311c871eb5c7fbbd6669c28e9
a3f0ba8dbcb6c8f3f93230ac4623f61b37a2dfab6849973075b6d679f4da2e1e
5eab0eed85cd54820d5233c2424dde6c0c17051b3233dda2c3b6deb6c5ef4ac2
0768bcd4aea17a3cee81c24c470bcdbc33aef2234dd0246abc34a9a1c302bfa2
f1e5ff6a29c86be385a3cf7d43b0e81d558f649d37a8bf05a6ded86d017dbea3
5828e2e8f6e698f720420dc80c25fe1a8fa8682dd1ec2b8e90b92976dd695b4a
1be00b33917f48ffb42793c519387adb37344db92bc68b929883ce05f500e552
a54774f51ba5d589a7e34f5a70363e853b72ad9d73d4789d9582949e77cda9b6
edb3e82ca73329095c527bfa8242c7b7f8225d5ac13bb3236b5751e98dcdb8df
ab1fc24e27076c94b5d1a12b952cf63f8be7da6ecafdb1d694d89502b49013ca
8892fbf5a9927eb2f27180e0d393c862d4f8650544e6fd6f6d9199f3beb36c50
f7e4458723e142011b3ac0a11548f284d99b4539ae4cc5e3d44b2d5dc8b9f5c0
efb32887d7179f421a26ba00489edaa117c6d60a3e840f7cdcaf3937146aedaa
5f0790bef02d6b89dedb3e3620104e3f8a83d0ec7faa6912b81f25f8cb2dc002
adf74002c09f9613e443926260e5a13b29a829c10400f99d7702401009bb67bd
c3af34114bf24f246991181bfc60fa9c5a1d5c32fc9bcfd3eeff821ea389ba62
bf718a9852ca69a8f77364cbda9967f638f7f0fbff15d450022c892e7b3d760b"