void-packages/srcpkgs/thunderbird-i18n/template
2019-12-09 19:15:57 +01:00

153 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=68.3.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="77290f774365007d4d6c9bad34c542aa212c52868a23a9026445d0c1c659b4e7
2d535f9c6ea8ad643f674658ec352b69c88a3e2388f474cfe8c7aec987f95208
d50ff03f18719651ea496ff3ede47ee5ef3a8d20c2adfa42607c2248468194f3
fcc9910efddd0eea0ec1c6b79bf4be8b73c9c955887c17e7c349d19a3e9c9e79
915c25a14f7f3b21fbb0cc6cc63b5ce9ccc0bd4ab82487205b00b2cc545209d5
f29528dd35e05476234a4f70d2f1ac6817b6e3be61cf4ea36974be6a61909b4c
beefc39db550b7c983646efdca4cf1882a1beb167a139724cde6ed34d222388a
6e8ba54731ed86d77a7e35981972e65d3bd07b225b380408c817dd8358081f20
58540efc9639b62bde033bc3e30d7785240e91af8f2f609d7dc632be825c7232
43c2cf557b4ff37fbbed0afd3b82a19ae7d1d27bce841397ddb01b9fffa72f89
a6cf92b5f2496e02a8ffc269191c494a4e7dfcb4fc8a9fc95cb6b8bbb2ada797
24182fd4f45519c6e9b49d332862ee1697c927b02ebebd9e684b71b4100ce036
1b9f62066ef3b4cd2593f34544ec0a12b652d7bd344318a4c5a0163daad1de96
33c113d3a86fff296d72b899c252c7ea9274a1dcb74a47f68658ff33592fae9f
34ebc13eaf916461af672a7f9e6a308178cdeda9ecd92090fe06c9bfd95ef9c7
0ab8497db8395c79a1c96afb741bff190d3c95778f52ba02a093a848517428af
6c0b8fd41367069911fc71b25da2fccc6c0fd87ed356fca54f909e6abe42a787
472c2a48ebae0056bdf5c118d877fc79e9c1a4a738139b985af0343e98c3b4ab
b2003cd3bfc714caeb2931b4f2606473ccdce9581d4819bf2e230836b5bc08d9
5001b5d09f37cb78c3a5c0adc0b0ba47fd3a53443161b893520ac4ce7e8f9358
7e892bc2fb38179c2fd78b726396367d7dcf5c3c5880e199798cbfb95d6aab3c
14db50fd6fdf08c3e0515a3ee0de0f9adb51799ac645b295cbc43e81af287a24
5aac92e77cd399febab64f488d741b3c584ffe9f99f446fa03ab81784a7a7d4d
d1e065c3d160e395ae24d374ef805a622a9495201a4d30e69ed974c4891b799c
bef761cabe71c8aec590de82aeabb7d9c26c338263c10033ad38acd89e99494a
8e6665624ff0e2c2e02444b1287b282ebacee08adc695a83bb3fad61c2e8542b
b33e5e736dfaf6c92ec729ce283d79c126b81442091f3fbb278d1849da8f8201
ca6c301d4ea5f934069e4940dbf89b075a6a49540fa123a0ed8515ae6d6b3436
2696cba6c6d45081c1678ed1d96cfdcfc1c4202337663c2b24285b89d8df7fe3
1d5a7e5af7f13bed4149dc75a4c8937922adb2ce0aa020b72f3066e32396358b
6a38789188e3d2c6f4f461474a612134036a8ffaff6528a016101a8f0ce00ad4
7680f77854526ac76738320d7e883f847b8c8012f13265dca674b93d92943d76
b9086bedf21183ac758f802810e506683119063e5d6837ce9d7f0d06311c5568
33170605022ab85e8b7a08115255f717697613f9a39db5d5d431fa5e98efc770
628abaf36a7a700fba086daac866553b13ba3997590643a64166d3c9aad8aff8
6e317da794a948506dc820c6bfb3c336658dfaa6da4fb128f629e889a94cad35
2ba9828f60fd93bb9bf4ef14d177e534cbe2ee1670ac0a20e255895e75975663
8c4be16708204e2284994c4bf70be798f7389e89a3f12b3e850d3071f824fb5a
32260ed674a2ec0c663d2a2262d109aa8419bc305e7330c9749aa3780bb3360d
ccbaaf2ae00704535adb97fb1a4652e5ed7b8114e575d3224d4cc1cd92fc05a3
18f62a13869e646bc379f5a6c447afc9ca232a15986237ef713ea776a209023b
412f505f9412167cd31d8422a4324cf27312fd0779ba49a4619e7afe00614cc2
a142e1950ca5b2707aaeee3aafbcc6254947bd56856a3af3f466f3dde441b2ee
7db4df6d7ec50f0481db72e9eefe16a2bdfc180a060dfc44df4bb40d6a3ceae9
0d017ac707fd48a800585bb4161e9a65f7623ff3b49d6dc5c2bacf0fdf9f40df
1d7534598635fd28d9ba5241aca373dec76ba42cfe4e16f97bca048c30578a2c
bc964747eff528e26f4671409699799017897641a2164934169706471046ee2e
a207a3052658667f704e0d8160fcb450c5f0ca3e02f1e9fea4045d4b7f88fc1e
d25c3a592153a4cd0c8398a6b20cd5dd7570316017698f39d115f4ab5c3c8b65
da46cb458f84b565df737ba9a7c9d375a28a09c71911a32b66609adc6d2db2f9
09e9c8b967461f81068bd3f5cf02a57e970d2fb199e17981c78cfc0979531334
c18ad2141f28b165b35817b406f9878ef04f8e9c28ccaf18232f7c9848cb5a33
2f1ed832bc88ab904de34cd53460ce452ffb2d7443473792833007fd3b7f5bf5
c56673d19f8c95d421a6e9ecc4fe4941a18f18591d4b30c64f5854e6bc3d8b7c
c14da3875358d284e1c2c007cf0da5b428e966a022c0627727996c674ac23930"