void-packages/srcpkgs/firefox-esr-i18n/template
2021-04-27 09:32:06 -03:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=78.10.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="52a18b0f03c8e32ebe65fd35b35580c052f0a6d664b03ff7158d7092ec9b7ecc
d465e0bc4e4435430a0dc46f4b6da3d89671980f5f15a775acd7fb0cbfc72ca5
bc4b59a18b6dddf2346dc3035071558385f2531bbfc2ab2ba4c4fce8ff06ee73
e69896e629f334c423e9e0a4fb88e32140b2e78edd6f8e80d83a55cc3213ce03
96656c65318bd915ea2bb50c18641f5817a69dfa2858887afceedbdcfcc88273
afc068cd1a5ca56f2e5423712b1ffd9dbbd6dca620ebc74cc8d9765fb10c7cf8
28b79b454cc4711799850dc1992489317e744a6d393b177b28a6adeb101f9b5c
3c6b77c4e45b721bf9366c6e6f58bb744ed02803d4485e645ee33e061900276d
46aa1fa5e978ce477d653f0b111b9f633721ec9624ea632f05a17cee25b8fbfb
82ea2890a3e71c59c20920f16875cfc30010bb665cc057b4b637ebdc3707684f
bccac87fda10872668bd0516eefc45ea654cd0ea00bf540e9bc716a3672cffcc
bffb69a6aa95739dbcc57121f5f7d19e87686d283dc9fa776be6766d47562ec3
cffc9925ae05662e0c80d97d665dbe0039979ca3e56c971f5ac85fa4d3f02e76
b61fbc2fb817c51656f66d43e95de4f9348f085e1dc2da1f372ce91ece801882
a1a3e68500ea4adfccf17438e31dcf895a64b822ca1e5d57b957658cd11dc5f4
9042f2976ac86dda964c4660947bf48610d6323a4b8401783d79c0246d5c59fb
774a70486ff675fba9c168d94788e123e180ecc49bf09d70a8658589b96a6062
c9a50baece491a34d3684df5ba7adb36ce290226fdf154cced3ced0600eb2552
cc7e83f009146fdfef41ff8ff74c26f99521675a593ac762f612d1767b441233
dfcec6dccf25b3198a6291f59b6e59caf753f1515750c75a9370d8a786481bcf
a9eda22d8722bf4e5fb3daf2e5f45eed36f217e95b923eb5281f4fe182b12032
83f81d426b6d57b216738701759aac0523599d99ca1001da29452f39c7549a3a
4e7d77567efcab3713556e3db86132c900ba551d74b08195276ce9c36935259a
b2909209b20fc86254f3616a5f5093f563c534dec87b402fb779e210a1fe0602
c25c76ac63b91f6dfa066071c320e550161ed2a61f7db6c1edbf224af0ebdc03
4a6cb89ed9433852e3f6be678bf74b28bde1445de6e2666c714e3833bec023fa
6a15e0017f80a7ba0a009ad33be65eaec9dc2a325a73b38b5d19df16d7cb8252
11a29f31990ac5f444b3df4a17573ae9f48b2256a971cf83fdf512b4d6075a98
f3aa6226f97018a4255253367252bc052b283cbff8c2bd90968baaf94a9ff3f1
1b92d6145a9e2d32437e29cae12632eb2302903a028104c9cb06a45724eef9fc
3488d9160b67794a0ab7bc35d54578bd94097304186d0b31ea5667178d02a99c
55cf76466291a1496d5f830aa0257292271284d6ee044e9bf95465105e29049c
8729900ea584e49ee1a3462f17337a4d4ecc0711e6320d6119dfa9afb7d0f231
39269840ec90a26b3a822a6d78db6aa91ada31da7fafa15611cc20d884d715de
3c93c3dc040a8b8a9330ef0e86ed4c9b4528fb7b1aebad50fa8ea5e188dec3ab
d522cec4bfd17cb578749e84737e1bbde5949d39a824f8338708010b67a37677
4fe1dc98e52ce963a1e97b5af821fdbe300b3ffee85500d0017315b1dfdd92d4
179d75e4e64d10d78c5e02e083b627890341e466c7ed543b17c1d1d23ab8c1bb
3cb3453ee615021d7748daff3bd0420e5df6d457be6ef651ea569a9c08baed0f
9fc6c427029e963a82b87cc8ae2581b3c1b540f3347c8af758de959143cd4893
1692f45b2b989f4d4c9b9ce44748026041cba1f98ee99c99cdd2d5e7b1132a15
ac4cdf0d291ccb9d80afd527b18bd2c665c70354cb411691d4c7472930ba6471
64b0d17fdbbf71250385bbbeae689728d3789d30696a9055bbbd1a2b990538ee
ca3890ec82b71b03dc4b5f4544bf2172cd0934c3b4ba77bccc555bb367b6b5df
04eb3e7efa149b4f56135ba11aba79183511423370fc9637171a3a249591aa8c
9d871c5027cc3621ef6ccd5607a3bf79c8c79ef3b5a9362afc822b6b292a5ab6
3fa67e4c9b91a0036414c57d072826dbbf6ec50ef0e74ebe57c81d19e8d79d4f
4b15970422169f5a03bc4cdd16acf1858d9d3f8ebe743056872abe94a5524973
7aefe8cea46ff5b0db6bc417ca08236ec497fcbffb17815bde527ef2d9e07072
3cf67fd6a632235193b2afc48c77c76000a1da92d568b9bc7747abe44b674ff1
c587d086d5dee92a7ebfcba8b53fd9476177816fe18c25686d7620b50087c76f
c03af098290c82d18c4a76457e64261cf20095a1a589e2ca0bf826a6d1daf6f8
c661f28dfe22a162cbdb54fa18566611c8b6fe67a69efe947214a142cff5b727
ae9ebbf068a3f95a3a58cb425fbb5c7027403aa7a9bba1f9a85a7c185f774fae
9db037950c2fee22259f48922ec9b48e6fe245793308616c09dfe1faa41f8265
b0705c96af1624042a3dd7f5177c22ce7a5196e35cebb21a8c47182ed01f1626
547da5b3f6d638b00e677379948956f39c4ef4455d8d53e1140c6e5e5cd9c043
2fec28c806f7b67cd2dc8b8dedfd3d6fb94ac1d125c2c9c4d9e5b1865a49d2c4
ac9c1cac64843844d527e17e0a122a1eb4879a0a562d74380bce9d84812bdc8a
10de5e643b72ef582acec3abd2301033884b52c6ee085f4740cc6dbe42053ad6
29ee5a0c5d9d2635b9729c67a2628e406d6f138a3015f529af908de57c62f9a8
ac8e4a204cd7675c19be0f714a7c66fc61c9b43854e6a4f5c906dd4395b138b8
b2949a790c321633d827abff60dec5c8c0b5f4e049daa7f8352b9d2fd79b92e1
aafb502de49c5dca19f44134d2c2925d1eb271a5aab458158fb45fe2597e2955
f34211872382eca744aad54a980e1214ef5b2fb8cacb0c5524390565ea5352ce
d770fe882698b42548f6b11cdfa1f3f7705026c4d8465af2a262658aa3487ebf
612d7721320c8f3263ea0f6a958bfc7ec3a9d4a3a3efccf333a61babd1d7e6c3
56faa0492325e0ed8fd44d7e02127398caf7fa97798ab4295c52b16ac3be4b08
b648f6bd110b016786bc4d8bd87cb25fb05e0b1b274c40a1494e399c01c126e6
7390155c8c575ea56bf0f92d4ea97d5bf70735a2345f0b5644d6d5de234fd745
feae5d7ff4165bc9b65a9a95455f13319bbe4bfcdce74b3c3119c02683f6e38d
2c6dc858852c9d9ebfeb437a5a6e6eae53e1470bff25b7aea97853df57f74eac
ee0ee55a9dc6dce88adca93ccde0115af305a24f31c7d5110dcf47886c4fe44c
1111a78e81d32fb717ac6d57ab661c77dc4d69c007235a66eeeaf85ee1dce7b3
c7a17cb9681cd83c577cda30caea294eb95878cbe46323c116523e40d1796a4d
81a3a01fe39ebdaa736e46dfc42043183cb2084821bea5be00f0328ab657fba9
dad65dbdc29efde82689bfea94a56f4c9c1a81f490162e420ab7eaef0ccb3f10
4f3a6e62e45b5589c3e72249d8fdda32e741d9d6259b4c184f4068ab14fbe56c
956728a3f34efc88b1651426059808e56f5e0a9f91d435ed89e680c4d588031d
47e5edf1cd2681649799c468d353577b95587f6689197277a5d7f28570b8255c
798fb7cd52ed2d7812e9d6e080088814666ea1f2da5a917ab62430f0c6e07533
40e3f0117c511c0e4df85fa69ec7d56bd4ef7f7e2b218b7c60c3a3c5653cf12f
c9da58427e33a0b3d562e922cbbc925fb7253b25772b1a93cfe3dedbd008c25e
2901fde41a204fdc16554e58b0cfe57de70d46225ae89bd7a5a07a2aadc4f0c9
3da1eac5979817f642c08c874a78cb92e83f0039d10df58795119bdfae69c7a8
0c027dc38f08b18d4b3ebd0c6ca7829f6173b8e013836d01e561a1edae1ad8f4
b11f676363b18162ad09544e0ad5169d386812764e52af6bf85d0973e41f0ecf
79aa1438995b4e4b306c920eb114440e7adf0e4ddeac3e664dc0af2f294fdf5f
8ccc5f4db495440a27900b16977515d7327aba825816749b1142be8a9eb1a749
e61ec2b783a7e5da560a3987f14036bb715ebffd84b2b93ef149e10c1fd52ba5
d832133312870f5511905811707986c13619ac6b0aac4145f6f405ac07161869
36ad24b7a2a7ff99ae9407135cb42865d974ba2dc3caa8ff11d1f525879225d8
f599a4b43b0f6ba05b832139c89c0a8a544263cdf56d8a07fb8b8e105f3630ee"