void-packages/srcpkgs/thunderbird-i18n/template

160 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=52.9.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"'
'bn-BD "Bengali (Bangladesh)"'
'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)"'
'pa-IN "Punjabi"'
'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"'
'ta-LK "Tamil (Sri Lanka)"'
'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="d26e2acc7d313b2eaf5383c934dcaa0b476200b952ab6428ee10a4a4069bbeae
0bb15acca8bc307bf3dc448a35cad822cca25bb8d958a6b9fd8adb57bfeb5c0e
40e0f1b57d84ae8ea2b19414882075dd57600954eb6696161534cb0863a0b250
ff6fa4af95545f57c7b16bf0472460c7c3737ea224b189fb23d148dbd89138dd
9e99d9f3d862b1c1140cb61ac48699c2838c76c1f53465fb153aca6d1f745a07
9bc946084f29ac26950f3b77f371bdd20652798e378d12efff24e0abbafeea5c
422ce5134ed73050eda2a75f1025a12c163a8cd25fd585e1bf5d8ccb51be7512
0758bd3138c9c2d8c568ec5a63460797fe61f469cae7f3a75cbf35591ccef22f
cdcf3c98ae767f3f8e77093cbbcf256e18ffb0e02ee95a5860f9fac6e4788173
a8a3d92b22a988bf9ca570ded2773235c720a1882b2094211518a0cebca2930e
65a2c6a36a89af4edf88d5753b10e882a75982551639c8a1eda8671e950c35e6
d7ca7736e607400787735ce8f410b07e5b81e5f6d231e231a795e10bc3a54626
558a22a518b26ee8bd7137fb8449f5b6f1effa3150542febbf224234eede9ed0
f75af8a12164c11decd0255a201d81cd049b0b29d6aa480d2752d97409ae715e
fb50f2b6001467ce8839997d8daf87858333432c43b34a7e18e8a5b6a514e8c8
7ec4455da32bf0239a70f4988c39ab6ddea9b621afc79244f13f1d5e62ca8805
74b9ec20db2559d79f38492718e818aa52f890b2425d629fe7470c4a9ac8b8b9
780c1a0cba10c4dfd21716aedb5296c158182c045140ebff6a7fd936048009e7
61e416cf7006a98ed295d8df8dcd82b9b0ba1ba790b999771389db48e5cd1dc4
a8de67c8420086ad7e61df8c1cf4b1df78bdfb8510cf3b6a8a14646075c0cfc6
96ec7faa17bac3048103e388936b14c693e5a8fe5f924e84fcbc24b6b252fba5
efa44c8441a67ede3268cf02037103e370c248bb3d48f0242f3315d5445f896a
9e6eb7e560d70ac0344f56e7b158198be297960458b3121da2087be8bcfe9f6d
d0abe4596d3d2b8954b52f0b2aab166e9dcaf7afb3dc6f214b45e109c0e909cf
61fec956dbbfbc48da5674b995b77aaa577787c29c1bd34215837a697fab4ea2
bfaa4c96446a1b092d511b5d1d22b42d79391af55e506e5f266283f1c6038588
3f6deaaf8bf10b0297e46d5a95b0990f0f00ad0ee40feace3fe93b554cfdf8f9
952fdc1db1ecb09a92b122fb664b29a2ab9383f2c01b6afeaaec1ce7768c04f9
ea9f70e2f5bef179ec8429478e40e2d1f10c8ee6405f19f76995de301b7298a9
258ba3a0060c8bda67883daf67d08f1c5dbae4cf5c4aef512b4915feaebb9e78
ca78b0e0b1101c0592caa160ba817aed452a7095ef4e789a561f2a4cdc7dae3f
8218d70fa0682461f3d4514caf08b5d01cde24cb0ae9f12e80947f919a70188a
0a5b24f9d2a40ac382872b693cbf715c5f8ee1e33e4a6a35e16317241dc9033b
57276de8b009f86300dce23dcfa403ea7d1aff955a0145ffc42c4dab0f4fc9b8
69a1ba79ee923a5d41d37f1babbf18b88af3da685f5f3dc307d3b3548ff7b4f3
1970c92ff148cda45ee3156d4f38e07328a71eeba559209a7d535b26f0d921c0
1b7f958f634de4ca8f2b072eb5647fa4dd6fac05618a5a26b0c8a5eff41b8b46
d72a3bbee2ce98f81679575ac7d63c6d5dd86bf2cc7aebea0566622688cb79cc
eecf1a00986b0966bd01d3b53892a7bf001fbf9f95a100b466a499f46c2b3242
4a9d78d27c9eba1195d841d3ea2dc67846bce94f85fe7a8d55a22e5b43e282ad
da0b5811b7f6a7f3360ae493564169ebc275337e171f0abc1c5b7b47003740f7
7c7de0cf70fbb20e913213099263f799536cf07dcd0d717384531f9fb8c36d4d
746add73c5db8fbe0656cf073f3ad04d3a3efcff10befeec588308a690a13b33
5c922f72e9511dee40b011192edff88a94368744b817610e7aa1e5194f6d4996
78523a58b8ca116cec5c059dc953ab54e46147007f3c79a6dd957c785af5250a
7bffc0b32f3fbc6ab334accc036e4ccee2ba9944adbce57e0053d1417ba39c0e
a386f3f8039d0cd0d74eba4059ca35f11d807ebe0174a9110bd68f287ec5ae8d
cad2e8d9b59c92a66869050380fea2870971da0e210c3c2cd56bf7447f470bb1
f31c2cba4484c64db0329ea66211e4bc672efb92e30f1924d878a884697bcec7
97d30c8fdbbbc89d35661a3ee60f59a83f20e5e5a3d82bd3b0c5a1d91ce38266
84ad18e69645d9f6e3382aa36b87a3b347105308efe5a3cd03e88ea6972ab347
1a4bb347a5444789632b73e949c2ec4fa9ebae91f69c8b170a902629629dc046
8db1ee295abc9f9e313741181c8c714ab2d2413e3ba9d6af7c10acd4355df6aa
9dacf4a53ac7881e0ebd0342e5fbfb2e67613eb18a69fd5df91caca5fb1081b1
06251c198118afab13cbe507c9e45368c0990df51ffe16b06afde97b643263db
03a66cbd305a5d90352c8894fed476afad45d8942dce9b77a4c29c728a4cb64d
7f0ba4aa452f3c822b141d2e997c2e7f535982bf534c2451a2e9cb0c22097d5e
8640c69e95fe88f2e986b6274964aa4dadf3880e22367ec9d1b4124aee6a8545"