void-packages/srcpkgs/thunderbird-i18n/template
2016-06-04 09:42:01 +02:00

160 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=45.1.1
revision=1
build_style=meta
homepage="http://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="
c535c621cd989d46942058f14c90ec3d9c9236c45c4dde52af8be4614ddd7140
9e2f93f4851ce6fb7a180738823b8286f107e1380b1ec8f884fdc3758174c05b
25ca69a539f92f53eb0b7fff142989bf6dbaa7231e28d43ff9f5c12c46450d0a
13ed61e0d9d6dccd8fdecf432dc6deec87d554239676fe7c96767b58aa8dcc49
65530a9adc3f442c9fa5032bd9e5e9d74f984397a227c34e36a07f888b69aa60
6b3c787ebc50c41eed5410f22402da6e7415c72dcc67c4a655e1931572a3e5a6
059a4d68d8319b6b66e6946a6b4add2ffb8b13a689c1cace70a5bcff56b49731
76c4f7643a72b3a57ec123beba2aee25de553d71a700f3c739090ea580554b3d
677eb544ddfd42a223d5f4858635ad00c6c2e2651f9820f737f8f0454cb5af5a
899e09b81ccbc88cc441e24c4a8d511ffd18d56fd247bd9164c15900b22e32be
971d977956cf3e3a0ec9ff8d5f862abf4ea8829411c10c894750c232b35d5739
29b8599995c0b00fff4d86f4e60196838efff0010c757b08d6ef79515d0c577d
5adb9671a58c732de677242f7bebefb8203bd00568f99a78ab3f1e09b80962f5
b0afd91d607111545d251b9b51894bb25276e3aef11624a35b6c67b6947ad1b6
44f2ce58c56d39216ff6167bdeb39747eed2396bf6e1a28bf80c0beda391a0a7
09e3d97c0dbd7ea39f5fca8fd372ecd43b5075a86ca3f5afaa80af6fb7fe6669
1a277653c49a1a5ad7f859dc70ac9959ab026b9f5dcbef28081a901b876a67ec
bd3a19cf288f41d1b867ffa757bc5b2f8dfc300406958669981d61b74af4d3ef
85ddf6c308c847e3102e813feb87c3ca2b585401ab9e17ef523b43d0c866097a
bdef4f4923042b7ac90e4e908965a56f75813d92cc0c6b678e492e8a2369f21a
9f0b1ccec04d4f5178e4ba76ddef4f130b9346e18e59b73f9183a717c11dd132
ccca231508908ae9125a00b737a45d71e40006ba8bf9b3ca168553f15eb3d367
ccc8cd8d80aae1cfc58e63b8a9ee66bfb6247fa6d79859f5d3f6ed15333aaf45
f9b89e925ce69bccf7284872f47fd010d26efc5ad9aa97c7c454b2d54462eb17
8c896fa15d69ac8f829391b47051d596420fd2175058c6e0852d66af932d30c1
f8a78f0483a070fe619d9e0a918d736664edfdb56fdfa9db71c0a990c0c5b631
dcab60dcadc2cac63cd854868bd7c731af592b5da292a335a3a98393f1e6eb4b
ecc2e8fc7a6068555465aa3f7d7db4fb468fc13197e331e78055659af062988b
69f71f459a486c4e8030025b3507fc2e3bacf77023b68d65a4ecf61a2994b7e9
8215b28e46869204378b961eae14b3261247798573ef788d7e2befdb4efff419
5395263dd7af3767df9f930a202aadce4687373e7e152dd1843111fcf2bce52d
92dd8e5c854c8572d267efb8392c182ecf3488203da4dd2f85c33db9a93b07e3
98ef0facbb0a51b620c9846bf84d159cd1f66a3443465ccf4e63a8662b83dc4b
4f3fb68bc679a263d09287fd33d7348392eeb1340046bf907edbed3df7aaf64f
88a22ca155e94151e835dd86f7bf13db8b38309210339344eb1e17785b6f1143
21908a4d42b989c1949cfa5fe81a4a72f661c24b0e049489305e7ac0149d995a
191ec40d25a7714b34000075d18b20c215e2fdec4cf747b0dfc4e923a3ddc732
5fb155e70095f2104c912e0773df1d0fc4a87515672b9a4b5f15377950e01bdd
9384271d6c39b69e31f74dcf96327a26469c915163b9e187a4b3996700ab75c4
2cf05a30f1a240e47ce6996f9f879d3046fabfc39a18ca5d42dc19fae35fb86f
c06c0421f53003cb38d7a1b293944ecbc0bcc4b70349ed09dec3f01ef5e100cf
737136c3a556ff64dd162a5adf423856de8beacec2075b566c86538e6dc611be
f2aa87ab0f584f4c8e358ba4043f16a4021f6d5f236050fa27002b0663d78b60
cffdbb8f425afa026e667f1cbacff05cba999b452dd002f66cd9470e2be002fa
8107706cfc2eb68b1663c62b6e02bce98a3bbb72688133502bc8b44b93251a94
90a897492fda811c989b6ac6720f7c7a36153d452b7c4299be1837305bb7421c
8a8308b82e663addc40bd0235afc4d2d480e3aa296c49b8083627d5eed822df2
3e3b26829625652ec2a1c43580a0b7b0b94cc0603cb8c21758306ba2cb857c14
b0a150bfae8660dcef15e0e5c90795b61a1c78c4f65f9c3054755ba949c8b2b9
51cc95ca790168f32697f7248c502e4e88a4229846e044892503cafa80a44750
5d1a3c814f31aadb8782f7e0c540f5b8fe84fe984b772b16fb592469feab02f6
3e99ca9ad562f247b8d80fae10867bf5ed7605ded5e877a91592af9c6f28f128
f82cc68c2a2f5a0869c78d96f12ead30f77ebb6a984a0058445d75d38c4f5376
324a8a9fee18a407824387e5544d9de1d46d467143ee45100576b1499f034da5
0d5c01967f6a5a7c42051ce2fdf5f22ae25056e4e55ef1519c77a961694dae5c
4219170416d1c3cf5bcb3e78fde7747e3bbbf44bb8dca3d9d826c93782a36ff2
b75726022d753a4fb55df7a47b83a36227b88382b2a91775252b7e909b34f979
fcbb98c5bb083bcb036bca8651e3edb00a1efff9b5aebc69a5f02492ab09719a"