void-packages/srcpkgs/thunderbird-i18n/template
cr6git bad126fe77 thunderbird-i18n: update to 52.6.0.
Closes: #11338 [via git-merge-pr]
2018-03-08 17:43:23 +01:00

159 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=52.6.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="55e64e6c9e2bc68534a0f5f764eb2ef4086303b070f8d803dece82704f399513
7edd520802282b882262e0a7293826344a7e623f03638d8f11aef3445a3eab3a
449f75f58d54c2ac097fc3911adfba0b1adc30bf04e68effba513ffec48966bd
42d182ce3aa536d7f5aeb121ec11fb69d26abaf21c6d422a4fd03589881d56b2
4ad2f6cb36fbbb79f1047f6a0c7cbc9af75e183edd5b1919715df99448e857da
5c0285a388c74e4c820f46e6ba9fd630d7158a7f5ef1596e64a71c6637de1d3b
99911c91b663be3f80b3cbeafce21b6da88d7da3a14c2f059dfa2baeefab8136
4286ea2d0558955c61bd702c505c3f4eaf9c45faf08c665ea7c9f76693a5e584
c2cf23f90605b361b59c937432b8952558d8dc7e150a6adbae7461b29f42d2f7
579ed278c3ece9219e13d0fec7cf82f539f9c723eb10d3e5ac5a8db75173d0d5
0ac03603f1ef5bb78ad236ccbf0f64c84a0e618b232bd7e8286171e3462e63d9
e9a5630c9e969d4d1406bea35fa5a0c975eea76d8390e7188266f4d66c3b0a05
edca35f0cace634c4205318bf5cc9e6d5750f52d0c364c121a6af4ffb7964d72
eb65776bfdc74d6514797f873bcc9788e1686d3a9734519b91b0c2341d139945
c42e3f869dc63829f4b329e5b4c3059aee83fe854399efb25312519dc678fd4f
56d9a510c44002f7b502bb3e039240ac6c0805c5a191ca36c1c8e474cf2fc105
b747614bd710f3bdd4129a74580d336c57239340e145ec920f7800dcbb2a641c
bad22df9a08bf5c1f056d3d5f3ae773808ebeb23d3c8a8db8772c9ed76975e12
ca875e0d846f32f37d1a3a4aaaecb99824e1d019d78e45773cb9349c1455fb1b
9e3be13e562547bda6d79619b69cbc3791f862958c417bde2742408be7dfb919
4e3816609544cdcca192261c9ab442c2ea1741a2eced94e35c5d5e785879b3b8
c3e55ed6c0cec5db5b69c47ab3f491d264b10e39116bf13c4a0d167533633f50
c1f2bea891a8ef69cb014deb6b3e772f260af8ef32ea99fed0446189997066ec
0dcde6e40a6061601a7e5cd8906c7f69ec1cc572109c860f687d6ce055a348ee
52f5f70a6d03922a3879d2b84cd21e6164c6d9aeacdbefa52e0771af8e8d1ac6
453b5c38c81f739a42b3627ae516a2c0e2acc2eceb73b1e0fcc1e4942e6e6580
2fd2e4459f4f618c204e0f755dc462246ce24217cb39ac521711ce1c8c21482e
0ae83e6c21304bb71232b1465f91b8c099bf84755a9cbedac24a5c9d1e57a925
1e30e4ec4fd1ec382d2e3dc8d6800899bc4a55a93da2a4908a939585fc505e96
21042be687b28b18d4176061c34439de11b2ef88c163fde7a4cc79d5694dcd3e
3d042800e62e7579950261bb432e2eb54c98742a1166eba81c237637d02a15bb
0370377a056b2b15044c620568d7d3054280b82e6e97d70137090e4e3bb399a8
621d466c4b5aac0d75ce7ec2d00aa903d51c70b36ee0ce697dc10cd4bb63a734
4c7b9074a13944e83213f8a0dc5e78b42873a746fad470c45530042b6b1182c1
c9c79cfd48255df07f435b426b5db3992e1c530eab07ac2776879e8703e78273
7463d77c26ea74fcc515728a42be12d2397b7945e9fb081a8ce6b4c7b8fbd6b0
b23a2135a91881b059e539fb32c739973ffa4d52295126f403e5bd1e9206c9ce
5431362ea1bdf889482c72d40d66e251a56f4062263c1e9bbb2789f3ac32c3fd
e7ae629d7a6c4feae9d05f1125842bdb02c39072fd43c72f5f0c84a83e0ab272
daca9d315187be83ea83228d090b6cb9e2ebc5233a159cfe61a4460cf2e37164
0c2d8cbbf044ba9e542b6e6aa9f46ae370d00e00921041a9aa4acc2758f4ecb7
da2df716d3db1899ccd7d2d6ca862d7a422d22ba8279b711e4a06f2fc6175b0d
e232716f0bafc6795c40fe64d90f13d8d0e37a4bc90604c08ca85740cbe9104f
3f0724f1a90cd9e12916bb945b155f9284897bb86590e7ac36791b8baab88eb2
54ca51a71b33fa0997ea923dc58abb4d7079253d1ff1c6bcbbad034d9a3d4069
9249afd7d32bea432c2efe9a55a4f1e0a1a409e6ed74a683b12ef05bd380831d
76faad271f92f170841d7f204457da50c3ac3051ca59c509567b300d29459fd1
4a96971036904ccd5ecc42f79d2ca07923b281bca4beb3c675e4b65837f22af4
2fa80eac543efa1db0b2d385249d87127e684f4d2a8042ef3a78d2ca3b289aa4
43aaa06b042159d2a0523b1be039afd3f5dec1621a47b805ca08410f0b916ae7
06535e6356904cbe82da3d8e90e499c3efd17a22f72660aef17e3ea64331747c
7f0b5529af81dd17fb1d0c3cf19fd3e32dbae7c4d69fbc18195c2a6ed91a876d
5d542d45d30a2853ef338b4262642337112c5a610b80f30f03227f4dbaa075ed
6328b79a60d8ca4cf50cb8c60c181997905c082bb9a57ec5cc835a140900889f
cf9c9915cd9f664be4fdc29adbecf4ab232ce0c8385e7edc3cb4725df5ae5e58
8ecca130278fad732e5f407a0a0c3148ca28dee9460a23b6fc57b795abb2d459
41a908b69568f1095f06e7edad15306d30e8aaa8f974da7c53774de7795b0c01
d928ae2d6f18815be709fa131cc264e8564c47019f62bdd9d3c5750143151a75"