void-packages/srcpkgs/thunderbird-i18n/template

166 lines
6.0 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=38.3.0
revision=1
homepage="http://www.mozilla.org/thunderbird/"
short_desc="Thunderbird language packs"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.1"
noarch=yes
create_wrksrc=yes
do_extract() {
:
}
do_install() {
:
}
_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"
noarch=yes
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@thunderbird.mozilla.org.xpi
}
}
checksum="e3d72a91f7e644bd3d3bb31522f5d9a12bf14316cd95ada0dee700ddd765db38
c78b3457825cd7e20094f2f162e1d2a9afb371fe7f7a53c8a2c948121d22c381
4a4219218cf0ddf3b46da27124ba13e7b8e1ddcf2a0698f16e114ab572948a4a
d3a259e1c1be845c471e7678755b8e33ac0f896231a406a3a50e92f5a17bc2ee
b56ae358e7b69096d914a0dab48eaa1c3d9b1a78aeeccb9e45fd0f5dbf361294
62aa01dc67b2dbab4a3966fc77c9e6e146caeabbcb9aa818d90a6e920f750ac3
cf16841892fed72ed9c590d78e6bb93e7c4057f8070821b0a927fbd767ae6b9b
4f0cec48206a84694e97e64776d26fc0eda5baa1b019b596af3ab1fe05a3c788
96b695296966a61760485210adf967cda82f562290492ca4d34a435966925dc8
908fb80a392d1aeb835bbf5e213f6dd62c9c1611b268641a50ff61dba3c4084c
a488ed7de074380ff02db8fc5941375f27579a41e2ee3c63d61f43e18ab88664
47b6b3c044a6a25d2e9c116a9f900f4a2aa2c74ae70fb5045b4175971517daf4
99b9b14ffd11b5a07aa6d89d947a73f378a113574ef53680c1c6992a8406292a
1bf89952a3b876fffda0d94cd291a90a68dbebd55d286de9cf9ea87c7c241420
aff083bcdbe2fe23c314a2725d0b27b02e4b4533f1c6e57b9542d891a915b715
021493ea03343e7563c69ef78dcef55c2cbf32d3024d66b4ac50b3c4588414cf
fe97ee27daa33aae86e51f4f6ea16d703a4cdce713c550c6fef35b72730a4fa9
7bf5963dfe145dae28f9b7f8b62cd97039eb4b165a00f64ba4d4c654b11c40b1
e12806a8e1808e6cdba0db393fb444e17144599bdd3634530b89549dc55281e9
b12b8b0d3ac1d051e33c249add1baecacae6b9e71365f7604d82f2775e725cf1
dca0f3d8019dfdd3ce0489fa77a06d2d5cb39aa08e0ae3d16bb44ab630f75375
efb561b34d258448ca28a0c54c681272436198e9f5bc771994b05b005116422f
b809cb068a54bfdd08016a798623653ab3b045a3df1e259e3ef29db6b16a61cb
66243be7f539ca8dc376ecd5e9cd221b660af2313c0e13fe00c6c6cbbb20d2bf
28870ca3614baddd95288000e7336503ad2e62d31b04c33394066d5d52443e09
c74aae3a9048e60669292095c1c446f3806e73cee14d10cd0aab852c9bf19066
fc6ae694a971c7db823a1809ebdeec91231080e57caa0ff1ff05945a07755c66
3f2ea2b3ff1b662d09b3d4d2d611ffaf2f6dffba7cf6b0599587b61355012141
ebeb2ce1192b5baf8a0a6061cb1dd8e44bd11418a65d2dc118141d1219104407
b36e1bb1b3bd81185a6ff3f330f04e44a3f51278d900971faac8205b73775323
952d1a2a5ba664e5542448d656e37f410d0da60f0d45d88bc128ffff3a193d34
f97a4ad94f84bb1601d9c1b283ac84e33d191e5f6abbcbe1d6790c93c700c261
fe0461ac92410b68f6d2d506dd9ed5e85d3adcf090acfe02f88c9aea977f53db
2aa5e04e9d6a2c10e410e8dcbc51e2d2c093f0d5dc573b3cdc21e37facafb6d6
ed9e84328318cdac30e605a8be9c609bdb44828f4c288cdc4af141669ba33008
cab27cb9348180a19fdf32cdb67e03e2d98af10f39a3a158c495a72fcb9544f3
62d9c3bc2d0a19384a5df220b9b6a190aeb8ee6ce4327839d08ad3a09b0f5b7b
ffd7ba1110afc8096d0c316a5e4fb55b26f9d9f689705f795b00d3c296ceb5d3
48d4095cfdd47fa876c17a13592be4c4b31f57709d770ea8cefa9293e54d8f87
78d139e9894b9ea9913f921d78ee3b8894770c08ad32c8530e32782439a36383
8805fa13167f5fa509f44a31729e39800d8f022224cd86012bb18fc19ac21815
c7e4582522489eb8149db41c4f2c7f7a4d3121f4f5bbcf136e456ece8189d975
639a3b6d32be9dcc8d2f2eb8a2cca1cdbdb444ef00b10b76aa6f8dc9035e5b4e
72be95aae125d50fc9565c8bf40623040e37c5ca511d0f0a38f3924ddf48c845
51a28a8984e070e6ca886238aa834ebd9bf845c536ba44407976db7c8bd0ab04
2e16abf3a7f2c133b8ee8a078834e81f141143cff35306056111830252e435b8
0561d311a4607e9db41d913fdae19dfc4ef9d0135d1b6bbb4bec8ec60617256f
5c937a4cc87299365991743f791d89a7ea11693f93a538659715f3dadb7d5b0d
a5d64faf18f4e05ecc68830ad7623bc378d30ab041d4fa65d9d15970c552a628
f82cbbfed792a36383a8a78bd66b499de837dbbf1c0386a579bb602db31400e8
2fc3d2fda47c02cc3299e42a178b329dd43d3e09cb1b79be85a490deac77302a
0eeb64f903032b8456ec9fe9b1484add7ac45aa76406479f44abdb30b5bce119
2f68f7c0596253b3fa2a3c9d895cde48d8bdc55f006264cae84eaa485ae10f37
be6321c62f3d5dceee8df225810ed42ecc76ec79c35330da62fdb11027eb9e10
3e64a3c28621b7e76b2b705cee2e721fddba762728ab180449873e69ccd9bcc2
d2d03bccd1bf564415e38ef3980b4a7e0a32fe30cada1ea8c15c0f96babca151
8c3455bbe76b167f94f1b1f7c836aafd7f5d11e5fa7cc4071bde0fe77b4bcf49
fd10d148424c21731b877104ac50628c973348f8bc813573130503d08a0e045e"