void-packages/srcpkgs/thunderbird-i18n/template

154 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=68.11.0
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="29ebac8c1596b508a1a19977524bcb9b9d357b8b422274c03f085bc2a1e5d11b
b36fc2bc7ee070202ec3caa6ffe3bc24f527d8c076e33f0f3ac7c2bb34678264
c425d737792ab8a4793e4c9ac094027c9ecfabe5bdc56c205e1b57b999626fd2
344962eb54d66b925d1e9d2139e92bec9d3f7c273d2735ab4933004efb2cc300
ff8f1460b1c3dec628985fb047c62d75847a8ab1fdef553324dcd1b1c7a058e5
bd531fa67ef6b4406e778cb5b0e09dc38e6de2f08d48c2fe87bfb13ba62eebac
9690c8600e36c138954bc2848d71872346c1e747b97a2bc180783779af589c15
52afdc19898b244a0a751ec5e89f223922554931c6a5cfb46289b3f71e7e4700
47c6881a303ade66dca9618b5127557be7511e1d44a64892efecefd451b7f7e0
77d63f3133a1978d139098af5d2e2cc19675c1bf380a7f2dac2d59ce876c29ee
046e46ecee6430a190f0f8cfdcc4723f5d69f617d1167788ebcd410fd6c206e5
afa61ad764739ea2f171e8c3338883b2b076e354a40c39d73709d5592f3ad577
7cfabfb6454de77116b7ca806ca43cf1c93b21b126708e787f7e0d2e3b1907af
7d38732aef00b03c54f353cd81f5b22fb43437f0b0960ae269c0af58832e7044
9690287d26cd6d3fd8301f762a40d4304ef7dbf0f73da913a793eb5f171295af
c9eafbbdf6a267804dbfb2f5f8d6f1a1b53aa0fa9426f9af05138655a49d61f6
c5d249574dc53a8425bef3469d2bf6aa3e1735a9cef1cfe5339a7c4b674294a1
6a6bcdddbf4cf6edae30b7d5eba330232d88fc2722085409ecbac0861f661d05
ac2abdbd3cad39a5d52626ffe00e7f59ab52c669b3da6f43268d62e2f01345d7
566718f0068fccedacf3cee3ab56a36e849bc3d4acadf508962c81981f29e7e9
bb94fb6835400bfe0b70276fc45e941b4a5dd809f946865dfca841373beb42f7
9b36cc8688ab7871ef90f7778b3747fc6503a56ed42f8faafa0b6568e9a906d0
b99159527690293830cf167affa9a604c26a10e268d0617a3d06e7319ff8572a
22695eda8f34c749e95a310752461d48f45eafb428dbf6a1d324e223577fae0d
f35d72064fd5a7246020e5958d8d43b0f0e1f439aee7095e306318400bd4b298
e015951a49b812ae1889e24dd67f67cc26c38242a0c20708ef845277559b131d
343acef6937334a0a525fd181f88c7f68f75e93cdeacffef05df4a8211e288b7
c9e3739e55834d7512e5817498c358498a3cb0f652f21c213c06287204ebed01
2381df9b757dd2aac778001a09f36d88e98f2620dd05813425f53b9e35f26040
a6f21d925b9334d5f46e054ae6db492f7c3c8c62b043a292e45a984a37ef6087
ced2a3d7a590e538ca6d817efda47478ca198246640835733c5d579205fd9059
c2bff27ecd581fffb156cb9fdfc26cdfa2a2fd8dab3ad478c80ca53d22c59ef6
efc4f0b1781463bdf0561e25e9c31dc5878949cbd34684393f168b7b69f88e15
c4fac0f3281e59de3a1a43767ac497689605d6e35673e3606b5a43fb835cd47a
fc034024f5a960d3ac82b5b5b99dc481b8d6508496bd6264dd873c4883a9440e
c3c5fe21cb5bb84af9b6428ff6f62ba8b669dc931ea3bd66225bd3d88aec07f8
bb5955b070dd509f4a8f170162826ec497d0a09e56eaa641e8223328b67408a3
a0d018d37b19fa4e82d89411c9e297df12fa56b003f6631cfbc12355dd8cac94
d8a5eac605c4288f1946de393dd52b9c16f8f618335c1e609806b5ec806d697a
867cd73998fca97eeb29a08ae3b492329741bcfcd157c275e2f7c3d75dd2da7f
a56814cbc21b8415645c655ae20836935c3fba31d66c0b33de33ace295a294e3
0dbbca82f751b0fe80ca7f3b161350d982e966499e0835c415cd7ed32861b3a7
238f218891c28e1505bddbd08a183896b93d383d56e5a429a8ac731d30b54624
2d7f404c97d377275a4e9be9fcf5712ba2b85c161042d80f992c4c1d794890f5
3093d3e5de225238bb15c459c0b317c5ebf05302389d03cbd0b69768ca9c011d
313247a18560313e0d39895713c793488e98c705659fc5b6aaba59fd25fbeb5c
06542ba7fad18017e52b135ab68266a0c791a1446b36b55f4476e9e6720c33d0
abfeca306d10dcaba73becffa90bf830707983f341b8abfec90203297c2f676e
cb1e4c67fad60b0080ce304a78728174f463093a2a6d730b5bd6739b5a15c370
93da2ce9ffa2aec8aa56fd88c97ee5bead6b8ba46b4df3bd98a4376402669183
d6144c43d24bff108ae787092bbbefe91c135345a923f7f8b951ac7cd46fa807
c2c24bfe1522a36181b6c6d03acf98a0df3921c0493cc8c818df70ebf2760c53
d68229f3b05b80ad807cd2a750b916e460665574c96b5b8e5258e2f689a4a971
4ca52ff75e0358feb4a535617076d2aede70b0d7ab29524a4b4bfe4f1b7ab0da
ff20a2ac005ee398f2aec1897f578ed38072b7b21e3e962abc67ecb66d01d3fe"