152 lines
5.6 KiB
Bash
152 lines
5.6 KiB
Bash
# Template file for 'thunderbird-i18n'
|
|
pkgname=thunderbird-i18n
|
|
version=91.9.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"'
|
|
'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="0ce1beef54dbedfa0805ac3f5cad1520f60acb09d2a39711fdb33532645e2924
|
|
6922131d1a57c6525a4ce4c495c809ecfe255f45c0b110dcccacf2137036153e
|
|
d039e0e8d4421c98eea04ca69fd48332c107ca3f57deec0b9985d8a3a60df5fa
|
|
16a85769ebba4719732f10fde372c6363731d20ca228bd31d38db1b2dc7fe6e9
|
|
5363483b71670f2dd418519c5e0a7d9abb01057e15c7f5c3893285c478c9b7d5
|
|
7b49e28df13fc28691ab22223da98431f9b14c271a61fc863deda92512504d0f
|
|
acc349d2b4da8aeb7f554fe00efd75161919dde821b4dcb8170d7b74301a5274
|
|
af60b34b9e7b6a04c67c0c105fc9a757409e1d15e8ba5ae59e1b57ec70c2afe1
|
|
99a7150815a0c8adf9eafa21779540ce08198f45a58566a4db149904659395bc
|
|
6f5ac93dd4c69316ca3112db66c1da65a899ad94be13f135e96f4fca4b186a1a
|
|
9adadd236b2095393ee811e0b952d70f034f816036dc90b31ca82cd3be4e2574
|
|
35654dc18ef7363eb6d603f229b8f53c2b0eb506bb4414b42699344887b18477
|
|
e353e6d913c0b23863c3fcc1a91f37fb5cbeece2dcfbe4b45cad8d7673fa58d1
|
|
da884de1c02b92b5421c84ffa9b3e83939add60cb2cb79336e5ba58e8ef74cd3
|
|
cfae324fb7af7475baf1a7202e4da08dcfa422b09acc7fddde411322185ea5ce
|
|
b786362cf397dc5cec3d91ac592da033609c67a6d67a7e21a8133cdf52e9d604
|
|
0e04c656b7a14c3800286d95bd513eec63566e7ba28aefbd7cc55073395cd906
|
|
e334ef8b569eb8eeaf8b95058b87c06c872edcda67cc5c7d3432b2021183469c
|
|
001ae51d73e21e546da191b85596f3c33573cf1d81fc6141d329c9e6851e73c7
|
|
972803d21adf67fa61464f6f701a5f254fe223fc2e83e83cc3e2e47ecaa88be4
|
|
c816a554eee3ebbbcde9efd991ca95c99d4402e87184ac13bb390c485048e9bb
|
|
49328cf9998e464730a16dade381fbc8562457083fcdbe6a38814ef934a27d4e
|
|
2039ca0bbaf1992d2709a010139106b09d38c32054402240e2e5cc66e6854598
|
|
744e711200cf8a568ad4200c3c5ce086798495874fb6f6581f1636f0bf8bbbfb
|
|
dc284a451c2bb8df5121edcc1b68c823f5f9210c7a97d162ecc5ab3575df1219
|
|
258b93a4bc5048c96e568f6d2bcd665ec8adfd47d82fd8247dd26bf9c6289f3c
|
|
e3b0cfdb2c428c3f6ba6dd589807245ed6cbfb6fe17cd27348a39e97151d2b40
|
|
e9f5c2338acce514e958d7d9c77ad9428930f7ef9ba39291d7a2efe8045f3bf9
|
|
0ff0260f8a7456cee42b0528b45e3c9821cce159f8c81b057e53da027c6932e3
|
|
aea0bec5ecbf61d6a44acc6c6946ebf002acc80c95c034f913a53d5ce28491c5
|
|
9f4982e6fa9c5deadf0f49116f79a5105ee5e9e623319e0a3f3fda6678a8ead4
|
|
893d5851100e2bfd462529bdb6fe8ab19c42cbebd7e02725d3ea79f9cccc0f16
|
|
c44f697280b29c4961cb0f59dd4692068ba3bd80d56b3724288227bdbd227524
|
|
c04195860e0871d89f7b8c0977d34a676746a8b504a1c871062f635c1000a9cb
|
|
08dc12dc180c59fe76787243c292bd4896193d56940bda3ef6aa723c9fbb855f
|
|
1cb6fdddb41a038f7eefc41af1a06d4da287a7d4ed958298799fdf724883cd19
|
|
ece6218b8603fc7931bf2e3be52235b0448b0b418716c32323b9a118d9260f5c
|
|
9e92c7a11b3e4d37d2377d5601a760f32ac79be0c7d2907a0cbabc340b141564
|
|
dac4ae0c976d806f0a0e325405153e93cb37e31febb45d4fc03a3b8f1578fdbe
|
|
62b63c940f24a826d538305a9d3e108308edaf4421aaff73c02e5fc03fbc2259
|
|
7eb08ab6108b8925229591368a33bb95dc880850860addaa914ea994f1e772c8
|
|
b9b73326aef68b2b547b2654f995fce7e99c085e0c4ebea394ae276b0bc87c14
|
|
d503a590b9e6b38b19574c71a95af806249f5ca7bab5a87256e6694bdcc17e08
|
|
30269418942d78ebc5560ffcb81bcf31d14a0579e356b14699af46af8c19da30
|
|
90113e8574ee41b463904012442bcd759147d6799ce743a9cbcf6860e6ae98b8
|
|
a86cb03c5eb8bc498127c6453a306e46d089cce36b99dabc747e3696d0740463
|
|
f014d4c67692dc424720f0ef23ac1f918a291cb904e31fd809bf4aff6c339c7e
|
|
fb1e4741305ec130ba7b06172ec34a08ca5b24c3e13a2e52249a21e1053482fd
|
|
0d8120993a0430d3dacc71589495d1a9a811a8b17d2dd93cf2dc27e5613e2717
|
|
361835a4ae3117a1c34b782d47001c46d632d46674eb59b8ccfb168ccf53737b
|
|
f9410e78a0f43e4dfb06859aa84b2ddeceb8719552fb9cce41ba43a8f95f1805
|
|
4a1e7534982e55831056f0a59154c674025de11a332dbc083ad2fd66b9ea1e80
|
|
e69994d2b0fd425ba0a73b0971358988ce7a0aa62fdc370a180175c0ff848fb0
|
|
2aedbe39ac0e555d0a27b6d266dc2e575dcb9e5ba057cf05dd6c6be8261571c7"
|