void-packages/srcpkgs/firefox-esr-i18n/template

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=78.4.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
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="35c752c8332e93c7ae10e09691440accdde03232be291f57f106a73e0522da4e
c0a32333c4d33626b108d6e89f0ebae3924d95e97f93e739ff4720d79d895756
b1a51894781f6fb757a4502e5f59eb577174274260f980321a8169c5a6b4c761
925a61467b506d94c59a0003d8e3f5b01d6bafbac612fd5ab52633661939ad45
4ce396e8f2a65d12b082e5d3541069a80ffd79b52286db1de7dc2669923a4212
885454f2fa66015fc772442b420cf9361f0ea8fcc6a861c5b3b8952b999e4b23
433b6de936c7cfb7a025fc25767744c7392386de646724757d10f586aa83b24a
9e17a358e8ba03ff31d98fcb108b0fb42523a1f06a7fb07edf3289da66f65034
ff54ceea34d4aedbb905d71caffb6606a0f79cdad6b2f58017bc00ef45caf399
77e7edd22f3b062b04b89b96d1e8cd03b9b29fa587f401f8fd6a62d8cbb71ef4
7df2e3610c0f4ef3d450b6d8b7c31e7941447ba40f06e4075e14e0a16f5e5a63
99b3a2a17e2815958e6987e91027d3bf866efdad694b6701e0d00f96b72a4bfd
8da6131d3857c403def32ac18f94a760bd4fa9734cfc018afadff0aab435f6b2
43fdd1b32eb3fe59853bed4e5dba94b03dcb8d4d6a9ff87869b4637478053c92
9ba43cc29edd3f9b4cfeb146e31eb1668cc427d9bd334e5aa9eb0cc904ebdac5
d1bb088339aa358e9ff7332d40cc7c7ee75e31e6c9653574c03b7aaf01187322
20830119a3ce7f0bbfbbed86f38fc1e623dca824ae6e7b36c80cf4a28e14cd2e
4668d586d8f2bccd1f20905da08c123dcee4f5cf3bafe9b0a0070ea712a84298
60c0c41a9d95c0ae169cb39e84b25a35cfe2b02ed81f2c411067d2285dd95c89
c18a432bcc3faf4a4b5cde8688483cf4a1dc1b1e8e74ebfc64f490a7b45db66a
c019015d322d4b37f6266f49994e3ef325c8a99d11505591db9815600905b9a1
a1285de48c539790cb216c8539c3ac10b1837f0029e7f99dd4247e83b60a40e6
1e21753f0334a39db7deabe2b439e1884ef499c02d716f9d3f9f73feaf6109b2
b9a9a87386d535b131b70db3f7e5d4f3c552fe3e38b21869bf5b0943b58ddfd5
df9ae1d24f07340f368a2031a3c44f14bc15a72dc076aba2c1692a98ef345d4a
6b04111a500d4923e52674874ec0bf76a29522d56b9d19ebc75cae24d3d03fa5
29709f30c3a1ff97371417fa35ee985360bdbba8b01367508d34373d990eed84
fe5eb1d10c74568566c91133af9524108120f1f89b5a6d04fc374821d0c0649a
f8b747e8564a45ebfa4677dcc105180a883a5f022f87e86d96c1ad56f42f1961
f54c672d98ea069b628febabe6120d96c9b8ce84dc797577ee292127000820df
6323c444f9cb9f9430601cfa561249f072edbcdfe664847bb6f4b78ba9d2ad00
af3b9a70817316dec6ffc0cfc7d5405f96d637a5b8afcc7ec4fb5f66b1e2965b
26b1667f7c5aca3023c0e64c47386f1862bab780dfb51ce4f964bb2dba117ab0
d6282d2b3ad88b4e2eaca9b48c108ec3a3cdb575ad507313515335551943af75
9fa91154b3596c6f360053eee870715f6ee3682ec7a8962c180ba254075df59a
15289032b51367eb654e425f3aee15e12d8e3288ae2b3cd36853d137d8489d87
a69bd27e74de22c6e472aacc5bb9d9c4e543027d861791f0417382a5f7f5118d
54f42c8506f639562eca63b63f09566900017c1e22793d233570e28c97db72ca
82c3396456c455b13802977bcda8a5f98f4a72471ad9189020603275348d8010
4538c6d201312b42989bd8d895e9a32aafb6355f83a7afa4155e2c9afa5e1983
4d299eeb204f4e1e8ff7c6c27b84481d1df84d53be1131680e0dab80f4578a6d
37d638dfa311486749f970eafe54790e5a4ac79843a1acffd0a9f10a3e96fd83
0f34bb060b1cbd05a442d69dd02dcf454ed3de8636a2a3989fbabeaee82efbf9
4daca2bbcc014524d096f83891120582294389a727df8608512397b47e8ddbf3
90f8bb64ab8f5b9ebf11538edb7f6ad0f484b3bdfef963a491135b18c9d5eabf
fe8196ebf1940d534eae41f8b8bd481d4b84d306b5f8de4715147e139031b07f
093bdbd9150d86df6603e20097ce4c5db18b460fdc6349c824c4723681bb6826
1a0282846b44a7ba90219c212e50d8784cd9b77cfab8c8ae14577863cc12ebd6
13db9b9ebcb7d9c0868d1260feeee63300910d0e5b193e06ab861e540bddbd0a
3ed29ddb978f2ff7c1672bd6525b5adf6818e14b260d7a0835ebf465f9dfca95
eeb2834967f05b9080a58de1f759406bb4294909a0922c7f7e4e2a69ed22104d
ed5b351f84260047b2f959b7dbeb9a3fa6f4710777780831c4f0259907b5fbe0
1e09c208488553d62fc0f78a926971d3b37d969ed237137844c76f684bb07272
8877e26cde0358319b57ade82c2d6aaf56ba3673517fc3fbf46390907c998b30
4bb3c5aab906d9cfc53494c79e373b71852bd1cfd551c62dd4e5d4bfb95d8e48
5f93db3d3d77dee88888c143e9fdd6c62b3584b5851532671fe14b7d4bee18db
35fee74c18d203601a562093cd67013431a1efea99d930b6012f2501bd8a364b
5c677d1c44b195af914137eafa94191d964ea4e014b7586a6d6c213b5e78fd49
b377c9210c98c95330ebbc74fd43226cb4d11ea5d2b3947bef55943e0fe93329
c6017b6cc9243f558eda77dbe536f3e8089764d490eaa846f61c9b373e91dfda
7c2e54610bdc94c3a3d320e158537c5d6589f24a1bdd9bd2f74e2a2e32de41b6
6f0b776eec863cdbfbea145551ea24bcee9358bcf014b060de3bced4fd9a9f3b
1d93bed629c1fd548bc2e13a25d8fae5dd343888c8c9142f52e8f8a128f91247
e27c28fe6ba9cfc6191dcedf2511092b610b42c6023c27c05fec3273babb4cda
e85ff98db5a5b7aaf1719fe5adafd9555e2fc5d5869a6af636747fad416f3cc6
947bc98e84fa1668beb3dc3067d96b40575e581df997b1cf4ec13b26856b5a2f
42cb022dc9becddba32595855bd358ba8dc1bdc0f5485914337cc087e9c2ebea
45b7fef087f305c963cec517db5518af5d3680230617a853ab677fe241c03a79
b84434f6a5cdc058868633449a984d302b0f0029d605110814e516dc4c0298b3
daa0bbb4caddc4098a451a050d2a60ff8694bee0da0e48eb04224636531918f5
20edddb729bb4a230ded2ba323681e2f6b18b8da6c79f5c78396422affef23a9
ca8eb956c6061f2ebce77b97a8e7e1a9f8e2378e3d74a83e75b5d750f1f81e56
5409bbf56ecd8d1c74328644ab3dd9dd4330d5be92aa4d6d569b3dea6f1aa990
e1beeb8feee4fd13f21ca1bedbb99b2fd060d99e771c52477ab494866b3fe20c
ad8c57d68d36893488ad051a4abbe95eb52544eb0f2f5d8f09f524784633e0e1
3e275b9eaa134c0457a13fdb89207da4f6f370797c1c5fac809bccceb1a8b661
34f67db7354e694b0c9f2a09af4bc7069851a3691280613802eef512fda2e9bf
cc008ee84e7af7bb51a09120022acb39032ec6fa4d59f6cee2f61b7a32b4daac
f289208bfd9981968144fa7669c2872cfe67cc15edba6cc109c926b22596a3c8
c96be633a6b9da032d4aa5e63ebb72924b58d96b61e1f723723a88eafd6c1015
27cbe55e65de1dd4dabed9de5ebd5aec1f59d31735c57168675ffc3878cdca7d
a298214b7cc5a5a807031cda012751692b6d96b83a73c03d82f9f9b909d59be6
19de4d1d77ff6eec0d0840ae7b8c1138ea80e162dc62684f8eed59b47670e4ed
dd066e9bc0d22915388b3be25afed12db90197124afb5355599676a55a2c321a
b6883ba8e423eacc9f5715172ce591bf056891c4420a952de2284a79293afc49
73a0c455ff8e9efdbbf278fcb26711732b85ba3c66e1fb97882e09979b288291
d90e4348ab6d4cd786acc8a474a9664730ec81b41db90585a3531d19996821ef
dfe77d29b1290a17497521e464ca1398f4961310ae07795de44683df7cac2a3c
adffef23919ddf92dedd9c81f5c73cd30e21c9980c354bf20c7bf9ebe58a9709
50124f81e3db868533e13436ef6c17c09b591962d021869a710a0e9bd826887b
ba23938f2767eae74371618aa06d9bf98c70352007d2ada2bb46f3c8e6e26689
aa6c7d37b9e8590404e7e3ad32a1d9845fcdbf799f5b59cc320ec17dc50c3570
2b30f7f634d0f6bb431dd8378e198cf397a8ff7b57b613c085d206b4ec68cc38"