153 lines
5.7 KiB
Bash
153 lines
5.7 KiB
Bash
# Template file for 'thunderbird-i18n'
|
|
pkgname=thunderbird-i18n
|
|
version=68.2.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="f2c860b9b51e82cca88dceee0e1984304857ea1b02f33aeac81d48fe2b64b5f7
|
|
eb53683d0282046fef5b51b6bc6bdf7a81b7f7cf08780ca1201d5c955df9bdc4
|
|
54b8e3363049901f30f6e1eae5ea91b412a534ad2307d5593c18a104af52ec65
|
|
4fdbaa5a55531ce7c14f9f3a70b9c0dbdb5899e69828b0f52167250907337cbe
|
|
b87437d737c08da85f99fcd5c275146b5c117d610abb3f9cd2165097e7796270
|
|
72970568502fd3705cad564352d379b106fe200b6210e4b9fba316380640b594
|
|
801b58ff79418dc631dd90adec449ec6d4d2ade8389bdb5061aaaba67b2c1252
|
|
1b6a4c5caba5c045d8a39eeaac8b283d10f61d90ac430c22550d6df925057902
|
|
35b8be32e45ccb273b230784b9770c33a275809c3a2486cfbf3f4dff1e47be7f
|
|
96962299531f96187ad8f19beaaccb269d400866b6e1bd68d4be49b003c0573e
|
|
1cb85cbfcc5cfc60d02a933ffc8965e22d72dbf1bd753a4dd579c73750ccb089
|
|
5d5f1d648d506c2949608b61a4e0ceabb147ee67ec044d4fa0928342fcb72b07
|
|
e8e6f13c63519b936b0c9dab601113927d088e355f56dc1ecee8a67672479868
|
|
801db299ee23e072b67f9a32f31ef9698b00c6606383bbe68f8bd80b5c1a4a17
|
|
fb45e8564dd3dec63ec4f40130cf3f17c93d8984763eb3f597004e2ca285afc1
|
|
52863f6d1084e949ca7dc049ed0262ec30a727b44ad0c1013befa455e6f62aef
|
|
07e0aae3b9b03690e3043d1c7b934fa94f54448faec27a501e2be5c7a61b45fa
|
|
cb307807a3a8c7e547699686e10b7241732f2e2f0e2b4444f52571160d2416f5
|
|
4e0fc89aee578d1a185616dae1724ba4420b427fd808543272f832fd2093dd0d
|
|
70cf205d1d8608dfda4c06d41e4987b826c5f78b4f322653c1f5f89f8938fdf3
|
|
df30d4c30c8c24c77d7a460b39e270229688f1d8a0934403a477eddccea586bd
|
|
42cf6779a821385b86bf98dd92449acf50ec65c9d30a3f1b2b8c7595940cc219
|
|
17765fb2372e49a358357f8f929400941eedcef8b9e1fbafece691abaa1baeb9
|
|
602e82a93d8f9693ec673bce62669307842a76016ba606b7f889f918017edb4a
|
|
c1c0c7a406705abaaeeac4ce4067491834e129d176b882fb81be9ac81e4cfed9
|
|
a757fae72b5d74f26fdd93d7f2127063114577a531bf1abc30ff551b21516d07
|
|
76f993d26daf1ab78c9e400534fdd4d43a872072d1a996128379564ccbc05565
|
|
ca373702339a4ce6332ea9b3243db9e22ac3b3ba9b8c07e08fc74434bbd166ae
|
|
eb252d72c459e022e71814bfe9f9791a18c05b7af9c0ae38b88278bbd3208ab3
|
|
2fceb4ab866ae333fd51af915026ca757b05244a6dfd7ec963aed034c4ebfdee
|
|
64f3d439156e4548bf7b25554c136f252c354e0ff0aee9e0120fcde4dacad72c
|
|
768f466c9051680756cdf565b0e38d78e53b461bc6dcda87688dfee25f59ed95
|
|
517dc49487b53c0109290028d8d5b4d4d28fa26d8fa5b560cfc543e63ef4e790
|
|
308ef1e8843ee417264bf1609e36b499f1d2dc492e895a517f954baa08369215
|
|
3372b9610098a6d078fd12ff120ad6a42bb2f9b4cee2c293b65a4e30a61424c7
|
|
569cf516af31f4ba758b1c642fd8a1542865402401bc100037b67794685c44de
|
|
9b34e10decb358986b8feb25c744bcb93bb63f161a9ba57ed96b8f59aceedc48
|
|
a8dc7f2f116f854def26c8500932ad562a03f07d989920beb708955438098fb1
|
|
b40a7ba2a6e4ae7b384ec0def499491f36b9aec8ea447b0ca8f4803c26101b62
|
|
c4e7529061d566a6459db393c631611082a313927496f6ae2e2c0ad9c8446b29
|
|
1ee3d88235e82b79a7f0faae5bd3075897d5ba6e3637b24dd40dedc6a4f2af9e
|
|
8840239f8fed40914ef13528af1a065165fcbde742833874cfcf809efc49ee69
|
|
35eb2e687bdda87a4fc68fbfb2912c946b14df96bff8e2be91317f8a516b74e3
|
|
8cbb8d3f110b51ca6df33b0325ad55eb3a51ba776dee1b9fd05e686bd59bd69a
|
|
7b98bbe91c7cda9f303f763ccf8ea1ccf5dad609cbac3c1c05881de90d04f79a
|
|
12edadbfc1bd07077f831e69292193f71d544d75a76920ec8f3eb90962e67fd1
|
|
e115c5945c792663c4ed763b8d96839e2f04e00529bc515e96db5be13556b4b8
|
|
ccc0339e0dc7a632fcd177ed3c72282deaea9eb054006109fd8947b52d4eace0
|
|
259760d020ec23dd3f2378f5321bf3e24fbf52dc512f28f758b0b496df235f13
|
|
7094c71cc361fa475a049ea6389ce7bae2e0cfdb6462cc5c80747e5b966c60cd
|
|
39b47b02af5e8425aad3387b51e5607a0da9f656923af5b607ec3eb20cb957dd
|
|
106789a376cf45138bdc0df05003110dc1d6527a6e3dea03e8e1de3b09f08505
|
|
15df8263a1f1185137a9214ddba2a82ad302205dfac3303e9e32d9f9ce9aaba5
|
|
a358a64a4a2ed11fb49946a33bd8d331a438a815301a7a79368b10f063d3574e
|
|
06a1e9f74f6bf3b807e8726138890bf1664886c8e2abe2f5b303e068141f7f4c"
|