154 lines
5.7 KiB
Bash
154 lines
5.7 KiB
Bash
# Template file for 'thunderbird-i18n'
|
|
pkgname=thunderbird-i18n
|
|
version=78.10.1
|
|
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="d692124388ab34eb01ae732cc1fe852bf3289110dedb8358d50dfb0faa7b9023
|
|
c29b7bd535f75b3086cbf3cb44872c7130d1604066144b62c1810e9111521bc5
|
|
3386e2f33ef61446f7f0b25257ebd1dff0f051aedaf8f0b9dca538b01c324f07
|
|
b70e653b46f09087f146559728bf218fef892a91de6ee8c70e67c0f9efa5314d
|
|
5aeb8de22f6f9591f099d81d97ea0603e531743a37539f9d7361fb16f72cb29f
|
|
31dfb2e413dcc171bc6b19cd7a1b5917887d65b55be6437a05b75b6f1eeb60f9
|
|
07caf82fe045e8f8aae6c8d441a702dc8cd647fa224f3d576affc7ce1e06117c
|
|
cb578a0f42ade1c312d96c499de2c49558b21f53c863474c97fafb9cf27a5f93
|
|
5b1054d1e299332a25c28cced29a39a8071a3aa1c0b36673eb94ab3c86014ed0
|
|
c8eb375031c73535e2a5c0c93c779c711af81ecd12f5e36e18e8cf16e109fd24
|
|
2535b151c4719f0b1fc45de60124d3cdb26d1b641fb32df153b64b42983f4ffc
|
|
54f53b113d3b2c1dbb3d62464983fd0dda09098da30cdfebba227b5255f78bd4
|
|
f31de7703cf4fad04ccb8378bd092698acc5806efe62003a223db57e3cc3fbee
|
|
ffc2aa9e5081b74c3db2410a5fc3e823df1eb59ed8f7cc986ef591e27a0c90dd
|
|
08a8d77b1ed238ccdd4593111f86d8db6a1566de9cc6b2edacfb9d25e10f5bfc
|
|
8145a9cd418b6e0ddf74377a3f11aa3e261d91a443a042da5fff2957b1e486b0
|
|
19958c4ff2b8c2ee293d0fcd02f67e7c4125431dd4c0de2fa6aa994fea5a8988
|
|
3f80f66f7817940cef9ee1555a5c34581686fa629876a4eba7df9902ea22c3e2
|
|
04cab8720473bdf007e815a8d86f41e720fa4650ec87d346c90c1f0b262399a0
|
|
37326221fe42e21f2b02975e509ea62f19c228e6218176a9e82454a10fcb4dcf
|
|
69c1eb520b0d4d182f94f151e0c0ad6cdb738521c993bfe723597d76323b9a2b
|
|
88dd1c2e9f12654ca45ff4ed1d3d8f790490bf4472bcd50d39b9f369788be780
|
|
d72e77170975f05f7dc699791df5f52b823720b29f19f9e02cff962b92a2228a
|
|
c9125981c4ee0eeaf97bbb2000000bfdb5c437639a727981bf6ef63646a649fe
|
|
e14c828ebca0d7cedd1c184f690b9c59e390509673427150bf394dab43bbb745
|
|
ddcdad7735e4c2b71bb2fc7a29597483ba47d8c476fb21ac994ac90c76b557f4
|
|
effa3da616c5a941cf2a209f7577d0aefecc50435e8142bbc8f6cb26db421d53
|
|
5f88682859d0442b2965b2dd59fd71f582cdcaa26aa06e523d114ecd0f6d482a
|
|
eeaf14930ad7903db1318d7eb18a91bea0b56a3810ee47888f406c98794facbb
|
|
7d800567f85decd2dd04d1e15d91462516bc5ebff599f86fed4e99d15a086458
|
|
790d6022330454c1770eda331bc3b63316bd8f7e0fdc26ca93ee11de77493fb8
|
|
20ce52130fcee5bd61759c73b82c5f5bcb95cc8e3a986b505e103f5382270497
|
|
1f824de93de8e06674b867a6da853443e24b7452c52f2ed2b87f07ddccfd190f
|
|
92889930bc79405b5eea15fdc33cfc1371c34bb90f46da6b5f64d25c562c9244
|
|
37000a4fec5a552b2761dd3c0b219f48804d1eff7e88d279873a978ac794b61c
|
|
0b7282c3c21c498a4a440a2cb8a7638a53322372109ec7d603595011b9f8c8e4
|
|
e7278d6e5756ce66fa2e531ddc49bc962f8ca1f0996f715c0ad8cdcd2fa2060e
|
|
d5f423929b62c2a44761e3ff7037624f6358115eb44578163322d5262729e249
|
|
d05c8168ebdb71598bb4dd23093d9e0ad1978ea878017c24aa8b2b93dd678795
|
|
c28bcbc4b8656208ed14195f6f19fe0d2dabe7eaaf5c04313cbc4d3dd0c9f5e8
|
|
3259c8208fb6763d687c115c108abc382cef12cbc0126a5faa63cb4e2899234d
|
|
b4158aa7141b57b97cedaceb4b6ad24313a399a4d0401ff061176c7d99245a1d
|
|
31d206b605497979e5b037d59dc367156c75acb7e1bcec535af335a8ac5437c1
|
|
78d1b28ef2d9e15c9c1257ed90a37134475d4b3b6ec2fd83a85f66b2b1232ff7
|
|
e98d8da568b85250b940a030b41def6766e9772cd0d1f6f9a5be529d887fa48d
|
|
e9930b57a59fbc43fd48eb704bed6e763f3f3b80d7a93499647dc8561c42eedb
|
|
ab669cb904d856eff63173abd3793dd479ea1c688fa4dd50d59779f5f61b480c
|
|
7dad8be277cb97f0d1cb55f0ad72971081cd945fdc191ab9cfc12dcac2225974
|
|
6d8179cbbf4ae88d8f47d4044546961a233992e259121d0e4678e1fee0869331
|
|
1b16dc9df6909249f5c287a3379e052a878d582365e16afcbac705b46480309e
|
|
c357cd3e0dcf157dd02949449f4ab296705abb5d848dd33f3d3227e243b939e5
|
|
a1bb3e509b164311876ab206fee2348480f219828254125f02dd4096e87ee90c
|
|
983deafa76012622940cf753c2415b73f6c9347f346f28792ce1ce175d2b0993
|
|
cf234a7eb25e4b3397ed366de21e0e1fbbd2d4417071ed3c752d51fe8b6565c3
|
|
d34eaf36f2fb4cafd6c0d752f68515e8d9c4dc429f204d7a8d72be5924b3fc4d"
|