void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=109.0
revision=1
build_style=meta
short_desc="Firefox 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"'
'ca-valencia "Catalan (Valencian)"'
'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"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
depends="firefox>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox>=${version}"
conflicts="firefox-esr-i18n-${_lang}>=0"
short_desc="Firefox $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="ad1c07264af5102ece174f8e639c200420593ffaa83b31c8b8c3e7004e98aa6d
0a9e87d7b2e0ea06f82b8923dc165ff6a028d2be5fb70c9085f8b670422dfc60
dbffb9aaa0df62f417e31a0c59c1a7cf7be8a2db6cd29832c92f843ef0f61777
790dcfec74f1f655dba60e849f3ed36c3a89532dedc7bbec989851ae37e633cd
2b116dee6b4bf3365f0ff73cb8d0ce497abcf37af922c0f0e07d5d0cd3e36d79
98e52b8cadafc173cc7eb575d65fd217789ab9a31bb10cbba2b2d8e48bbdcdcf
448029d13631fd06df67f72cd0a0085c0a4386a65b8d8065817d37f3defdd0fc
7d37a78a1d94634880b7ddb77c23de306176eb66fdbdac9273503fb95cf94ef4
d4f999352230b596ac55ca4f9783a3226c5c108272372f4ea6bb2b7ca568b953
7e93c25c3fd345e2f5f552bba0843c8aa4af5fe1029ae443629b40295331e0d1
e96b6083a78d8cbeb62e1f235b33e33db2ed15701b3a34b50079f77784b93747
18ab79f941c32b6ec6f0ace1088466dffdb9429f7a9ac30611e64f2ff10c8747
0d74a74b0b647c0d56aef85af469831b383d81ea997947bb303742afdff95cf5
253b49eb79f762fa9c1855fab6a3640d24e62ab3166a63d1ba25ccabd6d2472e
e6f12f541fbf4c770538c712d7c435e0db9874c9dd64e609ccc84d65ce3e3c94
dd8e343f30bd185483e2c0dcbbd51016e2b5879d3871145a04ba27e5c0c20772
1a9064365b03dd1aa6b04a60bf3cab2c8d5dc0ef60e8584c6927b1aeeef3b615
b7ba8da5a61101299fa5329c9ccb3a52160a636e19dad3c8ac2a3933a0519429
92053a48f20325b59d2e9d7299cb428560720be6f8379f86f75fa0bb369da143
96ad98cad1062533e4e1c071a55b5a4195f7ee1182ff1626d2540f460a8ab939
a22b1cb661049d8508727c1f4f22ecec9fe426932c16e3ce23d266ebc2d48f06
286ba6139da8f4cd0cd4e3cdea3f3cee6e0e7234082371c9090fe145009ab07a
e4da3b03e1c710f0676b1af410ab1c7febd04fc92620ac62180abb6a61779b9a
72895cc614ae13f8ebc7d7f9dce21eed143db65f9903c2fbd53404ba1bbc00b2
f4118a488a40c2f5732b1c3b0ba124cd21380f30bd4a3fe6c7280a259a3785dc
372442e330febcada243dc13d7d9da2df84f843b43fbf35f7150f5235eaa6b53
907257c5af58fab8369d53b6dbc853444ff31fd98e53fc6625a7472f80fed60c
e731534e44144c9cc257ba877327b36dc68d485596e2a679fa08d85d976dd28f
c53640e700d33b0116d4362eba98a414b7b74b544acccd78bb94820321332456
3cdbae880af63e763f3eeeb151973538acb668fd16c4a7e02d5aa9d81c431e5b
18b65d731b36af2abeddf8c81967dc12dcc24c28cf3f2af390777a2c3701ab0e
27041f682eb6c624f9efd3de6562fd5d35ab12588e759ef29d5a2dac9b46a36d
4d10b9d703ebf8dad7689d2f4908eccae269fe878b713bdb82e7ddf48f93d426
50d70a02d71409934f03308cafd06889dc3bfaffe5306fb0dace0e206dbdff39
f3a166f0d4bad85a5d0b3a0d6766a90598cb90db2829b71cfa8fd49434580f23
466c4ab5152592bcc4d408304a6ab1768c3949407fc96eadd36363b0914c1c51
0e898583de196408db7d032228a7164c7370e0f83765ad7b201b6be0045e4f13
ab332fbfba4cf7a8590ef74cf52040c9d1127c1d33c9366713b51c3315bca383
10309713093f05b30458df61df9752189067263aa1cbaec2b2f84e097d321e46
ef81e086de88e40f4739369c308c8fbdea23e4ae986db0a2980351966ee24c00
1ba433ed2e487b2d1017991f9c53d1d7608c45bda30c1b872040a49f80c9b1ad
5c82f439876c6b96d584d7dc0cd67d1ed951e08ef16d94f0a26f54d963f9d893
e33db77f3408a43f41f2dfc07eb4d1721bbd5b742e2867701732f48741c00ead
25e657fc58f8b6d90a2d1b1d61e19a04e69b27cf33911a8b076183fe6a7c0e33
57b798a9b539ac7830fad3087b37a4d16a3f0f12e635ff52cce0cebd7ca814be
aa89da1272355ffe9fc045f0dc47c124f3cc52a6b732b015e12eefe87b382a94
26aecf208a7b19c36a88890deb49a9fdbe3df8a4fe513d4744957ad770465dd8
a667ba25416d92a65684f3b039a24138895e092cb05bb2e831c9b40f969e1e7e
7c21214dcec3711a4e082780ff900528eb86bbe96569c2202c194afe558d49f6
661e9ca5715831c5e0ef59fb880f248d092b9be19dc94810a168d0c6af21f4fc
33705a6d8b31cabdd675e1aa952f7b2cbb9e3f0e726542dbf434a27c8fc2b19d
54b2ebf737f80bace727dcf8ef3c35bfd300c4bcc19d1780158d91645bcfcfa4
6b98c8a90fad1ca14c2c5fe16184b975c4e6a71073701ea0bab2669b52a40360
ee4f64a55cca792cb500d0f969236f873030d8265f2ca427387c96b83d4fe8c7
1216752167975922c159a335d82e9ae2d57ece3e1cb362374c14e24cdc3130e1
ae64421402cd98845885ef9827b83fb2e81116836afd1822a73f69bffff0efaa
62d1ae5129fd85d5d35d3a031dd9b021d56784d36a17a8c7a187de5dd524ca48
4f25d7aefc8db5dce6abb755df52fc778cb905aff041da82b8b48966b23627c0
25bcd72628b1f1eb9cde00390bc289061edec8d5e782bbeed61c0e8bcba95a4c
f7c6a053db3b0ffdbbdd7d31b7a87ce17b606c9b34c9b6e2d7fa39fcd51c7abf
503a00c27d5fb455280026b6640a733532f34526dd3646dd90d251785deff3ab
bbfb154a0a3f66ddf581250834b1a84ccc57e0bf31791126fc72bdf540fc53ab
2a3bd06b41ab5acc404c68ae79f350efae95dbb875959697b1fb073223f44bbf
6ce8fe5b269d130e721df5cc83b8d7751f509c722ac34c1cff65f2822c45588e
24f139e7026d65222877549d77a818f90227c4df1a4c55a77d8cf105196b4152
f7134d2fcb4eae10f71d23a5cd913fa2e9f8144aec082b8bac1b6e90c5d5ccd8
937cbc6050fb49de1ee25ed40260cb1a2335dd3c45f36ef76c67c372abf31e2a
70752bf61cfb5aa796a66168a78fcdcc4b15eeae5fe833f0d7fa0f6a9a1d19bb
b8c5de779cd49b1f3ff0aab7fdcfb3b0bc35febf0aedaf97931fc7c9929e4a30
8bd81860dac7b6c6ea23606a794c2e21c62e7d34e31a4b734b218a1f3087413d
9a83bc58005291560e4d41345b7bdde53a7d767f93800d354da50e02e9ae3d35
e5ccdaf8da018b4e15fe9c22a3f08139530eed4fd63dbbb20c2af8d884c0ea51
c591b6be0c4648332770ae9629dbd4218189e27fae15c7a20e50f934dd60ef04
c6cdbaa051124cd1c5bfcc5625bb38929dccd73f45d8ede6e81e47b338165410
10e2fc8ad5963f4a2b6ccfa112cbbda613d599943e473ab12c832a829ee7f8c0
f6eddf93b7f36560f2e8e48ee90d57ec7164d34f975edafd5dda138d134c56a4
4f64f238d148df1017a630418b9e310f3ad8c9556da38e05e714c2e3573b22ca
9ba2135bfcd1abcc425c0274cec8d75e131b58146149cf6c09cd0b6c32a98ba8
4aa78bb6c16188a46563bb915515a0594d9a35249a30f0a4146e88f17c8258ca
4629cd13b01ff4780f15e6910e2ab18acfecc959cf12ecc8ab4928873af4aaf6
6baf2ad82710e57624968ca19653ff19b807c6897108952e505bc047cc2681ba
90ccbec89eefe6c699c07d6c9ee4f9740ddfbcd9d5d42757f3bb04d29fdd6aa6
8cf650dd0fb52fba85099a79db507f9b673b73783af0dc4d4ab131b33a8c4865
18b480d7815a71c38afa700400986f91a329f37c5f120d5538d2800fc7287d0e
da7a4d363c8140250f4748c6ef30e9bb758897a876b07ea9cecf837eb8c8801d
27a64ebb7c7ffeac4c180b8345f367d4d5a8f19f028bc7e7d3cce71387ada7a6
3b23c414022ec650ee1693d5afab1d3c7aead524a6a1d13a5a1aa2d89663656c
6629415d4104a095d51bd39d4c9c1b68bca2c8c74b4997bd58c86e38c29cb958
4b4628db7ef33b82489c7a0d284710ae66061ae7aa51905533a34325a963c12b
ff6ac635724a3c7b8dbb4aa719ae08529472ed45f0548d0a114f47af35bd3cdf
c99e343a501d33770e2d7f20c7bde511fd08513b193720311ba6be23c5cddbf9
88666d0e1c75df90439a0445f112b65b610ff88a533acfae8ec547923637e28d
cb5089145a63e30c98ce5ecc4e7837dc6868ff17b7d69f8d29cf810be64c0866
a55fa2143c1830c0c69242ec009791ad4782e89799a7c463e3011f46248377fe
1d7107de89100d505ce74d11668921bafec894268b14082361429ab504895db5
b422c9d62e7f10786d897e91d97f07e17c50b6fba793590c6407bfdcf8e05be5"