void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=124.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="cd39f210658217e6ca616af14f42348daffb826955f35d9f6b5ef9893df63563
df3f81ad25cbdadeda07a7a341c0f20628245e4adcd6c176b5f85a2c1c9b0947
3a96275c9998a20a805950f48b49645ea2ede103fd2dd7383bd2ca893aa9f8ab
8a580b7270a81a4077ab3f475b2263635f8b4a32ec60d6677223facd61ca5eff
28aa3a86dd7c90dd43c8fba72466d7368aebf8210a319bc58f819e5ef1fbd6ac
6961f32fad904d17d6a6c9e29e85d504600614090f03cfac8a4ceda14244f9bb
89ce382bbabc4e29679063126a52c483aa0b44ef26cb12cbf820e55fb06c05f9
9dab61f8122f375490a5ce882d11f9edc79a249ae4bede14935f684a722e6ca0
94ba26fe605fc22e355df6a9f3c64252d5ab647b5e8f740e744d7550eefa27c9
d426652fd0a084e68d4638adee0343ee84d5a99de7b088e2208813f7ab7e3ed9
2008c155b81ae50cdab9e6161f5ea6e948ed9bdd40a82d8971aa5be3b0440e69
0f2963eb1696eb8e0f968ca1bade4c6884d0d6781ef03e3c3257de837b395f43
d692b04e6fb7a23dcd448cb28633a6d2ae40862a624332ecaf4555a0db1844e9
4a9b86b2f979721dcf4581e0435a3e0a2ce3d76626622973fd251a748a0cee59
ac526e9d030063406f6ade11d99455fda7e478f5dc68dcf67a46a7a4d50d8d5c
f058abe1994e84b5f9b40ed2fe082fc3b8ccee9d4ab6f150b29c1c975b7cc5d7
686c767f3b253fd6c45a2861a4f82e86762bcd1c04d5bb9aff313a33d0d0882c
81d5016e97ac766b1950e74526ff802d16cff538761af894b291c6c81f1212dc
c71d1b410d8003c46a405277917fe5c145405bfc593d3cdaa8b226bb12c1033d
94a66f8ae160223bccde85f9a91ea8c7b092bb329c86bd5902fb947982366027
8942ab576aa34d00c9c9a1b2d763e8ab91537e2dd816702c96bfe5783823f4e0
7f9415249e1edcd8d64f3a8824cb24c0091a900b03b726289767f459b289cc22
7e8efa5a14d7dc968864be7fde8a75c5fb5472e88767db8f2607e4a1d390ec6e
b5733f48ac3d512ada906e24913c804d8dab881215b0c2458c1eb2da430aacdb
2779206551e36df0dcbf4b0983cff42a8fa0a97b0e6f1ffbd2e0ac5b3f94edc0
56b063aed81e076afabdee1ace7a7b87f49facd5733805e0f0c293787961c78a
a607e10a1333e22495b4e3a06e1031d214bb498da738fcf8d36ce53b1352b6ff
37f82852a366552dd0e7a24584721ca2eaee37892604f4ac21a01b21094fd625
c80b91f311fd3f17457a44694f1be61d555092c94100af87aa63b116e5bd1888
c310ae86de7112334cefae5a9dc69ecfa24a2cde84f8adefd2ff3f8138976f28
40edacb2d486f1a03188e7790e13f19597f2ab7c49ec89d3c677cba5e19c38a7
36deff854ff5aacd467c481998dba5a33dcd36bdb4c4937fecfc8aa913016b00
f49f239945ee2a127c96ce77182929a34d9951638dd7ed1191fd94482311bccf
3b74e0d9b1682c2b9a501fae4fdf7e0e5c4307ecd77db0f195aceaf0905e92a6
338aebdd3d86c1a7b815670a91f127c17377941ea0a83efe64e1ad164b3e68b6
94444b076e63fb7a1a62f7097471de153f00f347796c9f6622d71a0876769174
e253fca46854569aa1d1c668a09829cfa934f04c43f78bf8fae9940f6e888e6b
98f0d4e5d4d9b2fc33805746b73d6882fdab8b24944f62dc9c75bea4af4cc852
e7e6c055a9ba683bea457777179ae4bd9a02d23a0d7cd8e1c5f694a0e2a30f70
044c5055a4ef678b3479094543a3650bcd1b0eecc7527fa79c52f1a359a8dbaf
6585fa856ea6ce9fd83ebd643bf1586ab0d1cc12ae0b3136917ff444dfd6027c
537cc0da3fa8ba0b421590cd83d481c3f148e985a00f16a43adc3d21ad15b742
b6ae2da544496b8de3b7b743077a64c1b0c5958f21189122bc862965c900edcb
af9d588f99fc9968f3a029f041baa9d8b04c070570440da85854d2270ddc3fe7
834ab7acc33124d0b41a71def5f2dfbc20ddb6c5d385129ec2e45160fdacd597
a8833563948bf7fd610896d6372ae1581e924f324bd39703c0d64efec4e8e6f0
a8c0d1575cec158efc4290d12976315c387a70e64d1a5a7317216c50c3982ae1
0ba8534d5cefe0bb9cd4afaa2e414115ba0055cc3657c6e2b7573abff713eaa9
4c4f3a3df01939b5f9269f26780fb07400558383743e9a9f31ee6b426aaeceff
443436fbe80d8f7da55d66c05134a7c4ebaedeb6b0b79f050d78a27adb02cc53
6fff451e80020adcc173e62093df6206f174d03931d8d6c06d4d3bac2624642a
75afe041ce762dfcd2d0f62a92f4c99a27ad260479875bff3d3d803edb71025d
2db0fbd22be68740dcb648e7785f6c52e84f339a40fd9001379b6256510ec2a1
3c3b17da4d2f382f1bd1ea7bfee4101b8c86083fb06a1c42877994d9ce7d58f1
1b14b84836afc98674ef13b8172163e2dfc9000503e84214805e8678d728fd8f
519369e4ea1cb1b2f37d40f64cebe9c7a754c351aa98d5852f74c98ca4623db9
c355aa457e5709db2b7e5e9c50184131f7162832ce4b55f35140e39d0972d541
575880cc0c8d4589f0d4a1f4244d1b6be12c5a4c934860a76d2c5c0865299e76
18e9e08f903867623756233d82e4f6ff757f744961e4a01e554c016babe24e97
1ac8d8fbfd44aae3745c30f6809e08ce559e4b925a0742fe458ae3841de9e5c3
fb5bb80c1857b33f36186fc65b39515352c92e329c30a252ca0f5531479cfc1f
c5606a6884fe025cae9ce37cb6aabcddb0d1fc42fb6036134f8c9743dcd015a9
c17b71745a140abc0d2fb6cbdee20f66927ca232282cf6811be735c7266f7a59
12a6fa84faa19d8bd901a23c5a9dacca263fd8c5482d952eb7a6180b02a70605
ea1fc44b0e1a91c8f0331df54dffa06d69afecd8308fadfc1603981b94df2aa5
cc3bd059a687377cf683454dbf60715fd596e23125624f1a9a48dcbe6fc8108d
a15af804d90c7da97e736919351742919c3a1b9aa882b131001d199ad6bd1321
f5ebaa3de83b75fd1959740af60000ecfd6135278c2c7357a2f01a06e94d3fe9
45f7ab178a99c425660e3c4afc76835616679b131a26f1691f9b50bb9ac20893
abc9aded56de544c917deb9502ca76b5aad9f72d444e6462c9da37588ab4c33e
118803b2a0e41b7fd03a1a17185b38b43b3cfb7e3082a2eb8128b3832932542f
8e2377c228895c671d225ca7d162af6e39978c83fcdef4da8efffe2e7efbb59a
e5eb3871ccbe6ad98f0277c3d97adc1deef3a1293be09cccc5f62d7257da7994
49128d812737da5c50645c0843ab9439d8e37d1d55c6fdddc95688b2b13b8ca1
2a38fb0f335b99adcbc821fb5188ff2f33b47e21f541b42710e0ad20498ef9ab
eb6e67b2e1bb974b5858d593d8116aa74e87e1dec60a6f75bd0dbdb8a73ddacd
85ced14d1fcf4a56be4ba38b2e510f162aa895b33a31c0698898e2cce3ddafc0
cd7acdf1dda2a5fea32b6d5c1967f35ef4b9819cbfe148b6661f68719082c208
93b5c8cc37c0460a97164810f1db63d30938336790f078eb9b3e9da5ede14b9f
fe80e2c1ef816b0b3a62a3ce99b6e0a2d853b15d1e36d595bf6482b24d7c996c
d6cabd878f53d864caf6c1b88f766cb64512d731318d6bb5e31dfd3910c3c456
1a09274fa45860884d77952f98e97d5fd845963d5654ff114ab8dc760250a233
861da448b989b612e76f2a831c4565df1084ad2225b55767095e60a2d193ae36
0d859098a724831ca901bfc6569c1a09bcbb6c49e1a3e9ebdbb32d48c8244705
989242618de57d4d228321aa5a4adf15be5a648905963b431ba4ce59fc532a8b
ffcddaf96893f41c639543ab23a180dd64234d0c54e1f98038dfe68bd5c67c81
3c6bf3249c0973d436f4b57f5ca92ed3b1fc7364e8a364389b56625a3c4c6ca7
31da68ca9d9ff3ad8087cb78ae966196b630dcd42b61a378f5b8bd369b4823e6
78823257b494e816734af4a15306a6fda3587d75187528642801e74ee94cb3dd
14e963bcecadd591ac8877896da65b20fe4b0dae3a03f917cc7f9569d0f3a861
aab407af4b040f6f1a17e54b6609854998bc7f109a0ce33f729e73021889f638
ee55a1878a6c6fe8a4e1c303900bca0d9e1835fe688671b6743ae9bde00af568
03e19b336f917fcf471159108d56fbbf075abf76232e23c6130c18681be9fdcc
f30663b04689e58953683384f4a5ae007140895cb1a57ef61dfaa161ef4d9975
a67a6140e1312a36ee1e758698e86d19ce502a13685bb2759d18f309a60391b2
9f35d9fac0c58b40011ca5bb2c7d2c050380d91cf2dea2fd301108304ca811ba"