void-packages/srcpkgs/thunderbird-i18n/template

159 lines
5.6 KiB
Plaintext

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=24.5.0
revision=1
homepage="http://www.mozilla.com/"
short_desc="Thunderbird language packs"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
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"'
'da "Danish"'
'de "German"'
'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"'
'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"'
'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}@firefox.mozilla.org.xpi
}
}
checksum="
61c387758c281431653c0d2a40f9779dea513358129fca8838b7568bfcb2f046
a24e106915b718563a6b59e43d0152c027ac8f851192ca9c26135eaf2d0bf5f4
46f2f6a22fc8eaa40793be47e7f3351297182cc7ddfb8116b00da965d6ef4a20
e36c78b5dc1667c2a66000a94d4858fd315637b2072491abd5678739c3745f88
84b0646dc6ab24c3d366dcb93f30c0e93a53215f2d837acfbfe6757d36cf8b2a
735a7dcf944090ded122ac7fd94ca081599018091b6b948629281b2dd053ea11
b44c121db7370a79569b8309658dcff73df319f19ce446695964a8913dfffa6d
500809375921ab12902f81c0d700c6b66ec2c3bd3a0d03cd58fd94bc59e61040
d9c3e799b534164318262e936b9a5b50016ffea58276d67a6f6cca3c8fad6a83
e03fa8c3a32b66955c7b95ccb0651d555e73f62411ed55aa2a44237dbc27b624
490f21edef433189cbcb0e16acb87ebc6e4047bce5c53ae35073782ac2539ea5
df6884048a7cc4579cf8d01b9846f4a4fada50c35486a5ef753b92c9e6e9eca4
7b6c84303047b2cd7b8def5050978852d5133837f2b805b445da553b7c61ad26
1f89c991a958a89913c4ce7d398d3727505f1c5ea18188691f2503d4fc4808f0
f4793deb6ddbe8be6af31fe809ba2e6b1a85c16c42fc023d9c798b2a48ed1aab
96a8367da63bbb573386ef2301089a676b963e5000a7638dd616cf66f0fefc06
b3617b39f949ad5e2cc06ad96de92eb76240fb5299fc9ef65479365a390ba2f3
3732e9d56156d836dbe69cac9e0d17e2b9e65b3436d54337f01bad07ca79ad86
4f6749e30cd43d41d3ad963e09e891c5455f4afba5d659482c945bf2d3ffa041
5fd8a7748cb741587e6f8f5608edd1b930adfd597d7c41572ef938acabf5527d
5c680e902636dbbdb0850afd8c52016716d2a45bee15661626f8e66dc40d7f3c
49941bbc298c4ca251dc799280236e3f687a75a1650bf47ece9da7a6390f1c76
2498b883e3cd6d7a81c02824afdaede981228dde6f0a9c13217a34e6d6dfa7c1
a5546f26a205db3a0196c5032c8e69314affecd2174f7880f5ae517af73785f9
b225e5428b4ec30eb618fcac0de66557e2f7bfdc88957dc739ec142d7968a3b2
a24e6b47bb40a6b71319b5a4f7638574e3eede2163238da059bf0876cf7ec3fa
a8021d93dc1f3d372ee94d4c7eaacae2f30df06e2bd6cfc37a1ab564c90b6fb4
41222ef78db07a5da8b388485cd3536184caf8eb7264830e410026c279972454
3fdd5a7f5692ba2103bec6037d77bf848f78cb02eb1644d46641e89fe52cae2c
7c9a296019584d63c44ec03dda76200b83f07f50dcbafbe7c3b69af8f894f5cd
624bf5f383fbcaf6eff9164232b72395733ae01a3a1f5e10d4a3e6fda10de1b8
830f3245b7f246e2269a758b7cc9186d7aadbf519ee72fa33b3d2325e285a291
dff8b84bcfbb8c07d76d415b6ef378d6024bd81f0655ca438927572b85f4e37c
2ae8f6c1a61d6f17cfb4f86d5d9926688fb8a403ab64fe1950c89a8997bcdd55
da2532d21fb594927f59979d4c022297b0ee5f0c29cdf2209d7e4f9296931cd9
2a52857fca772239f14207755946dbdd36ba1c0209f8c09f30cfe6cdc94a5892
f817ef8578af107efe45cc2406be7568440c1b4e020c3764afbec774b3b17a4b
13fd347b116e6d5e1c0b168f020270cc179f32b1e056e333cc3a86a8406f901a
57f7c85aa5ff76cd01387ff1752a63e8d2b26749765dd7daf7137de4a06eb6fe
828f0920581519070aa58c366f603d964638a60b2de74ad49fcf9397db169145
b5ad4b75ba5670223b6f16686830f2eed904a764c72a61c88e054d9574518d44
a5a8215d718a6be1c576059168c9913c55d557b26bed500a4e39a888e0f18c4b
53277de17e52ed168368153902b498ea478eed06e00fc9a3f6b880cfbcb48c1f
aca1ede31da89a6ab476aad09696306f61522cdd878c5e1dabd37ba7f5b28713
a64b7290e92579b75a6cf34ba1baed18bb086265c8452c08ddb0228c714b5ed5
ebab16114f3fe94cd15c9993a94693412afa121ce8975afadf54bf06d9a5fbab
5f933fa1e66e16c15d6237099cf65f5f3300ff423d3352f6e5aa3b2d207c7f0a
21ee6b0854e5e0052ef4eacca593c0ff41ea000dd0dc75f1d7b647b34591ad49
55b10f60dea2abc565c69c841988110b989e69e7ce880500f9990af1b7e7437a
25b1be7c836addc60bfa36e6c759dcd2b12c73c468351bc830f125080489dd92
331ed11d6d4b873db63e33db707a205d98eb0f4b6201a75921431b2e7e4e0755
993eb8b5869166b51dab725fea1126445cc132cafadab1b5096f6850f2aaadd3
e587849f5bae5bbb65bc68087fb9bbe672162e5bca69a7e99f0ca7e4559d5354
ace0e695c8112ba1754f16603ee14418303ae053b97f8af0b23272a308c4f066
"