160 lines
5.9 KiB
Bash
160 lines
5.9 KiB
Bash
# Template file for 'thunderbird-i18n'
|
|
pkgname=thunderbird-i18n
|
|
version=52.0.1
|
|
revision=1
|
|
build_style=meta
|
|
homepage="https://www.mozilla.org/thunderbird/"
|
|
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="0fc0782a81939ae8d3e618162516081a6a91143701932b221dc7a5de20fabdcf
|
|
af64b2e231212b45ee9369ce1fcf7c37392edc354e3c81f12279db6a097b868a
|
|
33a9cdcd1fcd7837636d238a567acfaf1fd9dddae28621ba779ada3309a42f1e
|
|
ed32ed033b6253ef78f02b2d31d41a7cd12a14c65258da47c347088348c64e7a
|
|
6fdd4c7324f08e75c59375097c4c1ebdfa797b38df36968ae14719d5f7b9d452
|
|
100003de0c8970a3a180fd0cae2a4520dc5751472a8ee3eb1d5a416231662606
|
|
0b9bf170b8f13eeb91c28c4279b611664cf8ba0594586e43900208a4d4fd138c
|
|
93b473a55ed4c282d8e7d66118be7fe0d0c998c3f0661661d6f59549bcd27ae7
|
|
70c5a3c15f40b616c395ef407078d3818a8dd0358afdebace7ab1a695c983b47
|
|
861bbddb9d16ccfc9b425bc85b0170779c09c4f3b39dfaa3ff1f4b102e117617
|
|
1fbf7af9b42d1a5952ee1d6c3138dae59e544f5a58d8e5e73788479b2267120d
|
|
b1800554c2a5ae1dd42f91cc8f9c8f20dc5f49fe2f705fc3ff7754a60f99cf4c
|
|
44cb14189af91e19aa2b087c8cba2d01b460f4498a943642331d67fea3edf2f8
|
|
fb3b293483bc456db764bf1ca66dc98e98998ce88e9d508a49e1c2be48fe7a82
|
|
dc47e69dbeb11a358acb88b5a6ad07959f1de64b96d9eb67e3ea8eb09a64d814
|
|
5a444089d0b6c9ba99a4aff9273522781e51a4455a67c645f98d076ea8f92887
|
|
0437548fec6a907618cfce5ffa7654b05942bb345fce6d280e16ed909087f646
|
|
88faa4f5d910d765e7e3758e990b7accf5432971efa2b4eb26d221b6d7ba49b3
|
|
9d93f4974044daf38c301048e57045d868fe5054b6ba157b1fbb2e281884d408
|
|
4100732602e478285143b34732397a674806f26a597d202b492a624bac706f4d
|
|
b2779f8257aaff4d3e889c8380000d23b4b60b5a2c570d694867d07bd00aba63
|
|
93719ced46467b9b13bbb4a9ec13e1e82124c084bb0e6dde717eaa6d36346417
|
|
dfbc5a27fca6f189bcf7bbe6a459c31f3f24617c06163d5f03f03c250e98dedb
|
|
5109b924de2f1e2a2841933d45ef44db3fda5a4c9f081ca123f64c6e0fdac56f
|
|
d09b3271dad710ea6fb596ed0c26c94a3760c6e1f3f64a76e8368cc4e7c0aa19
|
|
29e1734fb60fe54427a86c5442d33edb2be55495d9919a537e5cbacb02a7b40a
|
|
765894566e687401ba237469db261af64d10c0db4ddf35bb6a9ff7d8a89050f1
|
|
e2fca54bd25160d7799c8187fab1bf768fce838b0f6abaf4e91e09fcb040a3d8
|
|
634366ce43ffda750daa2416fb34962e9201f6e826913574ea59c4a01b63db74
|
|
dfa2cfaed3fa783b6155c1763c242bf7f6150ead0ffc9b81597aad0e2915fc17
|
|
acc56d41abdc522da128fc9cc4dcdbc42b20105f44229156042647bd34822eaf
|
|
dea3b6dcc9d930d5a1346308bfb2f6c55afa5f79790bc4b9908af783a0b4ab96
|
|
bb462ca0274a700163a056197ac74bfccfd8249a7af51955a761f48c1e8cfece
|
|
1b3a4cb82f30fb2c459c9b82d957c9157aad7c7b5fb3eb4d7aa0c4f1dd1327ee
|
|
3a956209a9f03bcb6bb4553831de3701e6d7585829d0b400de9616825dbbe5a0
|
|
e6dd8ec6b6b45ca32b6bc6e5dcd9af3c8d06488f017c319e5d210e8242417e96
|
|
5d3b07b37964e570f659e6a7e8877a14cb0f31fbc78d9c1a256a25f37f141dd3
|
|
7f652d11c06765829e54b2947efbeab2a28520a7055bff8416ee3b4de2f2d2f4
|
|
183f7f54505e9758a7006fd05d7c5746052df32fba2f9a64e1dc6b73ab85f87d
|
|
b5591cad7182b16cac8c6edee2140db6b7b6763ab1c3bb19bdd101900e1a88b2
|
|
34561c89cf01794b0b9798f7c9b7ff1c91dc69b7413a73aa9a45a40ef3ac8ae6
|
|
17aa3a09efa5280bcffa58589e5d7b233868ceb0d1f9d40c1ae72eed3c904646
|
|
210a70e2231d569189dae2e9faf2440040366b0f7574fba2fd75f29da690edd9
|
|
1f319506286427c5b0f0ca37928216cd0338dd94852f443fbd0fb8c5e9154bd8
|
|
b202828134d3aa0880ac205b24f2b42958d08abd2a9c8d394cd48973a703095a
|
|
ba6076ee387dbac1f911e78d03360a47fcb9e9d7e302dac29b4f91f8660f5e00
|
|
91bdcbf70a8e74921350501bd86d59b39a6936328d25747679b9b292cb2718a8
|
|
3054eae03bcfb3e4d5baa779fb621b5b052792aa25a8b13c7f02ff9eb386161e
|
|
0ed11399cddbfc88eabb9c51609065ed56c6605006acdfa62980f3e46276711e
|
|
3b933be76fc42e6bee8e501f858b33e3a69d324f9fa97b4bd75dc711a2f5a4ec
|
|
4d3fa7e2f4e24760ca14324bd3552d7d2e9d31315ce4296a589c83f537aba920
|
|
c32a477bdda5cad814f446183df2fd2157eb40566e52f7ac329c71318ba09840
|
|
f8dd44dfed27bc2ff3a1d651080ba809ba451eb01b31ff4c5b40af1372fc2e4d
|
|
359365e851c761a405834079e0dbd7e4e8b7c0a05452999fa1a8985e48a258df
|
|
7854d30a8b6f83db5e312ce7a8f1d0f2df1debe8ae10e16e59158769f0e94fbf
|
|
ef981e7ac35ed52ae0bd57f4893aa26679eb802eb28d1e4dcb486b2cd6a1f66e
|
|
5cd323280af4670ab568ff1b16cd8dd8c62bae14a12464b9a10eac96add630d3
|
|
f2509eadb69cac8b0bf1cf387284cbeb0a0e9e57abc73e171319173c0ca10020"
|