void-packages/srcpkgs/thunderbird-i18n/template
2020-07-03 20:56:52 +02:00

153 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=68.10.0
revision=1
build_style=meta
short_desc="Thunderbird language packs"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.thunderbird.net/"
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="709f70baf3c40898eb756532d30fe1349644c9506246fb165e0671931441b9db
6afab3506d837a333013d4f91fdddb34fa965e315c51f94963e13497beb0f986
c4bce091be5319bcd1e9778be4e2d1ead606641ff13c32a38286c8060d2b8c19
5ed49402525f50f4ca65e2efcb86a579e1ae1f9cf46df7c6383007be355cfc1e
85d72d143cdf253245b9c541976ea537f2fb2491bdf98dfca7f0e54f45cc2ebd
7fb19aa6a3553dd10dd2aa9b9e63cc2cab5cf437f3ffc6de340bd0bcc62b40d7
7353abfe8d887c9409fa67da63ee37beb30b4878ca45b202d00cc8a71619c5b1
7de84cf98ad09ac18d88e38633f40aee82d9f8baabf22c889c92a2f1e4c6bedb
908e2c54110553377d35747cf7aa6820233157fa13a9ec159e92e7924dd83282
ee2f839709a94ff54d15943bff24a9e8a6f040534859e7db0af5be01ed4cee26
4f32e4925e0c63ba996be7cd506460225757d0dfc59623fc72d69f3a0012a516
06847dc045c3384b0501f0ebc4edb13da44097d3656a7c51ce8984b5f800b49e
b59f067fd285f3b1b327f29cfbda759e8ed99b9ce8cce028c32e5f27cd53425b
d0856747e23cc6bf0938430730ecc5490be15f0a1cbe573fdc757c86c1d23e17
0b0fab697f75fc2748befb8a8856f3c79529cf7f1f769a1b1b8b74d58f050594
714f4112b30383bb1e3389b42b1da8fc47ad2bba53eacd40ecafd71a27e81745
d0fcf8d65df1feec06897747caf6e250634ae1a973e1c3ed281758b82367e8eb
cab7cf42d2e374bb16c46d6987d2a17465b0e06e2ec23201d023cbc4e00d1f8e
a77f7fa009e11666c31193a0a4ea8910aee89ef3b10226152b23c086130ffc5d
e378810b13548baceeebced1ee60af37cd7999491b12819403a768de376c8c98
c00c9f5e8566f61c2f9f02fc5cb3ba338f9782a10a74515a13a34f9b75d8f0d8
9fe0dd389902362b343b34ac973d05c9716a330b495084bbad408586f37affa6
bac3abd761b4ffcda0fcc9abb8cf8f975db4106f96c5fee440963c9e86dc6dae
9608caf3deba64e07c1f0e8978ee39863d7d6de91e22ee90b4b3ee49c5f28892
e26e504ddfeb29b9536b8d191db6d9839ad52cf1a72b2789236ddac5af654766
f01bed8dd40d38fb316d7918125027662341d8b0e4f566037b41c16f67696905
58b7d8b7348b66892cbf8f8277deb48bdcdb287e42188fd0295e22316d20c27d
cc79d0bbccfbe73ac86bcf0565302def6bd80fb6e9ae3e051d99d50d8866e6a0
b1d1789ef68af1df8eae432f65dc63c5121782832383b9242fb0ef9d307fbeed
b4eef48fa4074e39d8f6b9da3709d18965eb6448f2245f27a8463746bfd0bd13
3bafbe37de82de4f51bd55d89d7d4fd49923644fa77a113de1bb9f71b300c782
ba4672d3f6470892fcd02e8b1e75d67028a66872ba69ba373ec6481aded01f5d
795d1fc525a91f406ab304c25adce32f8749b1c994a215e910c5d777cc3f4e26
e7fbc84f967d74fc67033582452ded49182759fbb9d414420fc8ed78930aad33
322db1e4f4d54fcf43e965ab664afb4f2a530811443a1a5d6bcfa6b25cc137b4
ad272efe203ccab630f18c5611082f3f5b7b816ea7ff30e0113e520a3abc6cee
421b4573d77378d5e6b84dd66e2bac8cc73caf5c5c208e9beea636d7885b7277
c337892d41955e7f7e31cbc8e4566cbd1905d657073044a09eba41fb071733bb
71e3262f0e8374c367ad1e8defabc6375d342a6bedbe162456a175e8dc4bec45
476629477ff1118177de3e91286fcc85476d6bb5056b39721a324a5c259f1928
34feff2bbd6c38d2d33268b2ac8cf5d16fdf99df03d61e476b31ffafda7c2519
c15cef46ba00298fdfd71811a49df4841a3fd8441651839e00024c45c03633be
de6574c879312c80a466cd146f803118f781c81c366ebddef2c4782f47e876ff
d8b5b044934a2fcd4914b388b933ee0c7f9085b828a702f010f6aea360dedc89
a8855c24ebd0b2dd5ff34ac5d50efce72f0cd5fd022ae507bcaac518e13acff4
b5c22a80f34b2b9014f1b453767c69ff7d42a2fe072cc3a7cb69590e2be544f7
048ed53d45c7fe7327f74c1fcede709354570ba7649ee361232dc7b9762eff26
874e3fea9b45f350167f7b792d6c3c2c7ebdfec89e243a284556c3f46616ade0
772fa4e8c8863e77f7b371ce271d3a092566f82cda9cec84f87e58a6e1377479
4e1c67e09c148ee9044bd7ab0776f634cdbd6c8db753d702bd0dbe3defe947af
d3511f5f5c4a070c0550ec64d1b0e07a214406f48e2529b6068a7347e3547904
d5d383e4b0213e77ff41249753a39d8c8b31023c37c25e4b594ed09ba9d003f8
295b114543d0d1b198a0ce1aa856f9aeb7b031b3bedf68de5c121b8f5cdeeb38
db5ca4999c8f6b2a9f58520c40bb0950ee5a153cea9f3ff02b2b8b0fbcf0fc12
1476e612f96c9d40c26896b8785355cc6ea40744024e50f31c6a1bd1bea10b87"