void-packages/srcpkgs/thunderbird-i18n/template
2018-11-02 12:04:37 +01:00

153 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=60.3.0
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="71f73dda95678f86fbeb4350263d384bf390122cf6e7721c41477f88b1f55b51
9de79ef9793aecc2728045022e13067c71b53615f096f2f548fd9e290d1b947c
bdcda9c81634cbf9bc9377bdfeb3f10add2d3ef57261e8e8e58a46ee928d4fa2
b2b0a4e67172ed215b20a0c553404ff02f67ae67fb009660c4bc08a196517c03
c51f3c145a0af881d854072acd2d4525b66e1b995284dc3e90446ac1da22ed02
c01891462b8a8c3cb5404dba79618612c4c086df3248e99070720db7bcff763d
9b23e45618cfab64a830736fb648dded25ca8798c96c407bc2928001e04347c3
bb7adef6f9ee6d464c0f9cec9c2e67ae962ce0f9e351004e497845b2516ee57a
04394f70b35de2effc2fcf85b8b5a4cf3d186758d49aa2696bec3a8603145e74
d6b8282c16588bb09d09ae906f5297a787fd3ad259711c4a20fb92f2cd20f042
9158225cfebb0e99b5d63055411807dda625b6e8c546e26c0e98b43cb9fc32dc
a6dbb139dcbbdc3f57ff4f785528e6fd142dad8c8e0db09933c93c918a599850
0d1413f4dc6c30a03f2226c641f6a01bc4737628810c449358bc766e404cdf6c
1146ed547425fb3d225bbc5962688eba55c1a1e36898ecaecc24cf5235f36b63
d60a0d8e621247322f76fef16b9d8aec2d69ead6b4904024e6faa630cfad80c6
a5504264aea22b41037c22189e9dfb286ac9374a053e89c79be17f5902efa8ee
d3d39b34f21043a76e0f5ddb7feac37dd5e87e950c916ad1d8e3e28369548731
a908300f74ca810738594f8d9ba60a15e5de063644eb177a09fbf7d7030ccc34
d6813c1f7153410dbb12726f7091edafb04fc1ea17c588c1602f5c2e31c6e614
414a170065cb4da4683117e72a0db91e8e38b55b5148ae5c55ff36bd09fa5b0d
9fb0a7973f6bd2db88ff752fdfd2c3f84304af5a72b4619763208b37484cbc0f
1ed59a104b09f00b8ed724d9f6a5f418f6420244d690a482e49a42693fd32dd6
943f29b221fec02cf067793f156dfd955fc56deb73fa23416c75ee704dfb166f
dac3b1ff0ae36ed916222aed439bd42f33d199e6d1ccd209b4504d450e7c62a9
afb2c28024587fc7f529304c4ea204882434fbeec5f0efd974a68a31b384c6a7
7becce398dd3fa2c9cbf404b6f179bc25f7ac4970b8b0d3b763cb849f00c9795
e943762efad0cbd0c1f36bfb14a267657cb7fc607140f3e086d092c1e979adb6
b8ff07e7dae3b41de451c78d828468fd4144fffbd51efbad1fc41ee339990a03
85d1c077ade5e16b66af4d554a632b74671d6ffabbba9aac357fa87e6e6b4281
59a0e909bb602e0f15b7aee784a8306a53657105f9409652064a8150706071bf
3ff1b15d662d5f24d5639c5ce76d7716027f9747429931d49d8ee29e564958f8
e87806e2fcee1b1b3bdc64d4cbccb57d0b82bffce6f73a747151b5b4ac0d10d2
57bb29e92f3e7a417c059dd11527ac542cbadc23275824f8b210325b50d94e31
051bbaf9627c3bc6f009ac2076d11e81a58f9ed0112b0fc251920c75195b9816
42a148a37b3077213c465d6eb55233aa1aae6cfa6844e3060feba68d03ea0a71
59a4b71ad6bdaef38582e57bd8c8db407b4f66f16a0d3990fe51ccea8b1b08dc
850607f63e5f000b407523ccc8a7a99c543611e524af1a446510a906254e8a89
0a27b6d92cfc3b49a9fdd0d65565af11a2298bfc8fdc0821c531d18138aaad8f
6e34524a1a7723976810648474fd54f08d23552cdd4e289f302308bda566633e
6bd9c89f16c8276efbb37ddd374ba37a6cef5ec1a5b31e26febd14366376aa7d
81e181e660be34a3365ac21a8806c031144decca078c60b4f1210b57c044588c
fe21f5dc03257d7cc22f3d56cb499d733953d6124e76690c5016bda06a85c6c3
0f9745d904de63a2b4f01ecdd0e08b9568f3de29eb300baf6e4aa28ded92ec7a
fc7fb27b329cd551e41bf5280e2f2ce83b1a91ad546d428d4d27d042e53aacd3
27106f150b5cda3ad8d81931542bbf43713a1da593f1a4bed6f536a713968eba
ac9d5a0d8111882ef7bf1c2e27dfde756633c75c572276aa1b8a29848cd54e7b
c29daa532adb3c74bc0cdb999d76e999c038022db361cae0bead9b5e191bee84
32053c86b78107094df04dc7c7dc8b9ecc312b9784ff7ff2571212da86643c92
119f5e6c219140f8b196a9126b69abe9cffae2d182e20c2612f8fdd59cb5c12f
5919b3e989ff1957d6776cf5a84512fba7f78401925b9f156a079a0fbd420ad3
eabf536f861916d26c0e08025947580886cd88ddeb65285da50170260ebb43ce
e41030344b5da03b38624e90d88fe5cd821bb6859d9ed3d7b448341d9eac951d
cc3d683635d099f3904853ac3d5b16d0eb05859da5c59b28e85dd8b5d761d326
94fc4bb9b2fedff99fd78f5b0f7ee16c69ca31a1a66d36e709a3ecd67cf225f0
28631091060510566586c0dde31d1b43b7fafb762c8c7e28db76dcdd048f824a"