void-packages/srcpkgs/thunderbird-i18n/template
2019-02-03 22:17:24 +01:00

153 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=60.5.0
revision=1
build_style=meta
homepage="https://www.thunderbird.net/"
short_desc="Thunderbird language packs"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ar "Arabic"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'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)"'
'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"'
'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="396a13fc6535a68fb1c0f754243b220f6bcfec2a186a5567b9369147ff3975d0
7563dbb731f7ea8f9a13dbec1f3a295fc89839fe484b6a2fda57be6eec5e2ce2
a098bc35e3703e422ed548883216d534b8aef0ef47a446aa2acd6955b0fdac29
647d26bf395c3f885617f1a970ea67e1436ae266d0d9c8b089490e1e12afb1ac
75c2b8578e5cc30035b9f6faad4feab1c43d83a1ed95ec45c9f4d8ab0bfd0c4b
d9e87182418d6c89ba332a4e78078f81e9aac14fe0abce255b673122c0735f71
1dc5fd93a43b997adb28fc7ac24ba1a25e040d02ebd7a7978f8d6bce318f22e0
6039174a0c761416ef49f0face6f88b4d79a49fa56c4bb473bb5cee750a3e208
4d515134ef90ff95523ff687088bebcacec23ed8fbe4f6d616b68ae0710f249a
1664dd8842851d29647dbb1fcfa4ecafb9501b5ab358302bcbacb77cab634559
e0f34880b25f7d1e361dc8b502405918a51d402d0c14370f863259d5609bd6d5
510d046f3bb350a7d5847834d37fa3895209df1d2bf609dd826af594404e2e53
e8fa1a81c509b42e630a0d51eef58b0f027b6a9a6b648cfabb407cd4e1ef5d15
073845ef3ec574fd1cd7d83faa348dbff43b6ea26ab2c7b92261ca7bcb5af303
f31f9ddd6f2bd7f14b7ba660dca44a44d1ce63f6b696fcf3402de508a44fdf84
f328d5a6e0e3c155da02acb7f22264941f85991b587c8c73554eba4bc0ec6658
68329563dc48cc899007d846d1d1c78bc4690d54955e2e377ac204284aa3a4fc
96c124681a083f7d44a1a27fe8cabd287b73152a0aba324ecc89c099f07ebe2b
2fbc3ebbeda7770dad1031056dd8568decc68e92041043c2fa537580d68be3b6
8b7e334e832ca60dc5f5972df0e070a0bc64aa3d21f9f4fd4a0a4fb09eab68a7
d4e058e7449baaa68a87f6147081ab849134e3c487c5a46ebe874ee769f380f5
565c05ad8e1841c06571e9877d7e1dbdd0d3b2dcb7caecdd525cb24684e1ee7c
6526a9b5e70600234a5bce76548fc8aa30bfabb4bab081991a0ec28f375e11ef
bc3ae2e961b058a37e5977ec23d1a3636c1547f424b913680b01b312e31c2eb8
fb735a51a263d7c12624b106b4b11afe55b4192b6c3752cd5a3de10f0ea4589b
46ab5cd64c814a6f8f930539e7757ec6d859c652c121be09f7d0984e15feb945
58dfbff6977c8c0144c4bf9a40d60915b248620c391c9a814ad53825ced57daf
bb5ded142be6f62c0aeac040d7720fd12558ae5b2cf1c62cfb4de10a507cd97a
0cae5f9e6e9ba0317a508335bfe430ae1efc4ec259c8c535373a6b1004801ab6
f0b0710ba277f373bdfff2c161ca97300fc773c400f0505430ba9a2163a511e5
40781ed3bbf9af0bbff1c2a144c101505192480e49f599d69af19aadc9cbee38
22803ad551daed6a6101b2c856a79386240a4fceeb4160e83dcde0c0e2944d06
3bb74a119f76062428ba889723e6e878dabed760757a90bb247ec19d1ce58e0e
bd8c8e5000ffd97577a74f3866489bc941e02d4a98b8543233821b334b215191
5d51778174d5043fb79d2339afa3952934bddd1c29020a1256e6e14e0b8ad9af
1c8bb1cedbfd2a297f11947b1b99bef28690e26d33be826a55e04efa3c3f4611
830b93c1afad284e406f12df76f5fe5fb011fdafbd4ce9f10e44284a5a4a1fc5
a33c9e8b7dcffeb1702b12c25c6a719096d65d69dc85877c066a35babb4b2824
1a5b60e65adfb3f4024d25165e3e864ffb210166e61dff47bb9abdbea2b99dcb
8fbbb1022f49ca9fce1aa1481afff4ed377d1281e9da3d3a3f51faf42b4ab0b0
b7f8f9e440778e3a19929ce6f04c98af905767b888a87380a108b28f8455426f
b8de1432cb2440d07ed0624367dca3629f0494dd6a5f3052c7f7e5b6df715c54
03e25d7e493d13f156e75885dd5adc4686202d01976750c433169f3ba2bbdf62
2b4398c00a09d7a1a306933d25fced39bbc73b1455ff816f7a288aae70b8bcc5
bd82a180d5f2081505a3ff8c09de9936511d1d616e9947c913c5d45ae0105ca4
26901d561b82c040e733fe061829c9d688b4869cf4ff5dcda3d84b3e1178a0a5
202dfacbe227291e69e81ff96540aac1e3444209d62b083c172fc23c72d54ee2
82fc6083998e6362b0bfc8e263edad82346463a226eddc6b04bcf7fb380b6788
dc931da27dda3502cd22abf0837afaecda15160476758e5e2aa194d517bb463f
f1be900c89ec7b88b7b3511360729b0b237d01f10d26aaad2857a8f9d295bc9b
c1a1b0135c22ab60c2a6542fb1571413e9d78d5a70a4efa57e798b6998381971
a3e95424e17a6b370c510aba63ee49521beddb7b843971e540b2ae7e7785747f
24367d6109f0e0a996e3623e15aaa75a84a8373b7a025edf7e84e8f56421b315
ccb35f028c1741133ba6449858fd543fc9fad93d17c1887df55dd5e751f2799f
08ce589a9ee4e41ab1d23338dcc9758b6eb866cfdf27cee44e6cfa7fbc460c59"