void-packages/srcpkgs/firefox-esr-i18n/template
2021-09-09 16:03:44 +02:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=78.14.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn "Bengali"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canada)"'
'en-GB "English (British)"'
'en-US "English (US)"'
'eo "Esperanto"'
'es-AR "Spanish (Argentina)"'
'es-CL "Spanish (Chile)"'
'es-ES "Spanish (Spain)"'
'es-MX "Spanish (Mexico)"'
'et "Estonian"'
'eu "Basque"'
'fa "Persian"'
'ff "Fulah"'
'fi "Finnish"'
'fr "French"'
'fy-NL "Frisian"'
'ga-IE "Irish"'
'gd "Gaelic (Scotland)"'
'gl "Galician"'
'gn "Guarani"'
'gu-IN "Gujarati (India)"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'ia "Interlingua"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mk "Macedonian"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'ne-NP "Nepali"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'oc "Occitan"'
'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"'
'son "Songhai"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'ta "Tamil"'
'te "Telugu"'
'th "Thai"'
'tr "Turkish"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
depends="firefox-esr>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-esr-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox-esr>=${version}"
conflicts="firefox-i18n-${_lang}>=0"
short_desc="Firefox ESR $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="6e91070c0ee58852ac3b8c8f0ac9620289ca4e200b8074dee8449374301616d1
764a7f3a61f0d1b50fdc6dc313f7651e8aa62df4e8883af1a6ef4d18750909c7
941ab61c6cb0d52c0e348e080e769cfebe2364eb8cf24a94f625b57f84ba17f1
a0e0649532c34ccdc1abe1cc1215e66186df8d9d484dfc4337df92151629e04d
6c21635e8b1293f9b6b8acdcebd372574610ba535d35f21cf77c73bffb88dd92
71d4a6b25d6f18e207c7749f8e50a70a122acea8208c9940c8c882cea7435e0d
37209366ed7a66ad7710f268d326a79198c0e9459f751776cf74cb5e5b181d08
7638eafa83ac00c88f4410bd67d997570f2635cfc9e7448389ad73e9330b2141
3d0e276f98253020935fdec54d906633992848acd4a14d3c48f30fbc6d58c752
0b8073a34cd6c62ed8a32c5a0d04a715839b7421a4a681c69bcf9c5d3b0b257d
39ee3a5be8fead6f9d69e151107402e234ba6ccd6052573ec48ce71c7d63c964
04d517783ec518afc6550b7ca7b591fb17967d8f1c47cfd552b7aeab3d7239c1
d87112e2791a3fc49c33e4a4be445bebe64d69894a472d0c3f063129294c321f
e8ab1a8f936f9f8b554573b9b65d8b3377f6fcc6256087424866d3c93dc4bd31
518232ababbf0a4f8d5c9aea0e21a2d019b781988bc448a20066b9798bf79a7e
50d1fc49591b2a4211337034f036725bf6d0d1816cf54b5a7c4091af504541bc
f61902d98456796d545a9cfcc3362c682b9938bdfdb6b5d4b9184cc33efbb481
c254eed182b5c49b52dcea39f8a4af0c14ecece14ea1fb02fe75770fda4dcec1
8c9ba5f38c939166fa557e7fc2de1e7880719e4671d3e35d7f0902d7367a759e
a76a8263887dc89c4f5cc4cfd70eb36406fddd8e9d569bb62ab82fc68849a655
e6d33c3f1d0173886bf9118695fa9b613b99fdb5777b2582c2d43827e08732fa
f524faec3cbf044e2082306decd1f6c4737a6babc4a5886b50de71c6a1482de2
e1ad21912117ed7019498a2a0f65db03ebace025fbd7119f2632f580e1bfdfc6
586538a8b5a643329e21a0e66244dc30c5b065684c37c06d92ccfc244bb117a6
741c5c34ef55bdd3484f32aa11ce96230a4ad94be929fc3219935d09c22dac09
557233773969799d2b946a68e732c55ff4b901d5a1cf45552ab1bb6801024e01
8aa1bf00d7e97981dc0933dbe4f886ac9f9e1569f5b60ae219c50a7e82d6e81f
1cffa9258de8c892eaf13dc6fcb0883b2bcd418af567d6685eb0b89ada1b6260
c5b3271069de86cc1713c9a93d4be1941792a55b7831a191369935b18d450fd1
00338ba5f470c3d4171d271b97692f6e66f94579709395f7409f4b535cbee1c3
1708326197664159d86812e28084975f63ae8112b2d805e62f4acb741bae803b
1c86c059ec1ca13904d40fe121cab5ed502f829533fb0ef649396cd5d94e074e
6b7885a7cb52c6a74064bc83f7f1d4117994bda1487255f1d91cb6d663149073
d3b14f75fc0da0940a540afb402f41f097ecaa281f5decbcbc6a05ca0e102283
c2dd8a7920c1baa2a13af9cc13b523c9162c213c79b063e1b2bb41290c5938f2
ef7e94deeb31bfc0edec3265de05bf1881bf4c9b348f9ba539f0e4b74368225e
f8031fbc3b85324ad05e415a0cdf8c189ed95bf6fd4a793e3d5f7b8e1e361966
138c430787462e3e77e87ae86178a663777a970c5a3bcc6236d0e5042a958c1e
49d98fdbbee4998a856634e4556a4ea1bda13ee60ea328accd381a3eb0ce1196
27ed18424e42b98b213714f864216be9eff08a5ed910be69b6dd82b9ec592ca9
dc4cf3f9d0c9104d615e1760eae09326605b31a4efb69938cffbf553dec0d0a2
6db58cccd8cc96014ce481225b34a5d2bcbe4766ceca676bb6b56ee53a31fcd1
ac10d3163d8d50746d3f2bbee8309508297654a5f5f40d003631cecd9920e8ce
d4c03de6fce7abc8ce0c98547c45fed6c44229fe0737dd514c0681dc31e37cde
8ea5624f13b33073b704a5f967075c29ccfa64b9985432407b656a66a6e47b64
f7b8654b8d5d0b5513bfaa4ce1ab171ce4b63aed297be7c416df42a5e127c370
a7e805711ef4fdbe402bef807a5a8af92af99448366f34d61ba9e3d8d267c1f8
4fb10b2d88af4ce05b685562a07cb8fd29cfe0a479472d6c156799c83e2bf579
4398447f5f86446095f5f361ecc80750d0d6fbed6aa1cf85afe594beb2687c88
fd87b2fda7d00d6e981d5eba8dccce8d1a30a5582a2c7dcf746d06233b45c18b
0436bf7c162632dbe4c64d15401b5f5c42feaf723ea67cf05a9e316dea14abaf
f8998bb3b5761a00a57ae042422779f05034dd69f3196fb828aaf75e5e3b6337
c37bb2c9bc3184d7ad4ecd5849d0c2a5e77c4d7ec4afc0844feb9f3ad757d1d5
f371deedf56b3f255379ca97aa6dafa47dceee58fd6d16193f186dbab7465ad1
c76bc59d2208494f09bdfb4d96ac9a7ed5f1a638e54dbfeea450a69b58880f6d
16bb969ac6361be47396433559096a37d6cca1f05bedd9e366515b8a34ad8c1b
e1c1100b75b1a15616e646289785673b3e8f8a7e22386dc77aa18016f7ea4934
a5b8b2baff1adf9eda601210d86aacc933c4228611bc45d1a6df8433ca6ef946
0b3fea009c5add84a640fbae307d591714f01229f57f43257fa6c2e19b464b5f
9d30fa8a25a24c524d1e23a06689dd2f830aebbca92f0f77f72c3728efa1d960
4591f36f1ee21dfe64710f5027549591cecb952c1d4e67d4ef70038c63194874
716ad69bb9e3f06e6d00acc34be816072e0dd1d96715ee0d7906beed94ee4732
316d93e9dd34495b156cc625b5a4077d427cf809ade0e0f810ae35bb16766bf6
30ea50cd8518bb7e5339111eafd0af87a35dd930efc1e635760d3e4627ef7554
d99bf09e2cc94cbf752a144e6c0cb47f51eb5f6785709af2410ce6177dee20de
6355fd36f28b81ef08b6a038cf6b3dc7bd22b36bb135473fc259453bd73c1432
ef8b8b7d79e8d9ea8c2a44193498d4887d1ce1ed5bd66373422b68e86f81b3d1
5607e93a36a9dcf78000fab7b69e4bba868654a6a1b0f9d516ed4463c490f57a
e0ecd0dd559c050f4f1e8db8e94b7db84ab73e3417658ef8374b5f116050d530
c5fe51c00538aa8241b94c1a4297a66ea10cd54bdf71d90253ace7c731ba9fbe
a335ec53c6dcdf7a464d3b5277921c53461f91e2f9a03ec5d08daa72b1600efc
8f8a52f9e80c985ac16cae526a68aa08e2869fcaf1acfef9438b587ccc51941f
56fc9691d438f2d120a8d769896cba6132ce2c1b4a1a36b64eb8504987c6579b
10ba83c6355c6f7ffee301c28940d98249c06e8f36d0c728d448244b144d4f3c
407a2137aecb233bcb357cfe20c798e3fb37c1d715d98d5f290fdd0770c15ef6
a175a2046c88f70d5758dc8dbe2c418152fe4e4b008ca4cd0c3e5ac6de13290c
35c87e3ad5dad7736036edcf35b1c2f33a4f46df41d0b802e136ee13faead1fc
c56ebb4f1d1b887a829ba460fb03c474cb67b470b8f938ff8a32da1d58fc48fb
aebab0123ce77668cff72bb095d2ac30621868782c4fc93b52a5f8576d3a8871
bb08adf26a85f7406dc996b89a487c5fa0d3c0e4305fa4c533841b41076bd507
c6c8a8307e332639c7bc9ef840b09cd4c861c1bd943b7c66c1b444c245c1cf93
d0c7ebd30244c515e1be32f623d338cc4d615d36dae162f82c707ba69da3f484
947e7d619562722590db3826cf101d778a26e7aed70d8e9ead439c05e6f809bf
574b1e04824158e5a0957438ee6286adeb1cb42fe646ca42ff75c1c86e3ad17d
099c671e44e2469c0dd346b3d4c51311309628b96b35f1208e0963d8cf3498c4
87d11612ee4d7fb05ba8e409b8b26bcf5e0c210a2da12de71aa97d7ff25a1c0a
bb9d38cfd9f739f0051508527a9a53c6ad45f4c6f6ca1d47cca3b0564e732817
f9fd22a7b66d45475e817bb9c045b46d4d819b9b608b64987c43935f51de40f8
b587c932a5c493f4f7572ca15c43af2efb2611f827194b73a695b9d504f5e89e
861fe37d11daf1b0d789a910ba951b7826e69e0f8f222df15df156dfb9144821
e5af78b8e3851e057e36e562914907fe6eab527885f671f8b68b447304c804f8
1211d210260ad788b85c72a0ec3eac9904de5c61426ef4fe5ccce5b3e0de536f
5d0170365a32c1df7a4504430d547d7b9b7626715ba52d00334717ed5696a7f4"