void-packages/srcpkgs/thunderbird-i18n/template
2021-08-11 16:16:18 +02:00

153 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=78.13.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-x86_64/xpi/${_locale}.xpi>${_locale}-${version}.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}-${version}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@thunderbird.mozilla.org.xpi
}
}
checksum="7bda27a111dace0450b17fc31d49c945fbe198a9b3e6039a80c17928cb353c4d
322c9130002ac74e6d95fee19863efab5dbbcd874a427ee9718e6ce084d92b99
56704bc9e98aa9dcee9c51be9e66abbc10f685588fe8375b6daaa806243af37d
944da0f8d06a8bad22f8799520cfef41c89403f2f9221f6ad2218d15a430bd7f
2ba409560ccc17acfbf6e13ca74700c999572b528f7c6e90468922d85b4321b0
ff435d0ec657d00087c915a065f361fdb0bfc4ea68fe552ec02add734fe60331
eeede691c6900f5dcb2ebb2661b04cdcd29e156b21c7da29803dd9451c3ac17d
e93bc8dc1749b652f69064c1b26e4783a1277a26e173e6e1c16876912ead87ef
b6020f9ac0176da7cc425b8a3bd91cf4ff970479d1de5c9aeeeb7f4d6512924f
a6eb38aff29f132f419df1d834d55c386a506458219e96173919800a10035b17
a08ca7eb8bd38c3b7b21c9560788359e736bbd6def25c96c61e5869eda39b8ce
03b0846d56d07f2419ae86cfcb3865f89709f0c811bd82f7bc0f766165a06b5c
abac2f3a05484ae7a23353793104cd4832979ab298a53f53bd287e7f02b32405
7094ad93f495776ab4a0e7c5009b280a18d233e362adecd3d1f4e9db237a37dd
bdeb359f37959a5b72682a08b9aa1102863ce3a4bfc4f31bcfad046a0af1033a
3726cc2c21f4d1caf570334a684e7918fae2d4df68f6f28bfe86d0e86346457e
b7a1c55f098bf779ed944b244ffe76adfc69509ea456199eaeb445376c3fd715
b5eec5c888340f6f7084024420829c525648861758ef8fa4efc1ea2023c3c1ca
036c4540944b0eca163c88ef36e894a5615a668ea094d8e33608be05e77243a7
0b66e7669e2069022073083fe921b8bfdc1cada02ec3fe7b5890c72663a3b5d2
b15e81462c880b0e07c8787725852a0731e2b94904589d8b52ee7fcba0687a93
29b2f240fc186f44273cdc0f9cd5d74c84da739f10db43b715f25555df78b240
f98796d091ece16a6818083510c435c2fc83e7e9d53ef0312d82489ff6cd2db4
070766bd8e62fb1b9d0ed09a1cbc2ee934aff4260bc2f8970b9f25c2daf63b00
3ccf7a716bf7618b056885771af6a4c746f57d6303e67f7db01162f7be9a677c
075beb7c0c1c7f5c90eff2a82b9c15eefd76df6f142e4da3b917833bf2ea4b0f
def27717b72ec46f4074d89e6f8b7380507a2466281beb1303d650b8de3fedc2
a2ed369cdcdbb49aed4920045b812d9bfe23a5d92093424b7fbfac8013a9e992
35b0e3bf7054af1a6dc3e7a0c78c3e15336a3fc07d20e58b7ae53ec0e9d6d42b
c5fcecb851b10760f278cf3c935ee5e82215a7db6a210338c4d19ccb5ccd37df
3b3b8ec4606e357da724d622747bfa5af2b1623e7138f8aef388f1912d709235
f14527396595af579528701f373222d5cec14cfba03defcd4dffce0bf535eab1
a1c612e1bc18251039c7cc0efd69fb13928b5a1c3e1c867bc7f746232b41d63e
d6a465fde49940d21c8b5b8972f3a69435be7f72093e72b01b9117ec3d037d6e
e4d4b5d4052f218926ab4bda24d0d9ee2b293a910ea88596bc1e8fdc9b981e7c
ac656bf61a3e5bd7bbedd61e5c11d644c5f4c20c3837b085c1f5ba84440cbe1f
a3a7e72d9260d3b03dcd499f3b94d1cce351bf3e599de654e839b42f394e9e39
df75e128c5596bd7d4cdce6e26fe83dc6e5be878f577627a3c6c7ac216f52830
0796b36090b7d0f64aabd6fdd1167442d6c8e93efda86813c68438663838dee9
70675c8c5dcb68f469eaba671f59165d538bbd3ace0ac1758035c36140945f99
c38c907b3e872816ebb8173843b30794326344c2ce909b2c65576dac9bc0ac7f
249719bc75177e4865e49944df0dd1be117e06bb34a62e193bfc0bb3742bd0d4
1e759bf00cacfcf4bf2c43a17e175e520c13c96e8cf24c4ca15dd75318183c39
bcabf64b27667b6587763144910e39fcc3d442f5de704ad08c456a5f1c60e02a
24ffbbe40330678280f85583219d859030288f1a86357e655efc4880dd3fbc6c
d7ddb76db0e4c95c7012a6889ff59889e72d4170fafc3963cf80865f38232ac8
17285c5622c62fac2c4158a7bb0c8ec51d008c954e709a08c1066610ad61699e
1f39db4be0e581d647afdd4eae7ea1acd35e17479644bb5cf9bb4b7f6fa1c1e6
3901eef44cac5498aaae69468ed60619a1f7a7f61760f2145b6a38c2118c12fd
6c02e1e11e2571bd7bf0c7c7ce04add9b2f8bcca99f13cb5929046dc8d9758d9
d1164a3c9c270ad73bc66bd7fee7e63efe6928c60bcfd5cf8116603211d7ca83
f2a295ef52fde10e18fde500904640088d3568289c83534ed466cf84ed533386
1eccd599819a2b425b88939327a758c82118fa6710e0879fd27c4b86b48eaed3
d4744a129b6ef34fcce7d0b9564a7543ce6be0dd471123c7e9814b36369aaf47
a7d21c73056c48d2059c9543b11da192dc90d2024915b320b506651557d3f5c7"