void-packages/srcpkgs/thunderbird-i18n/template
2017-01-26 12:47:45 +01:00

160 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=45.7.0
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="
b9263717ac4686ef68f7c3cdfe652d173c8329077930c0a670b56e9368e89bff
4a395aed8422aa08d5e40c4952caff7177d86620155fcdba1e106e5f1f3f4523
d4cd4ae47f3c6afceaf76bb12c0a4ef7d314a0e076a4b49a3f2d3bd33dffa75d
abbf03b19347a3b32f3681916a4afc2f0999dbe854db1dfc1cddc1f48820b416
9ea8469452eea2e82581f7b4717a62d4df2215b9958d804439d1b7ebb987d383
dcc75714a9bcbc51f5b2fb2b435e003a04dbea79bafdb0579604aaab4a740039
42a261afbf1689946c9f73363d76175ed1a91cadc74d831a7b7d0fbbec1a9304
5165474d10d3256ef6b96f155f84b48874d40add53735f014e48270026e9459e
306a2c570e569bda011cbe51160427a3961d25be54bf556f5ef80e2f178fb729
8c42b39a9a54150de2a9369f96fe2274639d241066884ced7905ef7503af93e9
f6cd5e35c8d2e784a31ba44555604f189fee8fbf021dabff798e4fbc54d75edd
e47b87c1972ef1c62f53dd89c3497eb32b9302fbf5b48bd30e00a60b9639d3b3
84297804182556c321d68ea94482b9fd073a501d69e1ab55f6a654258298c72f
656315fb08642fb179b41400240028b309d00bd7fe906e22055b9f8ee04d0e25
c003bd64715107b91a6f294bdcfd8e720fe063c6cfe2a3f287b45a44537e8a6f
edc2c111b004cb455c2cf47602b7c704228bf427d0a61953db12bf3e3aa62711
86b722f645b3f313b27d6be48f34ce08f8d842ad6659e65b7ee3226df1edfbe1
58eb2a99a5d595a4ea8ef210e711347319cfa22fa23097c665108965e51b6de4
cb19192b7854ca50368d4b7a4458a7347bafac3a849c95e402bf9f3a6d9e861d
c8d796826c7b06ecf43856385a7e2b238868a5a7f906deb4dcd2f1ef4510cc35
15e263f5dfca076f48009e80b3c153a940ed9e85a6fcadcc4f2ff511eac6db3d
06e3a9e4d1cc75261e0d9d0f3126184a6c820feed16c30a5349de91b62ebb65f
8e47e3ebfe6f3afbbd5e2024c48955c0bb065f1652f58f37ec47d7647e42e80c
ca8c01b8367cc9eb767e6a9a6fb15adeffc7ddcb9eae46e84d7ec2cbb25accaf
bf42b065afd7a1db7601b43a391329b1530003c85be4c51246498f75b7b7d198
6b99205685fd0cba011c391fa277869cd8d2bf457a5bb42e0f9cfd38b873a7a2
6af2b5523ac3d81b0a25df5d4e63c18183c600446d469311b52624f6f79d7707
7a7d5249e894c4286663cc91d01ebd30e2dbb5ed1f7b89c355be90f0882c2209
613a5325d0e3d282eff165afaac195fdf7d064dd5ce846fe7533d657daf5dcd0
a3056c671b17511f048bb85b667622d4a9d682486f3ad378e58a61bf93de7119
ccfbcffd2976286ae28b628a1c4b49712b30b5a6cf915bdcaff423db6963ed6c
a48dd7ac45e703d9f42cb59e72896cdc31fa56aae6820a26cd0575c0e3a534a3
91526439b690ef64cfdbab9a13e0ca905715ad4575e769f73eb9cc19f5b7c214
7309971af660f165d8e79130d242def0009b8424d4fff56e6ef5e88c296c14c6
d396f5155005ad84b49540f428a9c4580960c1faf3ef05ec5150d205cead2385
7175c9ecd7736ba5ee8a0ca2910936f6893f983921f65423c8384ad033bddf0f
8a9ee2d56cb15f7c13828044d4babcd27b1439bd122eb4b0545312c3deb58393
decc60938154a8360da5c2325879ef0c186a862d01f163fca606225484d94d5e
202983f146cb7a11897aa9ddbca6e7207921e4cc20a8164bf1393b091ab6dcf1
a14daad30f9b68eb5785cfc0737d525b7b881b048043640ea1ef4e9297e5f745
f99d837041bcd06c6e121c20b54ae77e02b3714d8d963343de3c8f50f77730d2
0482cdd42540ca08e8d2d4ac74ec9a45120d8131a86a352984ace76dc907df23
65eb124fa4592ccfa82e96d94390e4e34fefb6abb7baf2d854bc60d545ad2e3a
3c7b6ef80373ea7c80e79732082a6c219a86aa7849827439b6c105f783e17cb5
0b937c7fff5d59b0196cd57ed434471087f4ca8978650d36898f152ddbbb2956
a10fd70759115282b2af3a593442a07b5d47ead25d3485cb7972a7cc1c7d3137
edf2437535a399a15a9dd4dd16983b0bf783a3c24ace58a5e844824d8b6fa93e
8a7c8455d2279563fc8e4cc11481be5b9de283ceab732a24746344baa144322f
458746ae7514b9dea4aa9f6aeb3e306e7f0b41225d52d088bfda5d15a8df17df
1a125ccd06b46d919a4a54833243525cdbd245bf7ef80bbd631ba8fe09d1a78a
70cae2574d8e097774bf6c13b1fb8cff0c1ea00115483850706bf3b552fc49b5
efaf60942170e5ccd1d385c1278638bd8aa91bbc1777e666dcb8cc61798acb73
51e0ace99198782eed52fb95d44c9d9da62215a7cc1f5e15a46984981e3ffecc
1225d71bf5fd6f2fbe0166a4189d70594278179ee8a949e74933b01fe4f11b8c
ac0f1cfebd0990e7b9ffd6f0288b92d5909401121997b6e1c173c34890487ab9
defc6f3d6f77ba8b46e41c3d9c49d42e738c401446f585f55a8ca102116d7f76
735f0ad45ac48af7db435be430704b0d108dd7576c488c50e1ef015e2dd39fe2
f4e9316987462c9367235d75f2d7a765068aa1080bb87fdc62988316b859585a"